-
Notifications
You must be signed in to change notification settings - Fork 3
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
Build pool on merge to main #131
base: main
Are you sure you want to change the base?
Conversation
Thank you for your contribution @zsusswein 🚀! Your pkgdown-site is ready for download 👉 here 👈! |
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files📢 Thoughts on this report? Let us know! |
1b4480b
to
8cfca88
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that tests are run on merge to main as well as in PRs?
And the point of that is that one can verify that main is stable, not only that the PRs that went into main are stable?
No, many checks run on merge to main. See their history here. What this PR does is at adds a trigger for the workflow to set up an Azure Batch pool to run as after each push to main. Currently, the build Batch pool deployment only runs on PRs, not after merging so we don't have a "production" Batch pool. |
Currently we're only building pools as part of PRs.
67abc88
to
3a11abe
Compare
What's the benefit of a "production" Batch pool? |
Will this error out on a push to main event? Since it would technically run after the PR has closed (I think?)
|
That's a great point. I don't see an easy solution here. Perhaps the simplest would be to drop the functionality that parses the commit message. It was a clever idea from George, but it feels optional and building a pool off main is critical. Thoughts? |
I'm ok with removing as long as it doesn't break the PR pool setup workflow |
I agree with removing that bit. @amondal2, you seem like a GHA wiz! It'd be great if you could contribute to the cfa-actions project. I would love to replace what we currently have here with the action (https://github.com/CDCgov/cfa-actions/blob/3e3f6ddbd1c4742c9cc830c4fd4e06e131dce587/twostep-container-build/action.yml#L84-L87). We are starting to use this in a few places already, so it would be a nice contribution across projects. |
Currently we're only building pools as part of PRs.