exit if t2t job failed (#327)

This commit is contained in:
Yang Pan 2018-11-11 21:35:44 -08:00 committed by k8s-ci-robot
parent ee74868bec
commit 6c976342a3
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# T2T doesn't respect TF_CONFIG; instead it relies on command line variables.
# So this script parses TF_CONFIG and then appends appropriate command line arguments
# to whatever command was entered.
set -x
set -ex
env | sort
echo running "$@"
"$@"

View File

@ -3,7 +3,7 @@
# T2T relies on various command line variables to be set in addition to TFCONFIG being set..
# So this script parses TF_CONFIG and then appends appropriate command line arguments
# to whatever command was entered.
set -x
set -ex
echo environment
env | sort
WORKER_ID=$(echo ${TF_CONFIG} | jq ".task.index")