Point docs and the setup page at stpvm, the new CI host
Test and publish / test (push) Successful in 2m25s
Test and publish / publish (push) Failing after 50s

The site and its runner moved from the arm64 Pi (stppi) to stpvm
(x86-64), so the clone URL and the comments about the build host and
image architecture were wrong.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-15 17:58:03 +01:00
co-authored by Claude Opus 5.5
parent 4a07f54884
commit 62f812403a
4 changed files with 15 additions and 13 deletions
+6 -5
View File
@@ -2,7 +2,7 @@
# ci.yaml — test every push; publish an image for pushes to main that pass.
#
# Modelled on job-tracker's ci.yaml and run by the same runner: a self-hosted
# act_runner on the Pi (stppi) in HOST mode, with git and docker and no other
# act_runner on the web_server host (stpvm) in HOST mode, with git and docker and no other
# toolchain. So Go runs in a `docker run` container, and the source is
# fetched with plain git rather than actions/checkout (which needs Node on
# the host).
@@ -10,7 +10,7 @@
# TWO JOBS
# test gofmt, go vet, staticcheck and go test (with the database
# tests against a throwaway Postgres container), as `make check`
# minus -race, which the Pi can't run. Then the Vue app's
# minus -race (see the Go step). Then the Vue app's
# typecheck and build, in a node container.
# publish main only, after test: builds deploy/Dockerfile, pushes it to
# this Gitea's container registry as :<sha> and :latest, then
@@ -70,8 +70,9 @@ jobs:
# Read-only source, and named volumes for the module and build
# caches so repeat runs don't download everything again. No -race:
# the Pi's kernel has a 39-bit address space, which the race
# detector doesn't support on arm64. `make check` runs it locally.
# it was left out while CI ran on the arm64 Pi, whose 39-bit
# address space the race detector doesn't support, and has not
# been turned on since the move to x86-64. `make check` runs it.
- name: Go - lint and test
shell: bash
run: |
@@ -123,7 +124,7 @@ jobs:
rm -rf "$SRC" && mkdir -p "$SRC"
git --git-dir="$CACHE" archive --format=tar "$SHA" | tar -x -C "$SRC"
printf '%s' "$REGISTRY_TOKEN" | docker login adam-french.co.uk -u "$REGISTRY_USER" --password-stdin
# Built natively on the Pi, so the image is arm64 — the only
# Built natively on the host, so the image is amd64 — the only
# platform it runs on.
docker build -f "$SRC/deploy/Dockerfile" -t "$IMAGE:$SHA" -t "$IMAGE:latest" "$SRC"
docker push "$IMAGE:$SHA"