Use the Gitea checkpoint in the TrueNAS manifest
Verify and publish checkpoint container / container (push) Successful in 11m10s
Verify and publish checkpoint container / container (push) Successful in 11m10s
This commit is contained in:
1 parent
c012374cf1
commit
6cfe364c1b
2 files changed
+10
-12
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
dune:
|
dune:
|
||||||
image: ghcr.io/quintine/dune:checkpoint
|
image: git.juiced.computer/admin/dune:checkpoint
|
||||||
init: true
|
init: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
+9
-11
@@ -17,15 +17,15 @@ the `CONTAINER_REGISTRY_TOKEN` Actions secret. The default image name is
|
|||||||
`git.juiced.computer/admin/dune`. Registry access and image visibility depend
|
`git.juiced.computer/admin/dune`. Registry access and image visibility depend
|
||||||
on the actual Gitea package settings; do not assume anonymous pulls work.
|
on the actual Gitea package settings; do not assume anonymous pulls work.
|
||||||
|
|
||||||
An `ubuntu-latest` Gitea runner is configured. On 29 October 2026, run #83
|
The instance-wide `truenas-general` runner serves `ubuntu-latest` jobs.
|
||||||
|
On 29 October 2026, run #83
|
||||||
verified and published commit `b18a7674702b92b6988b00cbde6212fa3b66b74a`.
|
verified and published commit `b18a7674702b92b6988b00cbde6212fa3b66b74a`.
|
||||||
The registry shows its immutable `sha-b18a7674702b92b6988b00cbde6212fa3b66b74a`
|
The registry shows its immutable `sha-b18a7674702b92b6988b00cbde6212fa3b66b74a`
|
||||||
tag and `checkpoint` with the same digest. Run #85 failed before publication,
|
tag and `checkpoint` with the same digest. Run #85 failed before publication,
|
||||||
so a source push still does not by itself establish a verified image or a
|
so a source push still does not by itself establish a verified image or a
|
||||||
deployment. For each checkpoint, verify the relevant workflow run and its
|
deployment. For each checkpoint, verify the relevant workflow run and its
|
||||||
published revision before considering a manual NAS update. The existing TrueNAS
|
published revision before considering a manual NAS update. TrueNAS and the Compose configuration
|
||||||
deployment and Compose configuration continue to reference the GHCR image; a
|
use `git.juiced.computer/admin/dune:checkpoint`, which supports anonymous pulls.
|
||||||
Gitea publication does not migrate them.
|
|
||||||
|
|
||||||
The previous GitHub workflow, `.github/workflows/container.yml`, builds a
|
The previous GitHub workflow, `.github/workflows/container.yml`, builds a
|
||||||
production image using the lockfile on GitHub pushes. Types, lint and offline
|
production image using the lockfile on GitHub pushes. Types, lint and offline
|
||||||
@@ -36,8 +36,8 @@ and rejected HTTP origins, verifies saved-seat restoration through restart and
|
|||||||
container replacement, then runs the HTTP integration suite.
|
container replacement, then runs the HTTP integration suite.
|
||||||
|
|
||||||
Only a passing GitHub image is pushed to `ghcr.io/quintine/dune:checkpoint`,
|
Only a passing GitHub image is pushed to `ghcr.io/quintine/dune:checkpoint`,
|
||||||
alongside `ghcr.io/quintine/dune:sha-<full-commit>`. TrueNAS currently pulls
|
alongside `ghcr.io/quintine/dune:sha-<full-commit>`. Failed checks leave the
|
||||||
that image. Failed checks leave the previous update tag untouched. This
|
previous update tag untouched. This
|
||||||
workflow targets Linux AMD64, the architecture of ordinary x86 TrueNAS systems.
|
workflow targets Linux AMD64, the architecture of ordinary x86 TrueNAS systems.
|
||||||
|
|
||||||
The user selected the existing GHCR image as **public**, matching the public
|
The user selected the existing GHCR image as **public**, matching the public
|
||||||
@@ -112,11 +112,9 @@ See [NGINX WebSocket forwarding](https://nginx.org/en/docs/http/websocket.html).
|
|||||||
|
|
||||||
### Applying an update
|
### Applying an update
|
||||||
|
|
||||||
1. Wait for the checkpoint workflow for the configured image registry to
|
1. Wait for the Gitea checkpoint workflow to succeed and confirm the intended
|
||||||
succeed and confirm the intended revision was published. A Gitea source
|
revision was published. Check for image updates in TrueNAS and apply the
|
||||||
push alone is insufficient, and the GHCR Compose image does not automatically
|
update manually at a safe point between decisions.
|
||||||
switch registries. Check for image updates in TrueNAS and apply the update
|
|
||||||
manually at a safe point between decisions.
|
|
||||||
2. Before updating, stop the app and back up or snapshot its persistent storage.
|
2. Before updating, stop the app and back up or snapshot its persistent storage.
|
||||||
Include the named volume in the Apps backup procedure; a dedicated host
|
Include the named volume in the Apps backup procedure; a dedicated host
|
||||||
dataset provides a more explicit ZFS snapshot boundary.
|
dataset provides a more explicit ZFS snapshot boundary.
|
||||||
|
|||||||
Reference in new issue
Block a user