Add attic verification
build-dev / nix-build (push) Canceled after 26s

This commit is contained in:
NeilClack
2026-09-01 10:53:57 -05:00
parent fee31c87b8
commit 6019be6359
2 changed files with 28 additions and 0 deletions
+14
View File
@@ -67,6 +67,20 @@ jobs:
attic login radiantwave https://attic.radiantwavetech.com "$ATTIC_TOKEN"
attic push radiantwave:radiantwave-dev ./result-pkg
# attic push can exit 0 while storing a truncated NAR (dropped
# connection, disk full on the attic host), which kiosks then fail to
# fetch. Re-fetch the whole closure into a throwaway store to verify
# every NAR; if the upload is incomplete, `nix copy` errors and the
# manifest below is never published.
- name: Verify Attic upload
run: |
nix copy \
--from "https://attic.radiantwavetech.com/radiantwave-dev" \
--to "$PWD/.attic-verify-store" \
--no-check-sigs \
"$(readlink -f ./result-pkg)"
rm -rf "$PWD/.attic-verify-store"
# Publish the manifest kiosks poll for live app updates. `storePath`
# must match exactly the closure pushed to the dev Attic cache above
# (readlink resolves the result-pkg out-link symlink to its real
+14
View File
@@ -75,6 +75,20 @@ jobs:
attic login radiantwave https://attic.radiantwavetech.com "$ATTIC_TOKEN"
attic push radiantwave:radiantwave ./result-pkg
# attic push can exit 0 while storing a truncated NAR (dropped
# connection, disk full on the attic host), which kiosks then fail to
# fetch. Re-fetch the whole closure into a throwaway store to verify
# every NAR; if the upload is incomplete, `nix copy` errors and the
# manifest below is never published.
- name: Verify Attic upload
run: |
nix copy \
--from "https://attic.radiantwavetech.com/radiantwave" \
--to "$PWD/.attic-verify-store" \
--no-check-sigs \
"$(readlink -f ./result-pkg)"
rm -rf "$PWD/.attic-verify-store"
# Publish the manifest production kiosks poll for live app updates.
# `storePath` must match exactly the closure pushed to the release Attic
# cache above (readlink resolves the result-pkg out-link symlink to its