Skip to content

add pr-builder job#693

Merged
rapids-bot[bot] merged 2 commits intorapidsai:branch-24.08from
jameslamb:ci/pr-builder
Jul 19, 2024
Merged

add pr-builder job#693
rapids-bot[bot] merged 2 commits intorapidsai:branch-24.08from
jameslamb:ci/pr-builder

Conversation

@jameslamb
Copy link
Copy Markdown
Member

fixes #691

Proposes adding the pr-builder workflow, to ensure that all required checks have passed prior to merging (or auto-merging!) here.

This makes auto-merger in this repo behave the way it does across most other repos (https://docs.rapids.ai/resources/auto-merger/).

In exchange, it means all changes will now require a full CI run to be merged. That can take 1-2 hours (list of recent runs).

Manual actions before merging

  • an admin needs to add branch protection(s) blocking merge if the pr-builder workflow does not succeed

@jameslamb jameslamb added the 3 - Ready for Review Ready for review by team label Jul 18, 2024
@jameslamb jameslamb requested a review from a team as a code owner July 18, 2024 21:52
Copy link
Copy Markdown
Contributor

@raydouglass raydouglass left a comment

Choose a reason for hiding this comment

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

One nitpick, but approving otherwise.

Comment thread .github/workflows/pr.yml Outdated
@jameslamb
Copy link
Copy Markdown
Member Author

Ok sure, no problem.

I'd put pr-builder last in the file because it's the last workflow in the graph to run (as it depends on all others), so to me it felt natural to have the configuration flow from top to bottom in the same order that the workflow dependencies flow from left to right.

But I don't feel that strongly about it.

@raydouglass
Copy link
Copy Markdown
Contributor

/merge

@rapids-bot rapids-bot bot merged commit bfc1356 into rapidsai:branch-24.08 Jul 19, 2024
@jameslamb jameslamb deleted the ci/pr-builder branch July 19, 2024 18:10
@jakirkham
Copy link
Copy Markdown
Member

Thanks James and Ray! 🙏

rapids-bot bot pushed a commit that referenced this pull request Aug 20, 2024
Follow-up to #702 and #693.

Created based on #696 (comment)

`test` jobs are not currently running on pull requests here, because they require `build-multiarch-manifest` jobs, which have this condition that causes such jobs to be skipped on PR builds:

https://github.com/rapidsai/docker/blob/1c27d9245fd9d99ee35981b970acaf10961ca45b/.github/workflows/build-test-publish-images.yml#L171-L172

This PR ensures that `test` jobs always run on PRs, and that merging is blocked until they succeed.

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Jake Awe (https://github.com/AyodeAwe)
  - Ray Douglass (https://github.com/raydouglass)

URL: #708
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Ready for Review Ready for review by team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configure pr-builder for rapidsai/docker

3 participants