apps: re-pin the contact APIs to their new :sha tags
Both contact APIs now have amd64 build+push pipelines: sirius-growth/.forgejo/workflows/deploy-contact.yml (contact-api/) and sirius/websites/.forgejo/workflows/deploy-phs-contact.yml (phs-contact-api/). Each printed the tag for its first run, so the @sha256: pins (which existed only because there was no build path) become ordinary :<sha> tags an operator can bump. docs/site-image-pinning.md: drop the 'no CI build path' section and record the two workflows in the pins table.
This commit is contained in:
parent
bbcf02e68a
commit
5c6c8b71c0
3 changed files with 23 additions and 19 deletions
|
|
@ -61,23 +61,27 @@ whatever CI pushed last. A site repo push alone changes nothing in the cluster.
|
|||
| siriusdevops | siriusdevops-contact | `siriusdevops-contact:f0dde2f48c8224fb80d801ecb0d155c93332dc13` |
|
||||
| sirius-growth | sirius-growth-site | `sirius-growth-site:ea306b73b0d7c9ae8c33393a420e6d1d452b802b` |
|
||||
| sirius-growth | sirius-growth-portal | `sirius-growth-portal:d9e558c4e0922d3ecd28214f7698ec0994170481` |
|
||||
| sirius-growth | sirius-growth-contact | `sirius-growth-contact@sha256:cba0a5c67fee639dea78b568cbdf5889b2c78cc2c9cf85b02964ce17d60aab31` |
|
||||
| sirius-growth | sirius-growth-contact | `sirius-growth-contact:c9c9379ebceca6879d3bbeff1c2601b6484e87b0` |
|
||||
| piedmont | piedmont-site | `phs-site:5b590cddab6d7889fdd3c272255f28c4560e752e` |
|
||||
| piedmont | piedmont-contact | `phs-contact@sha256:da61fc7943881f801fe6201749c01e364df6475d2460d6d17c8a6b48009f0056` |
|
||||
| piedmont | piedmont-contact | `phs-contact:5035443abb62913362e416ab7030a64726886886` |
|
||||
|
||||
Each pin was chosen as the tag whose manifest is **the image already running**
|
||||
(identical config digest), so pinning was a no-op for visitors.
|
||||
Each pin is the tag CI printed for the commit that was deployed. (The first six
|
||||
pins were chosen as the tag whose manifest was **the image already running**, so
|
||||
pinning was a no-op for visitors; the two contact APIs were re-pinned after
|
||||
their pipelines first ran — same source, freshly built.)
|
||||
|
||||
### The two digest-pinned contact APIs
|
||||
### Contact APIs
|
||||
|
||||
`sirius-growth-contact` and `phs-contact` have **no CI build path**: neither
|
||||
`sirius-growth/.forgejo/workflows/*` nor `sirius/websites/.forgejo/workflows/deploy-handyman.yml`
|
||||
builds them (the source dirs `contact-api/` and `phs-contact-api/` exist, but no
|
||||
workflow pushes them; the registry only ever held `:latest`). They were built by
|
||||
hand before the workflows were trimmed. Per the no-invented-pipelines rule they
|
||||
are pinned by `@sha256:` digest — immutable, but there is no tag for an operator
|
||||
to bump. If a build step is ever added for them, move them to `:<sha>` like the
|
||||
rest. Both deployments run the same image content their pods already ran.
|
||||
Both contact APIs now build in CI, on `docker-amd64`, tagging `:$sha` and
|
||||
promoting `:latest` as a pointer only:
|
||||
|
||||
| Repo | Workflow | `paths:` | Source | Image |
|
||||
|---|---|---|---|---|
|
||||
| `sirius-growth` (`master`) | `.forgejo/workflows/deploy-contact.yml` | `contact-api/**` | `contact-api/` | `sirius/sirius-growth-contact` |
|
||||
| `sirius/websites` (`main`) | `.forgejo/workflows/deploy-phs-contact.yml` | `phs-contact-api/**` | `phs-contact-api/` | `sirius/phs-contact` |
|
||||
|
||||
They used to be hand-built (`:latest` only) and therefore pinned by `@sha256:`.
|
||||
A change to either API is now a push → printed `:<sha>` ref → bump the pin here.
|
||||
|
||||
## Registry facts
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue