Name in docs/ci.md the job image the runner really registers

Runner setup told to register ubuntu-24.04:docker://ghcr.io/catthehacker/
ubuntu:act-24.04 while the new section on the tests says the test step runs in
docker.gitea.com/runner-images:ubuntu-24.04. The runner of this machine
(gitea-runner-performance, register script of its NixOS unit) is registered
with ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04, and
`docker ps` shows its CI tasks running that image, so the label line was the
stale one. It now names that image, the network list names its registry in
place of GHCR, and the tests section says it is the image of the
ubuntu-24.04 label.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-24 19:11:03 +03:00
1 parent cd08498092
commit ac6937289d
1 file changed
+12 -8
+12 -8
View File
@@ -46,17 +46,20 @@ the separate `release.yml` workflow below.
this label (the left side must match the workflow's `runs-on`):
```text
ubuntu-24.04:docker://ghcr.io/catthehacker/ubuntu:act-24.04
ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04
```
Configure this in the runner's labels when registering/configuring it;
an `ubuntu-latest` label alone does not match. The job image must provide
Bash, Git, the OpenSSH client, Node.js for checkout v4, and root or
passwordless sudo for apt.
an `ubuntu-latest` label alone does not match. This is the image of the
runner that runs this repository's CI, and the one the tests are checked
against ([Tests under the job image](#tests-under-the-job-image)). The job
image must provide Bash, Git, the OpenSSH client, Node.js for checkout v4,
and root or passwordless sudo for apt.
3. Allow network access from the runner and job container to the Gitea
instance, GitHub (checkout action, dependencies and RustSec advisories),
GHCR (runner image), Ubuntu apt mirrors, rustup distribution servers,
crates.io and dependency/license sources used by cargo-about. The
`docker.gitea.com` (runner image), Ubuntu apt mirrors, rustup
distribution servers, crates.io and dependency/license sources used by
cargo-about. The
workspace also depends on the **private** VoelinProtocol repository
(`voelin-identity`, over SSH), so the job needs read access to it and the
server's SSH port. The workflows set that up themselves from a repository
@@ -104,8 +107,9 @@ can complete this job.
### Tests under the job image
The test step runs as **root** in an Ubuntu 24.04 container
(`docker.gitea.com/runner-images:ubuntu-24.04`, `HOME=/root`) to which only
The test step runs as **root** in an Ubuntu 24.04 container of the
`ubuntu-24.04` label ([Runner setup](#runner-setup):
`docker.gitea.com/runner-images:ubuntu-24.04`, `HOME=/root`) to which only
the apt packages of the system-dependencies action are added. A test that
assumes a developer machine fails there, and a run takes about an hour, so
check a change to the tests the way CI runs them, with every failing test of