File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 2626
2727set -eux -o pipefail
2828
29- if [ " ${ghprbPullId} " == " master" ]; then
30- echo " not setting github status for continuous builds"
31- exit 0
32- fi
33-
3429jobs=(
3530 ' Hyperkit_macOS'
3631 # 'Hyper-V_Windows'
@@ -54,6 +49,15 @@ jobs=(
5449 ' Docker_Cloud_Shell'
5550)
5651
52+ SHORT_COMMIT=${ghprbActualCommit: 0: 7}
53+ STARTED_LIST_REMOTE=" gs://minikube-builds/logs/${ghprbPullId} /${SHORT_COMMIT} /started_environments_${BUILD_NUMBER} .txt"
54+ printf " %s\n" " ${jobs[@]} " | gsutil cp - " ${STARTED_LIST_REMOTE} "
55+
56+ if [ " ${ghprbPullId} " == " master" ]; then
57+ echo " not setting github status for continuous builds"
58+ exit 0
59+ fi
60+
5761# retry_github_status provides reliable github status updates
5862function retry_github_status() {
5963 local commit=$1
@@ -88,11 +92,7 @@ function retry_github_status() {
8892 done
8993}
9094
91- SHORT_COMMIT=${ghprbActualCommit: 0: 7}
9295for j in ${jobs[@]} ; do
9396 retry_github_status " ${ghprbActualCommit} " " ${j} " " pending" " ${access_token} " \
9497 " https://storage.googleapis.com/minikube-builds/logs/${ghprbPullId} /${SHORT_COMMIT} /${j} .pending"
9598done
96-
97- STARTED_LIST_REMOTE=" gs://minikube-builds/logs/${ghprbPullId} /${SHORT_COMMIT} /started_environments_${BUILD_NUMBER} .txt"
98- printf " %s\n" " ${jobs[@]} " | gsutil cp - " ${STARTED_LIST_REMOTE} "
You can’t perform that action at this time.
0 commit comments