chore(ci): remove broken Microsoft apt sources before apt-get update#1288
Closed
wpfleger96 wants to merge 1 commit into
Closed
chore(ci): remove broken Microsoft apt sources before apt-get update#1288wpfleger96 wants to merge 1 commit into
wpfleger96 wants to merge 1 commit into
Conversation
GitHub-hosted Ubuntu 24.04 runners include Microsoft package repos (azure-cli, packages.microsoft.com/ubuntu/24.04/prod) in their default apt sources. These repos intermittently return 403 Forbidden, causing apt-get update to fail with exit code 100 even though none of our dependencies come from those repos. Remove the Microsoft source list files and their signing keys before running apt-get update so transient Microsoft CDN outages don't break unrelated CI jobs. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Collaborator
Author
|
Closing — the original main failure was a transient Microsoft CDN blip (403 on apt sources). Main re-run cleared green without any code change. This fix is over-engineered for what was a one-off infra hiccup. |
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.
GitHub-hosted Ubuntu 24.04 runners include Microsoft package repos (
azure-cli,packages.microsoft.com/ubuntu/24.04/prod) in their default apt sources. These repos intermittently return 403 Forbidden, causingapt-get updateto fail with exit code 100 even though none of our dependencies come from those repos.This was the root cause of the Desktop Core failure on main after #1256 merged.
Add a step before "Install Tauri dependencies (Linux)" in both
ci.ymlandrelease.ymlthat removes the Microsoft source list files and their signing keys before runningapt-get update.