(List (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS errexit]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS nounset]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS pipefail]} ) (= scope= flags=0 words=[] bindings=[('IMAGE_REPO', {[VarSub IMAGE_REPO test_op=VS_TEST_COLON_HYPHEN {[LIT_CHARS mesosphere] [LIT_SLASH /] [LIT_CHARS kubernetes-mesos-test]}]})]) (= scope= flags=0 words=[] bindings=[('IMAGE_TAG', {[VarSub IMAGE_TAG test_op=VS_TEST_COLON_HYPHEN {[LIT_CHARS latest]}]})]) (= scope= flags=0 words=[] bindings=[('script_dir', {[ComSub (AndOr OP_AND_IF (Com {[LIT_CHARS cd]} {[ComSub (Com {[LIT_CHARS dirname]} {[DQ [VarSub BASH_SOURCE]]})]}) (Com {[LIT_CHARS pwd]} {[LIT_CHARS -P]}) )]})]) (= scope= flags=0 words=[] bindings=[('common_bin_path', {[ComSub (AndOr OP_AND_IF (Com {[LIT_CHARS cd]} {[VarSub script_dir] [LIT_CHARS /../common/bin]}) (Com {[LIT_CHARS pwd]} {[LIT_CHARS -P]}) )]})]) (= scope= flags=0 words=[] bindings=[('KUBE_ROOT', {[ComSub (AndOr OP_AND_IF (Com {[LIT_CHARS cd]} {[VarSub script_dir] [LIT_CHARS /../../../..]}) (Com {[LIT_CHARS pwd]} {[LIT_CHARS -P]}) )]})]) (Com {[LIT_CHARS cd]} {[DQ [VarSub KUBE_ROOT]]} ) (= scope= flags=0 words=[] bindings=[('workspace', {[ComSub (Com {[LIT_CHARS env]} {[LIT_VAR_LIKE "TMPDIR="] [VarSub PWD] =} {[LIT_CHARS mktemp]} {[LIT_CHARS -d]} {[LIT_CHARS -t]} {[DQ [LIT_CHARS k8sm-test-workspace-XXXXXX]]})]})]) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Workspace created: "][VarSub workspace]]} ) (FunctionDef cleanup [] (List (Com {[LIT_CHARS rm]} {[LIT_CHARS -rf]} {[DQ [VarSub workspace]]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Workspace deleted: "][VarSub workspace]]} ) ) ) (Com {[LIT_CHARS trap]} {[SQ ]} {[LIT_CHARS EXIT]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -x]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Copying files to workspace"]]} ) (Com {[LIT_CHARS mkdir]} {[LIT_CHARS -p]} {[DQ [VarSub workspace][LIT_CHARS /bin]]} ) (Com {[LIT_CHARS cp]} {[LIT_CHARS -a]} {[DQ [VarSub common_bin_path][LIT_CHARS /]] [LIT_OTHER "*"]} {[DQ [VarSub workspace][LIT_CHARS /bin/]]} ) (Com {[LIT_CHARS cp]} {[LIT_CHARS -a]} {[DQ [VarSub script_dir][LIT_CHARS /bin/]] [LIT_OTHER "*"]} {[DQ [VarSub workspace][LIT_CHARS /bin/]]} ) (Com {[LIT_CHARS cp]} {[LIT_CHARS -a]} {[DQ [VarSub script_dir][LIT_CHARS /Dockerfile]]} {[DQ [VarSub workspace][LIT_CHARS /]]} ) (Com {[LIT_CHARS cd]} {[DQ [VarSub workspace]]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Building docker image "][VarSub IMAGE_REPO][LIT_CHARS ":"][VarSub IMAGE_TAG]]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS xtrace]} ) (Com {[LIT_CHARS docker]} {[LIT_CHARS build]} {[LIT_CHARS -t]} {[VarSub IMAGE_REPO] [LIT_OTHER ":"] [VarSub IMAGE_TAG]} {[DQ [VarSub @]]} {[LIT_CHARS .]} ) (Com {[LIT_CHARS set]} {[LIT_OTHER "+"] [LIT_CHARS o]} {[LIT_CHARS xtrace]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Built docker image "][VarSub IMAGE_REPO][LIT_CHARS ":"][VarSub IMAGE_TAG]]} ) )