@@ -133,6 +133,7 @@ build_task:
133133 # the 'origin' remote must be defined, and all remote branches/tags
134134 # must be available for reference from CI scripts.
135135 clone_script : &full_clone |
136+ set -exuo pipefail
136137 cd /
137138 rm -rf $CIRRUS_WORKING_DIR
138139 mkdir -p $CIRRUS_WORKING_DIR
@@ -145,10 +146,6 @@ build_task:
145146 else
146147 git reset --hard $CIRRUS_CHANGE_IN_REPO
147148 fi
148- # Some test operations & checks require a git "identity"
149- _gc='git config --file /root/.gitconfig'
150- $_gc user.email "[email protected] " 151- $_gc user.name "Testy McTestface"
152149 # Attempt to prevent flakes by confirming basic environment expectations,
153150 # network service connectivity and essential container image availability.
154151 prebuild_script : &prebuild $SCRIPT_BASE/prebuild.sh
@@ -462,6 +459,7 @@ osx_alt_build_task:
462459 GOCACHE : " $CIRRUS_WORKING_DIR/.go/cache"
463460 GOENV : " $CIRRUS_WORKING_DIR/.go/support"
464461 GOSRC : " $HOME/ci/task-${CIRRUS_TASK_ID}"
462+ clone_script : *full_clone
465463 # This host is/was shared with potentially many other CI tasks.
466464 # The previous task may have been canceled or aborted.
467465 prep_script : &mac_cleanup "contrib/cirrus/mac_cleanup.sh"
0 commit comments