mirror of https://github.com/kubeflow/examples.git
exit if t2t job failed (#327)
This commit is contained in:
parent
ee74868bec
commit
6c976342a3
|
|
@ -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 "$@"
|
||||
"$@"
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue