@@ -63,7 +63,6 @@ function get_latest_run_id {
6363
6464# Jobs in the ci dashboards are grouped on a single line by RUN_ID.
6565export RUN_ID=${RUN_ID:- $(date +% s% 3N)}
66- export PARENT_LOG_URL=http://ci.aztec-labs.com/$RUN_ID
6766
6867case " $cmd " in
6968 dash)
@@ -101,9 +100,10 @@ case "$cmd" in
101100 export DENOISE=1
102101 export DENOISE_WIDTH=32
103102 run () {
104- JOB_ID=$1 INSTANCE_POSTFIX=$1 ARCH=$2 exec denoise " bootstrap_ec2 './bootstrap.sh $3 '"
103+ PARENT_LOG_ID= $RUN_ID JOB_ID=$1 INSTANCE_POSTFIX=$1 ARCH=$2 exec denoise " bootstrap_ec2 './bootstrap.sh $3 '"
105104 }
106105 export -f run
106+
107107 parallel --jobs 10 --termseq ' TERM,10000' --tagstring ' {= $_=~s/run (\w+).*/$1/; =}' --line-buffered --halt now,fail=1 ::: \
108108 ' run x1-full amd64 ci-full-no-test-cache' \
109109 ' run x2-full amd64 ci-full-no-test-cache' \
@@ -157,13 +157,14 @@ case "$cmd" in
157157 export DENOISE=1
158158 export DENOISE_WIDTH=32
159159 run () {
160- JOB_ID=$1 INSTANCE_POSTFIX=$1 ARCH=$2 exec denoise " bootstrap_ec2 './bootstrap.sh ci-release'"
160+ PARENT_LOG_ID= $RUN_ID JOB_ID=$1 INSTANCE_POSTFIX=$1 ARCH=$2 exec denoise " bootstrap_ec2 './bootstrap.sh ci-release'"
161161 }
162162 export -f run
163- # We need to run the release flow on both x86 and arm64.
163+
164164 parallel --termseq ' TERM,10000' --tagstring ' {= $_=~s/run (\w+).*/$1/; =}' --line-buffered --halt now,fail=1 ::: \
165165 ' run x-release amd64' \
166166 ' run a-release arm64' | DUP=1 cache_log " Release CI run" $RUN_ID
167+
167168 # If we were triggered by a PR with ci-release-pr label, remove the label now we've succeeded.
168169 if [ -n " ${PR_NUMBER:- } " ]; then
169170 gh pr edit $PR_NUMBER --remove-label ci-release-pr || true
0 commit comments