home-cache switches off apt sources Artifact Keeper doesn't mirror #131
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/pipeline-templates!131
Loading…
Reference in a new issue
No description provided.
Delete branch "PIPT-18-apt-sources"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracked on https://openproject.home.romaine.life/wp/PIPT-18. Launchpad's 503 failed
CI / home-cache-linuxon #128.Changed:
actions/home-cachealready rewrote Ubuntu's archive to Artifact Keeper. It now also switches off every apt source Artifact Keeper doesn't mirror. A file insources.list.dgets renamed to.off, and a line insources.listgets commented out. In the job image (catthehacker act-24.04) that covers three sources: the git-core PPA on Launchpad, git-lfs on packagecloud, and packages.microsoft.com. Any of them being down failedapt-get update, against README's "keeps serving what it holds when a source is down".Test:
home-cache-linuxnow also asserts that Artifact Keeper is the only host apt reads. I ran the action and the test against that exact image digest on the cluster runner's Docker, with an extra foreign line insources.list. The update and thehellodownload succeeded, the foreign line was commented out and the three files were renamed.Not done: jobs that run
apt-get updatewithout home-cache still read those hosts. Our CI installs only packages from Ubuntu's archive (shellcheck, python3-yaml, jq and the like), so nothing loses a package it uses.merge-queue stopped this at
b02549a: CI failed: CI / setup-windows (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add thequeuelabel.merge-queue stopped this at
b02549a: conflicts with main. Push a fix, or once it is fixed outside this pull request, remove and re-add thequeuelabel.Superseded by #132 (PIPT-23), which landed the same fix first: home-cache turns off apt sources Artifact Keeper does not mirror, with the same CI assertion. Closing.
Pull request closed