-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Make CI more agnostic of the owning GitHub organization #127312
Conversation
This should make it possible to switch running `auto` and `try` builds from `rust-lang-ci` to `rust-lang`.
@bors r+ rollup=never |
☀️ Test successful - checks-actions |
Finished benchmarking commit (524d806): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary -3.3%, secondary -1.1%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (secondary 0.6%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 700.69s -> 698.167s (-0.36%) |
@@ -93,8 +93,7 @@ if [ -f "$docker_dir/$image/Dockerfile" ]; then | |||
docker --version | |||
|
|||
REGISTRY=ghcr.io | |||
# PR CI runs on rust-lang, but we want to use the cache from rust-lang-ci | |||
REGISTRY_USERNAME=rust-lang-ci | |||
REGISTRY_USERNAME=${GITHUB_REPOSITORY_OWNER} |
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.
This means that the docker cache is no longer used in local builds, because GITHUB_REPOSITORY_OWNER Is not set.
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.
Damn, I forgot to fix this. I will send a PR later today, or tomorrow at the latest.
…, r=nikic Fix local download of Docker caches from CI rust-lang#127312 broke local downloads of Docker caches from CI, when you wanted to build a Docker image locally. This PR fixes that. r? `@nikic` (Can you please check if the cache works for you with this PR?)
Rollup merge of rust-lang#127569 - Kobzol:ci-fix-docker-local-rebuild, r=nikic Fix local download of Docker caches from CI rust-lang#127312 broke local downloads of Docker caches from CI, when you wanted to build a Docker image locally. This PR fixes that. r? `@nikic` (Can you please check if the cache works for you with this PR?)
This should make it possible to switch running
auto
andtry
builds fromrust-lang-ci
torust-lang
.r? @jdno