diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-07-15 10:50:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 10:50:13 -0400 |
commit | 5d6a36601776fee55ce3d491f96b620aa3b43218 (patch) | |
tree | 182bb6035d67378b5d4ee52a1cc081c305515f51 /test/system/255-auto-update.bats | |
parent | bc98c2003d36f9ce5650c1e0f4445be97ca0fa18 (diff) | |
parent | 59f31d86acdf54019b081ca86340d5c33dbcf3b9 (diff) | |
download | podman-5d6a36601776fee55ce3d491f96b620aa3b43218.tar.gz podman-5d6a36601776fee55ce3d491f96b620aa3b43218.tar.bz2 podman-5d6a36601776fee55ce3d491f96b620aa3b43218.zip |
Merge pull request #10937 from vrothberg/auto-update
auto-update: add --dry-run
Diffstat (limited to 'test/system/255-auto-update.bats')
-rw-r--r-- | test/system/255-auto-update.bats | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/system/255-auto-update.bats b/test/system/255-auto-update.bats index 4959bb6aa..5e2d66af9 100644 --- a/test/system/255-auto-update.bats +++ b/test/system/255-auto-update.bats @@ -121,6 +121,9 @@ function _confirm_update() { generate_service alpine image _wait_service_ready container-$cname.service + run_podman auto-update --dry-run --format "{{.Unit}},{{.Image}},{{.Updated}},{{.Policy}}" + is "$output" ".*container-$cname.service,quay.io/libpod/alpine:latest,pending,registry.*" "Image update is pending." + run_podman auto-update --format "{{.Unit}},{{.Image}},{{.Updated}},{{.Policy}}" is "$output" "Trying to pull.*" "Image is updated." is "$output" ".*container-$cname.service,quay.io/libpod/alpine:latest,true,registry.*" "Image is updated." @@ -159,6 +162,9 @@ function _confirm_update() { imageID="$output" _wait_service_ready container-$cname.service + run_podman auto-update --dry-run --format "{{.Unit}},{{.Image}},{{.Updated}},{{.Policy}}" + is "$output" ".*container-$cname.service,quay.io/libpod/localtest:latest,pending,local.*" "Image update is pending." + run_podman auto-update --format "{{.Unit}},{{.Image}},{{.Updated}},{{.Policy}}" is "$output" ".*container-$cname.service,quay.io/libpod/localtest:latest,true,local.*" "Image is updated." |