The service-cancellation test signs in to Forgejo's registry #128

Merged
merge-queue merged 3 commits from PIPT-18-registry-login into main 2026-11-17 12:53:21 -08:00
Owner

Unblocks every open pipeline-templates PR (120, 122, 123, 124 fail CI / service-cancellation). Tracked on https://openproject.home.romaine.life/wp/PIPT-18.

Cause: suites/tests/cancel-services.mjs runs forgejo.romaine.life/nelsong6/linux-runner, which is private (nelsong6 is a private org; an anonymous manifest request answers 401). Since nelsong6/forgejo PR 83 (merged 2026-11-17 10:44), the runner's Docker clears images at each start, so the copy the test used to find locally is gone, and the job's Docker has no registry login.

Added: a step before the test that logs in to forgejo.romaine.life with the new org secret REGISTRY_READ_TOKEN (romaine-life and nelsong6). It is a token of user nelson named ci-registry-read-2026-11-17, with scope read:package only. I checked that it pulls this image's manifest by digest.

Left alone: the test itself and the runner's cleanup at start.

Changing ci.yml selects every check, so this PR's own run proves the fix.

Unblocks every open pipeline-templates PR (120, 122, 123, 124 fail `CI / service-cancellation`). Tracked on https://openproject.home.romaine.life/wp/PIPT-18. **Cause:** `suites/tests/cancel-services.mjs` runs `forgejo.romaine.life/nelsong6/linux-runner`, which is private (nelsong6 is a private org; an anonymous manifest request answers 401). Since nelsong6/forgejo PR 83 (merged 2026-11-17 10:44), the runner's Docker clears images at each start, so the copy the test used to find locally is gone, and the job's Docker has no registry login. **Added:** a step before the test that logs in to `forgejo.romaine.life` with the new org secret `REGISTRY_READ_TOKEN` (romaine-life and nelsong6). It is a token of user nelson named `ci-registry-read-2026-11-17`, with scope `read:package` only. I checked that it pulls this image's manifest by digest. **Left alone:** the test itself and the runner's cleanup at start. Changing `ci.yml` selects every check, so this PR's own run proves the fix.
The service-cancellation test signs in to Forgejo's registry before running the runner image
Some checks failed
CI / changes (pull_request) Successful in 14s
Fleet / align (pull_request) Successful in 8s
CI / check-fetches (pull_request) Successful in 9s
CI / prune-releases (pull_request) Successful in 9s
CI / actionlint (pull_request) Successful in 15s
CI / check-versions (pull_request) Successful in 9s
CI / release-version (pull_request) Successful in 10s
CI / check-image-digests (pull_request) Successful in 10s
CI / cached-images (pull_request) Successful in 13s
CI / azure-cli (pull_request) Successful in 12s
CI / container-health (pull_request) Successful in 35s
CI / service-runtime (one) (pull_request) Successful in 30s
CI / service-runtime (two) (pull_request) Successful in 27s
CI / service-cancellation (pull_request) Successful in 40s
CI / suite-tests-linux (pull_request) Successful in 30s
CI / home-cache-linux (pull_request) Failing after 1m34s
CI / setup-linux (nas) (pull_request) Successful in 2m57s
CI / home-cache-windows (pull_request) Successful in 30s
CI / suite-tests-windows (pull_request) Successful in 1m6s
CI / setup-windows (pull_request) Successful in 4m52s
merge-queue CI failed: CI / home-cache-linux (pull_request)
b991bd34f2
The runner's Docker now clears its images at each start (nelsong6/forgejo PR 83), so the
private linux-runner image has to be pulled, and an anonymous pull is refused.
First-time contributor

merge-queue stopped this at b991bd3: CI failed: CI / home-cache-linux (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the queue label.

merge-queue stopped this at b991bd3: CI failed: CI / home-cache-linux (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the `queue` label.
First-time contributor

merge-queue stopped this at b991bd3: CI failed: CI / home-cache-linux (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the queue label.

merge-queue stopped this at b991bd3: CI failed: CI / home-cache-linux (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the `queue` label.
First-time contributor

merge-queue stopped this at b991bd3: CI failed: CI / home-cache-linux (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the queue label.

merge-queue stopped this at b991bd3: CI failed: CI / home-cache-linux (pull_request). Push a fix, or once it is fixed outside this pull request, remove and re-add the `queue` label.
Merge remote-tracking branch 'origin/main' into PIPT-18-registry-login
Some checks are pending
Fleet / align (pull_request) Successful in 6s
CI / changes (pull_request) Successful in 8s
CI / prune-releases (pull_request) Successful in 6s
CI / check-versions (pull_request) Successful in 7s
CI / release-version (pull_request) Successful in 8s
CI / actionlint (pull_request) Successful in 14s
CI / check-fetches (pull_request) Successful in 7s
CI / check-image-digests (pull_request) Successful in 7s
CI / cached-images (pull_request) Successful in 7s
CI / home-cache-windows (pull_request) Successful in 21s
CI / azure-cli (pull_request) Successful in 8s
CI / home-cache-linux (pull_request) Successful in 20s
CI / container-health (pull_request) Successful in 24s
CI / service-runtime (one) (pull_request) Successful in 23s
CI / service-runtime (two) (pull_request) Successful in 21s
CI / suite-tests-linux (pull_request) Successful in 22s
CI / service-cancellation (pull_request) Successful in 28s
CI / suite-tests-windows (pull_request) Successful in 46s
CI / setup-linux (nas) (pull_request) Successful in 1m23s
CI / setup-windows (pull_request) Successful in 3m3s
merge-queue 2nd in line, behind #129: A joined cluster image is rebuilt only when its inputs change; spotify-player joins the suites
99d0eaf4ee
Merge branch 'main' into PIPT-18-registry-login
All checks were successful
merge-queue landed on main
CI / changes (pull_request) Successful in 5s
Fleet / align (pull_request) Successful in 4s
CI / check-versions (pull_request) Successful in 5s
CI / prune-releases (pull_request) Successful in 5s
CI / release-version (pull_request) Successful in 6s
CI / check-fetches (pull_request) Successful in 6s
CI / actionlint (pull_request) Successful in 10s
CI / check-image-digests (pull_request) Successful in 6s
CI / cached-images (pull_request) Successful in 7s
CI / azure-cli (pull_request) Successful in 7s
CI / home-cache-windows (pull_request) Successful in 20s
CI / container-health (pull_request) Successful in 26s
CI / home-cache-linux (pull_request) Successful in 21s
CI / service-runtime (one) (pull_request) Successful in 24s
CI / service-runtime (two) (pull_request) Successful in 25s
CI / service-cancellation (pull_request) Successful in 38s
CI / suite-tests-linux (pull_request) Successful in 24s
CI / suite-tests-windows (pull_request) Successful in 1m0s
CI / setup-linux (nas) (pull_request) Successful in 2m48s
CI / setup-windows (pull_request) Successful in 4m21s
a65f0fc48e
merge-queue deleted branch PIPT-18-registry-login 2026-11-17 12:53:21 -08:00
Sign in to join this conversation.
No description provided.