Skip to content

Bring canary builds inline with tests #12040

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 1, 2022
Merged

Conversation

kenodegard
Copy link
Contributor

@kenodegard kenodegard commented Nov 1, 2022

Description

By relying on the workflow_run trigger, we cannot guarantee that canary builds are built for a given commit. Workflow runs initiated by workflow_run are instead always based on HEAD. This becomes a problem if we merge several PRs rapidly before tests and canary build from prior merges are complete.

These changes are also mirrored in https://github.com/conda/conda-build, see conda/conda-build#4608.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@kenodegard kenodegard added the in-progress issue is actively being worked on label Nov 1, 2022
@kenodegard kenodegard self-assigned this Nov 1, 2022
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Nov 1, 2022
By relying on the workflow_run trigger, we cannot guarantee that canary builds are built for a given commit, as the clones are instead occurring based on HEAD.
Copy link
Member

@jezdez jezdez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good in general, minor questions below

@kenodegard kenodegard marked this pull request as ready for review November 1, 2022 15:14
@kenodegard kenodegard requested a review from a team as a code owner November 1, 2022 15:14
jezdez
jezdez previously approved these changes Nov 1, 2022
@jezdez jezdez enabled auto-merge (squash) November 1, 2022 16:12
dholth
dholth previously approved these changes Nov 1, 2022
@kenodegard kenodegard dismissed stale reviews from dholth and jezdez via 86f2b43 November 1, 2022 20:18
Co-authored-by: Jannis Leidel <jannis@leidel.info>
@jezdez jezdez merged commit 261a9ee into conda:main Nov 1, 2022
@kenodegard kenodegard deleted the canary-builds branch November 1, 2022 21:09
jeskowagner pushed a commit to jeskowagner/conda that referenced this pull request Nov 9, 2022
* Bring canary builds inline with tests

By relying on the workflow_run trigger, we cannot guarantee that canary builds are built for a given commit, as the clones are instead occurring based on HEAD.

* Add news

* Label canary builds as branch names
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Nov 3, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed [bot] added once the contributor has signed the CLA in-progress issue is actively being worked on locked [bot] locked due to inactivity
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants