daml/ci
Gary Verhaegen df0086d26f
ci/linux: kill machines if they fail to clean up (#8835)
It does not seem like CI machines recover from a failed clean-up. This
is not the most elegant solution possible, but it's a cheap one that
should work.

Not: shutting down the machine in the middle of the build will not
provide an error message to Slack for main branch builds (because the
`tell_slack_failed` step would need to run on the same machine) but will
correctly report failure for PRs (that was the original purpose of the
`collect_build_data` step).

An alternative here would be to give a delay to the shutdown command,
and try to calibrate it so that it's long enough for this job to
correctly report its failure to both Azure and Slack, while making it
short enough that no other job gets assigned to the machine. I'm not
clear enough on how often Azure assigns jobs to try and bet on that.

CHANGELOG_BEGIN
CHANGELOG_END
2021-02-12 19:32:14 +01:00
..
cron bump check_releases timeout (#8812) 2021-02-10 22:45:25 +00:00
da-ghc-lib update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
docker Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00
patch_bazel_windows Upgrade to Bazel 4.0 (#8798) 2021-02-11 10:08:47 +01:00
bash-lib.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
build-unix.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
build-windows.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
build.yml Port the rest of //ledger-service/... to 2.13 (#8836) 2021-02-12 17:26:19 +01:00
check-changelog.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
clean-up.yml ci/linux: kill machines if they fail to clean up (#8835) 2021-02-12 19:32:14 +01:00
clear-shared-segments-macos.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility_ts_libs.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility-windows.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
compatibility.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
configure-bazel.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
daily_tell_slack.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
dev-env-install.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
dev-env-push.py update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
postgresql.conf CI: Increase the PostgreSQL connections from 100 to 200. (#6647) 2020-07-08 10:49:11 +00:00
prs.yml Upgrade linux nodes to 20.04 (#8617) 2021-01-27 17:38:34 +01:00
report-end.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
report-start.yml ci: use setvar to set variables (#8664) 2021-02-09 11:42:34 +01:00
slack_user_ids stop notifying shayne on pr builds (#7581) 2020-10-06 14:20:43 +02:00
tell-slack-failed.yml update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
windows-diagnostics.ps1 windows: CI agent diagnostics (#1146) 2019-05-15 11:59:56 +02:00