diff --git a/docs/ci.md b/docs/ci.md index 85cf259..d6963ee 100644 --- a/docs/ci.md +++ b/docs/ci.md @@ -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