-
Notifications
You must be signed in to change notification settings - Fork 10
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
Move off rust-lang-ci #188
Comments
A missing thing is that rustup also refers to the docker images built by rust-lang/rust's CI. |
That's the same thing as |
Just to check, even if we did use self-hosted runners I think those are also fine in a single org now (GitHub upstream made changes for that), right? |
Yes. If the runners are placed in a runner group, it's possible to restrict which workflows can access them. We could then restrict them to |
It looks like I need to create a new GitHub Environment to configure the secret. Should I call this environment
Added these two branch protection rules to rust-lang/rust: both have the following settings (which are the same of I checked this box in the first comment of this issue 👍 |
Couldn't it be a repo secret, as opposed to environment secret? But an env. secret is also fine, bors sounds like a reasonable name. |
I thought we wanted to configure these secrets only for the A repository secret can be read from any branch, right? |
Right. Makes sense, environment it is, then :) I suppose that the lack of environment/per-branch secrets was one of the reasons why rust-lang-ci was needed in the first place, originally. |
Secrets
|
I didn't realize that the keys I deleted where created from terraform in the
I discussed this with JD. Learnings
Questions
PlanHere's how we want to move forward:
Wdyt? |
Regarding this, what rules should I set? rust-lang-ci/rust doesn't have any branch protection rules. Also, to create the branches, should I just |
If memory serves me right, @Mark-Simulacrum Do you recall which branch protections we should configure for auto/try/try-perf/perf-tmp branches? |
I don't, no, but I'd expect to be able to copy from rust-lang/rust? That has these branch protections right now (not pulling up all the details but @marcoieni has access to poke I imagine): ![]() My sense is that we'll need force-push allowed for bors' account(s) at minimum. |
Well, we are migrating from rust-lang-ci to rust-lang/rust, so I assumed that we'll copy in the opposite direction 😅 But if rust-lang-ci doesn't have any branch protections, then probably we can just copy whatever try/auto has and use that for the try-perf branches. |
We would like to get rid of the rust-lang-ci organization, which should no longer be needed:
The following (probably non-exhaustive) list below tracks what needs to be done to get rid of
rust-lang-ci
:auto
andtry
branches onrust-lang/rust
.auto
andtry
branches onrust-lang/rust
.try-perf
andperf-tmp
branches/branch protections inrust-lang/rust
.rust-lang
organizationrust-lang-ci
fork (configured here) and redeploy homu - probably the scariest part.rust-lang
instead ofrust-lang-ci
for all commits rustc-perf#2023This idea was discussed on Zulip.
The text was updated successfully, but these errors were encountered: