Files

Manual Actions runner on The-Ocean

Vincent requested this migration on 14 November 2026 after moving the Jenkins delivery agent. This replaces the active laptop runner; it does not create another registration or expand its repository scope. The historical runner name ssw590-vince-local and label latex-local remain for workflow compatibility. The container is ssw590-manual-runner, under /opt/ssw590-manual-runner.

Configuration and ownership

  • Gitea runner 2.3.0, pinned to the same official image digest as the laptop.
  • Same tested compiler image ssw590-manual-ci:20261007, ID sha256:5d24657a4578977fc7709165b82fc869f09a654a58ab4a0c8defd9d2cd662d5d.
  • Runner: 192 MiB RAM / 256 MiB RAM+swap, 0.25 CPU, one job at a time. The first 96 MiB trial was killed during action setup; that attempt is retained in migration evidence. Compiler jobs have a separate 512 MiB / 768 MiB cap, 0.5 CPU and 256 PID cap. Resource limits are ceilings, not reserved memory.
  • Runner and job containers publish no ports. Existing Gitea HTTPS and TLS verification remain enabled. Cache server stays disabled.
  • Registration lives in the host's ssw590-local-runner-data Docker volume, /data/.runner, mode 0600 in a 0700 directory. Never print it, place it in Git or share it as evidence. The stopped laptop copy is an intentional fallback.
  • unless-stopped reconnects the daemon after Docker/host restarts. No server reboot is needed for installation. Only restart an idle runner.
  • Admission checks pause new jobs below 3 GiB free disk or 600 MiB available host RAM. This does not reserve resources or lock Jenkins out. Run manual builds and Jenkins delivery releases sequentially on this single-CPU host.
  • VS maintains the runner; BY retains Droplet administration. Existing Droplet billing applies; no new instance or plan change was made.

The runner can administer host Docker. Automatic socket mounting into jobs is disabled, jobs are not privileged, capabilities are dropped, and arbitrary workflow bind mounts remain disallowed. Runner 2.x does not comprehensively filter workflow container options, so only the trusted team may edit these workflows. Co-location gives a compromised Docker-authorized workflow a path to the shared host; these settings are not strong isolation from untrusted code. See official runner configuration.

Reconnect and stop

From an authorized administrator SSH session:

sh /opt/ssw590-manual-runner/start.sh
cd /opt/ssw590-manual-runner
docker compose ps
docker compose logs --tail 30
python3 verify.py
# Only when idle:
docker compose stop

The start helper requires existing identity and compiler image; it never registers a new runner. verify.py validates identity quietly and prints only non-secret runtime settings. It can capture compiler-job limits while a job runs. No account token is required in shell arguments, environment or repository.

Migration and fallback

The migration exported the existing compiler image, verified the transfer archive SHA-256 and loaded image ID, stopped the laptop daemon, then streamed its existing registration directly from Docker Desktop through pinned SSH into the remote Docker volume using import-identity.sh. The import refuses to overwrite an identity. It is a one-time operation; do not rerun it here. Original laptop volumes and images remain intact.

To return temporarily to the laptop, first stop the remote runner while idle, then use gitea/local-runner/runner.ps1 -Action Start -AllowLaptopFallback. Stop the laptop copy before restarting the remote one. Never connect both copies of the registration. The label intentionally remains latex-local.

After grading, only when instructed, retain needed evidence, stop this runner and remove only its explicitly identified container, network and state volume. Retire the Gitea registration only when no fallback is needed. Never prune the host or remove shared Gitea/Jenkins/proxy/monitoring state.

Source for image/state handling: Gitea Docker installation.