Skip to content

Disable cancel-outdated-builds for auto-fallible #75995

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

pietroalbini
Copy link
Member

cancel-outdated-builds doesn't need to be enabled on fallible jobs, and it's actually making it harder for us to see if #71988 is fixed. This adds some temporary code to avoid auto-fallible jobs from being cancelled by our tooling.

r? @Mark-Simulacrum

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 27, 2020
@pietroalbini
Copy link
Member Author

@bors p=10

We'll want this to land ASAP, to get insights on whether we can migrate to GitHub Actions for macOS too.

@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

It sounds like this will potentially cause us to enqueue a bunch of macOS builds if we're seeing builds fail on other platforms, but I don't expect that to be much of an issue so approving. Feel free to ping me on Zulip if there's urgent stuff like this too :)

@bors
Copy link
Collaborator

bors commented Aug 27, 2020

📌 Commit 19e70bf has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 27, 2020
@bors
Copy link
Collaborator

bors commented Aug 27, 2020

⌛ Testing commit 19e70bf with merge 2aa741a...

@bors
Copy link
Collaborator

bors commented Aug 28, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: Mark-Simulacrum
Pushing 2aa741a to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 28, 2020
@bors bors merged commit 2aa741a into rust-lang:master Aug 28, 2020
@pietroalbini pietroalbini deleted the ci-let-fallible-finish branch August 28, 2020 08:03
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 28, 2020
…2, r=Mark-Simulacrum

Run cancel-outdated-builds after fully setting up the env

This PR fixes rust-lang#75995 not working as expected.

Due to GitHub Actions limitations the environment variables set in the build matrix definition are not added by the GHA runner, but by the `setup-environment.sh` script. Before this PR the `cancel-outdated-builds` action was started before that script, so it was never able to detect the "suppression" variable added in rust-lang#75995. This PR reorders the jobs to make sure `setup-environment.sh` runs before the action.

r? @Mark-Simulacrum
@cuviper cuviper added this to the 1.48.0 milestone Nov 17, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants