home-cache turns off apt sources it can't route through Artifact Keeper #132

Merged
merge-queue merged 4 commits from PIPT-23-apt-sources into main 2026-11-17 12:25:22 -08:00
Owner

Part of https://openproject.home.romaine.life/wp/PIPT-23.

What it fixes: home-cache pointed apt's Ubuntu archive and security sources at Artifact Keeper but left the Linux job image's other apt sources fetching from the internet on every apt-get update: git-core's Launchpad PPA, packagecloud's git-lfs and packages.microsoft.com. A Launchpad 503 failed home-cache-linux on #128 that way.

Added: after the Ubuntu rewrite, home-cache turns off every apt source Artifact Keeper doesn't mirror: a one-line source is commented out, and a deb822 .sources file naming one is renamed so apt skips it. home-cache-linux now fails if any enabled source names another host (replacing its check for ubuntu.com alone).

Left alone: the Ubuntu rewrite, cargo, NuGet and OpenTofu. No CI job installs from the three sources turned off (every apt-get install in the estate's workflows takes Ubuntu packages); what the image already installed from them stays installed.

Part of https://openproject.home.romaine.life/wp/PIPT-23. **What it fixes:** home-cache pointed apt's Ubuntu archive and security sources at Artifact Keeper but left the Linux job image's other apt sources fetching from the internet on every `apt-get update`: git-core's Launchpad PPA, packagecloud's git-lfs and packages.microsoft.com. A Launchpad 503 failed home-cache-linux on https://forgejo.romaine.life/romaine-life/pipeline-templates/pulls/128 that way. **Added:** after the Ubuntu rewrite, home-cache turns off every apt source Artifact Keeper doesn't mirror: a one-line source is commented out, and a deb822 `.sources` file naming one is renamed so apt skips it. home-cache-linux now fails if any enabled source names another host (replacing its check for ubuntu.com alone). **Left alone:** the Ubuntu rewrite, cargo, NuGet and OpenTofu. No CI job installs from the three sources turned off (every `apt-get install` in the estate's workflows takes Ubuntu packages); what the image already installed from them stays installed.
home-cache's test names Artifact Keeper once
Some checks are pending
CI / changes (pull_request) Successful in 17s
Fleet / align (pull_request) Successful in 17s
CI / prune-releases (pull_request) Successful in 11s
CI / actionlint (pull_request) Successful in 20s
CI / check-versions (pull_request) Successful in 10s
CI / release-version (pull_request) Successful in 12s
CI / check-fetches (pull_request) Successful in 9s
CI / check-image-digests (pull_request) Successful in 8s
CI / cached-images (pull_request) Successful in 9s
CI / azure-cli (pull_request) Successful in 11s
CI / home-cache-linux (pull_request) Successful in 25s
CI / container-health (pull_request) Successful in 28s
CI / service-runtime (one) (pull_request) Successful in 25s
CI / service-runtime (two) (pull_request) Successful in 23s
CI / service-cancellation (pull_request) Successful in 35s
CI / suite-tests-linux (pull_request) Successful in 22s
CI / setup-linux (nas) (pull_request) Successful in 2m31s
CI / home-cache-windows (pull_request) Successful in 23s
CI / suite-tests-windows (pull_request) Successful in 54s
CI / setup-windows (pull_request) Successful in 4m30s
merge-queue 2nd in line, behind #121: at joins the powershell and release suites
72ebf60c82
Merge branch 'main' into PIPT-23-apt-sources
Some checks are pending
CI / changes (pull_request) Successful in 8s
Fleet / align (pull_request) Successful in 6s
CI / prune-releases (pull_request) Successful in 8s
CI / actionlint (pull_request) Successful in 14s
CI / home-cache-windows (pull_request) Successful in 26s
CI / release-version (pull_request) Successful in 7s
CI / check-versions (pull_request) Successful in 6s
CI / check-fetches (pull_request) Successful in 7s
CI / check-image-digests (pull_request) Successful in 8s
CI / cached-images (pull_request) Successful in 9s
CI / azure-cli (pull_request) Successful in 9s
CI / home-cache-linux (pull_request) Successful in 22s
CI / container-health (pull_request) Successful in 28s
CI / service-runtime (two) (pull_request) Successful in 27s
CI / service-runtime (one) (pull_request) Successful in 29s
CI / suite-tests-linux (pull_request) Successful in 26s
CI / service-cancellation (pull_request) Successful in 40s
CI / setup-linux (nas) (pull_request) Successful in 2m54s
CI / suite-tests-windows (pull_request) Successful in 1m14s
merge-queue 2nd in line, behind #126: shell-config joins the suites
CI / setup-windows (pull_request) Successful in 7m27s
69a1731630
Merge branch 'main' into PIPT-23-apt-sources
All checks were successful
Fleet / align (pull_request) Successful in 6s
CI / changes (pull_request) Successful in 8s
CI / prune-releases (pull_request) Successful in 8s
CI / release-version (pull_request) Successful in 10s
CI / check-versions (pull_request) Successful in 10s
CI / actionlint (pull_request) Successful in 16s
CI / check-fetches (pull_request) Successful in 7s
CI / check-image-digests (pull_request) Successful in 8s
CI / cached-images (pull_request) Successful in 12s
CI / azure-cli (pull_request) Successful in 11s
CI / home-cache-windows (pull_request) Successful in 31s
CI / home-cache-linux (pull_request) Successful in 22s
CI / container-health (pull_request) Successful in 26s
CI / service-runtime (one) (pull_request) Successful in 32s
CI / service-runtime (two) (pull_request) Successful in 26s
CI / service-cancellation (pull_request) Successful in 34s
CI / suite-tests-linux (pull_request) Successful in 23s
CI / suite-tests-windows (pull_request) Successful in 59s
CI / setup-linux (nas) (pull_request) Successful in 2m35s
CI / setup-windows (pull_request) Successful in 4m9s
merge-queue landed on main
15ff7d86e6
merge-queue deleted branch PIPT-23-apt-sources 2026-11-17 12:25:22 -08:00
Sign in to join this conversation.
No description provided.