Skip to content

Commit

Permalink
+e before docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
maknop committed Dec 12, 2023
1 parent fcb70e0 commit 0b7f8b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/minikube_e2e_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

echo "$MINIKUBE_SSH_KEY" > minikube-ssh-ident

set -x

set -exv

DOCKER_CONF="$PWD/.docker"
Expand All @@ -19,6 +17,7 @@ docker rm $tempid

docker build -f Dockerfile.test --build-arg BASE_IMAGE=${BASE_IMG} -t $CONTAINER_NAME .

set +e
docker run -i \
--name $CONTAINER_NAME \
-v $PWD:/workspace:ro \
Expand All @@ -37,4 +36,6 @@ TEST_RESULT=$?

docker cp $CONTAINER_NAME:/container_workspace/artifacts/ $PWD

set -e

exit $TEST_RESULT

0 comments on commit 0b7f8b9

Please sign in to comment.