Skip to content

Commit b9c2250

Browse files
committed
feat(ci): notify #team-fairies when backwards-compat e2e fails on nightly
1 parent 1963b39 commit b9c2250

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

ci.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,15 @@ case "$cmd" in
265265
export CI_DASHBOARD="releases"
266266
export JOB_ID="x-compat-e2e"
267267
export AWS_SHUTDOWN_TIME=300
268-
bootstrap_ec2 "./bootstrap.sh ci-compat-e2e"
268+
rc=0
269+
bootstrap_ec2 "./bootstrap.sh ci-compat-e2e" || rc=$?
270+
# On nightly tags compat-e2e is non-blocking (continue-on-error in ci3.yml), so
271+
# failures otherwise go unnoticed. Notify #team-fairies so they get picked up.
272+
if [ "$rc" -ne 0 ] && [[ "${REF_NAME:-}" == *-nightly.* ]]; then
273+
run_url="https://github.com/${GITHUB_REPOSITORY:-AztecProtocol/aztec-packages}/actions/runs/${GITHUB_RUN_ID:-unknown}"
274+
"$ci3/slack_notify" "Backwards compatibility e2e tests FAILED on nightly tag <${run_url}|${REF_NAME}>" "#team-fairies"
275+
fi
276+
exit "$rc"
269277
;;
270278

271279
############

0 commit comments

Comments
 (0)