Move to stppriv: userscript at priv.<site>, CI stops deploying
Test and publish / test (push) Successful in 16s
Test and publish / publish (push) Successful in 16s

The tracker now runs on stppriv behind Cloudflare Access. The userscript
points at priv.adam-french.co.uk and migrates a saved www base, since www
only 301s now (which drops a POST). CI publishes the image but no longer
rolls stpvm's stack; stppriv is deployed by hand.

Merge only at cutover, once priv.adam-french.co.uk/jobs/ is live.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-26 13:34:20 +00:00
co-authored by Claude Opus 5.5
parent 179463795b
commit 12f253a300
3 changed files with 20 additions and 47 deletions
+3 -5
View File
@@ -68,15 +68,13 @@ The site's `docker-compose.yml` runs the published image as service `jobs`, with
### Deploying
A push to `main` here runs `.gitea/workflows/ci.yaml`. It tests, builds and pushes `adam-french.co.uk/adamf/job-tracker:<sha>` and `:latest`, then rolls the site onto the new image and waits for the container's healthcheck. A tracker that does not come up healthy fails the run, with its last log lines in the output.
The roll-out is the same command you would run by hand on the host:
A push to `main` here runs `.gitea/workflows/ci.yaml`. It tests, builds and pushes `adam-french.co.uk/adamf/job-tracker:<sha>` and `:latest`. It does not deploy: the tracker runs on stppriv (`priv.<site>/jobs/`), which is deployed by hand:
```
cd ~/deploy/web_server && docker compose pull jobs && docker compose up -d --no-deps jobs
cd ~/deploy/stppriv && docker compose pull jobs && docker compose up -d jobs
```
To pin a version, set `JOBS_IMAGE_TAG=<sha>` in the site's `.env`. While it is pinned, pushes here still publish but change nothing live. To roll back, pin the last good sha.
To pin a version, set `JOBS_IMAGE_TAG=<sha>` in stppriv's `.env`. To roll back, pin the last good sha.
### One-off: registry setup