Repository navigation
CI: Linux installs its packages from the runner's own Ubuntu mirror - #1159
Merged
Merged
Conversation
The step rewrote azure.archive.ubuntu.com to archive.ubuntu.com. Azure runners now fetch from their own mirror at 5-10 MB/s in the release jobs, and the slow installs come from runners hosted in AWS, whose us-east-2.ec2 mirror the rewrite never matched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Install Linux system dependencies - sed azure.archive.ubuntu.com → archive.ubuntu.com apt-get update && apt-get install …Linux CI installs from whatever mirror the runner image configures, as the release jobs already do.
Evidence
Same run (44650256386), two Linux jobs, apt fetching 82.5 MB:
eastus(Azure)archive.ubuntu.com(rewritten)us-west-2(AWS)us-east-2.ec2.archive.ubuntu.com(rewrite matched nothing)azure.archive.ubuntu.comat 5–10 MB/s in 9 of its last 10 runs (one 227 kB/s outlier on 11-10).Not run: the CI checks on this head; merged with admin override at the maintainer's request.
Merge Danger
Door: two-way
Blast Radius: CI-only
Azure-hosted Linux jobs go back to the Azure mirror, which was occasionally slow (the reason for #941's rewrite). The AWS-hosted jobs are unaffected either way.