Commit Graph

54 Commits

Author SHA1 Message Date
TomSweeneyRedHat ba976ed310 Return policy error on pull
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>

Closes: #881
Approved by: rhatdan
2018-08-03 17:29:14 +00:00
Nalin Dahyabhai d86b0b915f Tweaks for commit tests
When testing --quiet, turn off debugging, have the image ID written to a
file, and verify that we get no output.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2018-06-25 16:46:41 -04:00
Nalin Dahyabhai b533b5bb0e commit: recognize committing to second storage locations
Recognize cases when we're committing to local storage, but in a
location other than where the working container is, by checking if the
base image (by ID, in case it's tagged and the tag points to a different
image with different layers) is present in the destination's store.

In those cases, we can't just assume that we can skip exporting the base
image's layers.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2018-06-25 16:46:41 -04:00
Zhou Hao 50c33f4965 add commit test
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>

Closes: #772
Approved by: rhatdan
2018-06-11 13:14:16 +00:00