Skip to content

Commit

Permalink
Add --context-dir option to podman play kube
Browse files Browse the repository at this point in the history
This option was requested so that users could specify alternate
locations to find context directories for each image build. It
requites the --build option to be set.

Partion Fix: containers#12485

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Signed-off-by: Krzysztof Baran <krysbaran@gmail.com>
  • Loading branch information
rhatdan authored and Keon Chen committed Mar 18, 2022
1 parent 123a796 commit bd10fdd
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/system/700-play.bats
Original file line number Diff line number Diff line change
Expand Up @@ -220,16 +220,3 @@ _EOF
run_podman pod rm -t 0 -f test_pod
run_podman rmi -f userimage:latest
}

@test "podman play --annotation" {
TESTDIR=$PODMAN_TMPDIR/testdir
RANDOMSTRING=$(random_string 15)
mkdir -p $TESTDIR
echo "$testYaml" | sed "s|TESTDIR|${TESTDIR}|g" > $PODMAN_TMPDIR/test.yaml
run_podman play kube --annotation "name=$RANDOMSTRING" $PODMAN_TMPDIR/test.yaml
run_podman inspect --format "{{ .Config.Annotations }}" test_pod-test
is "$output" ".*name:$RANDOMSTRING" "Annotation should be added to pod"

run_podman stop -a -t 0
run_podman pod rm -t 0 -f test_pod
}

0 comments on commit bd10fdd

Please sign in to comment.