8000 CI: remove spurious wheel build action runs by rgommers · Pull Request #24535 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

CI: remove spurious wheel build action runs #24535

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 1 commit into from
Aug 27, 2023

Conversation

rgommers
Copy link
Member

These unusual label-based and push-based triggers have several negative consequences:

This is too spammy, and the usefulness of the extra triggers is low. So making them the same as in all other GHA workflow files.

[skip azp] [skip cirrus] [skip circle] [skip travis]
@rgommers
Copy link
Member Author

Ah, I noticed that there are some docs on this in https://numpy.org/devdocs/dev/development_workflow.html#test-building-wheels. I'll remove those in a follow-up PR, and will add instructions on how to work on CI jobs on one's own fork, that would be useful for folks it looks like.

@rgommers
Copy link
Member Author

Finally, let me note that the way to trigger wheel builds without pushing a commit is to go to https://github.com/numpy/numpy/actions/workflows/wheels.yml and press the "run workflow" button:

image

We do not need these label-based things, and they're actually actively counterproductive (wastes a ton of resources, when typically all you want is trigger the builds once, not over and over run ~20 extra jobs on the same PR).

Copy link
Member
@andyfaff andyfaff left a comment

Choose a reason for hiding this comment

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

This LGTM.

@@ -22,9 +22,10 @@ on:
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
- cron: "42 2 * * SUN,WED"
push: 8000
Copy link
Member

Choose a reason for hiding this comment

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

are there any circumstances where a push commit would be useful, over the manual start?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think only maintainers can push the Run workflow button, so that may be useful to keep for now. [wheel build] isn't super pretty, but at least it doesn't cause any problems.

@charris
Copy link
Member
charris commented Aug 25, 2023

The only problem with hitting the button for manual builds is that they don't run cirrus. They cannot be run from cirrus either, I think the cirrus yml needs to allow that.

@rgommers
Copy link
Member Author

The only problem with hitting the button for manual builds is that they don't run cirrus. They cannot be run from cirrus either, I think the cirrus yml needs to allow that.

True, that's what [wheel build] is still good for. This PR doesn't change that.

@rgommers rgommers added this to the 2.0.0 release milestone Aug 27, 2023
@rgommers
Copy link
Member Author

This has a LGTM and it's useful to me to reduce spam when working on the remaining CI tasks from gh-24410, so I'll hit the green button here.

@rgommers rgommers merged commit 231ed98 into numpy:main Aug 27, 2023
@rgommers rgommers deleted the fix-wheel-triggers branch August 27, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0