From 5539835dd69e13e967019f15b6be7986a281de9d Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Mon, 9 Nov 2026 08:35:25 +1100 Subject: [PATCH] docs(deployments): agent image tags match the Woodpecker pipeline; drop the missing publish.sh --- deployments/INSTRUCTIONS.md | 4 +-- deployments/systemd-user-service.md | 45 +++++++---------------------- 2 files changed, 12 insertions(+), 37 deletions(-) diff --git a/deployments/INSTRUCTIONS.md b/deployments/INSTRUCTIONS.md index 6a15feb14..b50f1d56c 100644 --- a/deployments/INSTRUCTIONS.md +++ b/deployments/INSTRUCTIONS.md @@ -1,8 +1,6 @@ # Running this distribution -This archive contains five linux/amd64 binaries: - -Each service owns its data and reaches the others only through their gRPC +This archive holds the linux/amd64 binary for each service. Each service owns its data and reaches the others only through their gRPC contracts (or NATS, for task actions): | Service | Owns | Reaches | diff --git a/deployments/systemd-user-service.md b/deployments/systemd-user-service.md index ef17173b5..6afe3ed31 100644 --- a/deployments/systemd-user-service.md +++ b/deployments/systemd-user-service.md @@ -169,47 +169,24 @@ fall back to a host model loop. ## 6. Pinning the archie-agent Image -`archie-agent:latest` is a moving target: every release re-publishes it, so it -can change under a running deployment with no warning and no way to reproduce a -prior build. Two paths publish it, to different references: +The release pipeline (`.woodpecker/deploy.yaml`) publishes +`git.catlow.cloud/sam/archie-agent` as `:v` and `:sha-` when +the commit carries a release tag; an ordinary push to `main` publishes nothing +for the agent image, and `:latest` moves only when a release is promoted. A +distribution zip pins the image its own release +published, by digest, in `release.json`, and `archied update install` pulls +exactly that. -- `.github/workflows/deploy.yml` publishes `git.catlow.cloud/sam/archie-agent` - as `:latest` and `:sha-` when the commit carries a release tag; an - ordinary push to `main` publishes nothing for the agent image. -- `tools/publish.sh`, run by hand for a release, publishes - `git.catlow.cloud/sam/archie-agent` as `:latest` and `:sha-`, which is - the registry the shipped default above names. - -A distribution zip pins whichever one its own release published, by digest, in -`release.json`; `archied update install` then pulls exactly that. - -As of this writing, `archie-agent` has **no published semantic-version tag** -- -both paths publish only `:latest` and an immutable `:sha-` (`archied` -is versioned independently per `RELEASING.md`, but that versioning is not yet -reflected as a registry tag for the agent image). Until one publishes it, the -only reproducible reference is a content digest, resolved once and pinned -explicitly: +To pin by hand, prefer the version tag for readability, or a digest where you +need byte-for-byte reproducibility (a tag can be overwritten, a digest cannot): ```toml [containers] +image = "git.catlow.cloud/sam/archie-agent:v" +# or image = "git.catlow.cloud/sam/archie-agent@sha256:" ``` -This is the digest `latest` resolved to on 2026-09-05. Digest pinning is the -strongest option for production: it is immutable and independently -verifiable (`docker manifest inspect git.catlow.cloud/sam/archie-agent@sha256:...`), -at the cost of being opaque in a config file a human is meant to edit -- -resolve a fresh digest deliberately (`docker pull ...:latest` followed by -`docker inspect --format '{{index .RepoDigests 0}}'`) rather than editing this -one in place expecting it to track new releases. - -If/when CI starts publishing a semantic-version tag for `archie-agent` -(e.g. `git.catlow.cloud/sam/archie-agent:v1.21.0`), prefer that tag for -day-to-day config readability, and reserve digest pinning for deployments -that need byte-for-byte reproducibility guarantees a tag alone cannot give -(tags are mutable pointers; a compromised or accidentally-overwritten tag -still resolves, a digest cannot). - A reference on a registry that needs a login needs the credential in `[containers].registry_auth` -- the release's own `git.catlow.cloud/sam/archie-agent` digest is one, since an anonymous pull