Skip to content
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

[ci] introduce GitHub actions based private CI #2118

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

nbdd0121
Copy link
Contributor

The private CI works by using workflow dispatch to trigger a CI on another repository.

Pending status checks are created before calling the dispatch to indicate their queued status before they are picked up in private CI, and also serves to block merge group from success.

@nbdd0121 nbdd0121 requested a review from jwnrt December 22, 2023 13:16
@jwnrt
Copy link
Contributor

jwnrt commented Dec 22, 2023

Given this only runs on pull_request_target, would you mind triggering a run on your fork or similar to show it working?

Copy link
Contributor

@jwnrt jwnrt 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, but I worry slightly about the names of checks here becoming out of sync with the private repo. I think it would be difficult to factor those names out, though.

Doesn't the private CI create pending checks when it starts? Are these pending checks meant to fill the gap between those starting?

Could we instead have a job in this workflow that waits for the private CI to have started and we can block the merge queue on that?

@nbdd0121
Copy link
Contributor Author

The pending status will only be created when jobs are picked up, so if we have a busy CI pool then we'd be waiting for quite a while, wasting compute.

The private CI works by using workflow dispatch to trigger a CI on
another repository.

Pending status checks are created before calling the dispatch to
indicate their queued status before they are picked up in private CI,
and also serves to block merge group from success.

Signed-off-by: Gary Guo <[email protected]>
@jwnrt
Copy link
Contributor

jwnrt commented Dec 22, 2023

The new approach looks a lot cleaner, thanks a lot for working on that

@nbdd0121 nbdd0121 added this pull request to the merge queue Jan 2, 2024
@nbdd0121 nbdd0121 removed this pull request from the merge queue due to a manual request Jan 2, 2024
@nbdd0121 nbdd0121 added this pull request to the merge queue Jan 5, 2024
Merged via the queue into lowRISC:master with commit c9f4a32 Jan 5, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants