Merge pull request #988 from umohnani8/libpod-part2
Continue switching from libkpod to libpod
This commit is contained in:
commit
772f4b1515
18 changed files with 820 additions and 837 deletions
|
@ -35,7 +35,7 @@ function teardown() {
|
|||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
inspectOutput="$output"
|
||||
run ${KPOD_BINARY} $KPOD_OPTIONS images --quiet ${IMAGE}
|
||||
run ${KPOD_BINARY} $KPOD_OPTIONS images --no-trunc --quiet ${IMAGE}
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
[ "$output" = "$inspectOutput" ]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
load helpers
|
||||
|
||||
IMAGE="docker.io/library/alpine:latest"
|
||||
IMAGE="alpine:latest"
|
||||
|
||||
function teardown() {
|
||||
cleanup_test
|
||||
|
@ -17,7 +17,7 @@ function teardown() {
|
|||
run ${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:latest
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} rmi foobar:latest
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:latest
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
|
@ -26,10 +26,12 @@ function teardown() {
|
|||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} tag $IMAGE foobar
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:latest
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} rmi foobar:latest
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:latest
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
|
@ -38,9 +40,11 @@ function teardown() {
|
|||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} tag $IMAGE foobar:v
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} inspect foobar:v
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} rmi foobar:v
|
||||
run ${KPOD_BINARY} ${KPOD_OPTIONS} rmi --force foobar:v
|
||||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue