Keep worker on SSD and persistent release artifacts on ZFS

This commit is contained in:
Pavel Isaev 2026-11-08 15:35:05 +03:00
parent 9f5072112c
commit 39eb8fc92f
2 changed files with 22 additions and 11 deletions

View file

@ -4,8 +4,12 @@
The user requested moving all builds, Flatpak preparation and VM acceptance to
terra. The coordinator's worker is now `root@127.0.0.1` (terra itself), with
sources, caches and work under `/tank/archipelago/worker` on ZFS. Signing and
publication retain their existing coordinator paths. The tall-bridge Flatpak
sources, caches and work under `/opt/archipelago/worker` on SSD (the user's
subsequent storage correction replaces the initial ZFS worker placement).
Repository, ISO and run archives live at `/tank/archipelago/data`; the compatible
`/opt/archipelago/data` path is a symlink there. The web container must be restarted
after switching that path so its read-only bind mount sees the new location.
Signing retains its existing coordinator path. The tall-bridge Flatpak
relay is disabled. Existing yabloko inputs/evidence are preserved during migration.
Each normal worker action has a four-hour RuntimeMaxSec; its SSH waiter allows
@ -16,6 +20,13 @@ calendar: the 15th and 30th at 00:00 UTC, persistent catch-up enabled. The user
explicitly authorized enabling it now; snapshot rollout remains a separate task.
Timer enablement and the first terra-only run must be verified operationally.
The normal driver copies `repo`, `output` and `evidence` to the coordinator archive
before publication, verifies OSTree and public identities, then removes the owned
worker run tree. On failure it archives diagnostics/artifacts before removing the
worker tree; if archival fails, it retains the worker inputs. Persistent package,
Cargo and Flatpak caches survive. With the data symlink, these archives are on ZFS
and temporary build/ISO copies are removed from SSD by the same normal lifecycle.
Run `20261108T074340Z` built Core/GNOME but KDE ISO packaging exhausted worker
space (image 2455054 sectors, available 2445624). The previous 35 GB configured
reserve was insufficient for the three-variant peak. Configuration and default

View file

@ -1,30 +1,30 @@
{
"coordinator_root": "/opt/archipelago",
"worker": "root@127.0.0.1",
"worker_root": "/tank/archipelago/worker",
"worker_source_root": "/tank/archipelago/worker/release-source",
"worker_binary": "/tank/archipelago/worker/release-source/target/release/archipelago",
"worker_root": "/opt/archipelago/worker",
"worker_source_root": "/opt/archipelago/worker/release-source",
"worker_binary": "/opt/archipelago/worker/release-source/target/release/archipelago",
"coordinator_tools_image": "sha256:a7f09cdadffecf35297700c8f3513479c92d9a6a14cb6c0f95c71fdfb058a814",
"worker_tools_image": "sha256:a7f09cdadffecf35297700c8f3513479c92d9a6a14cb6c0f95c71fdfb058a814",
"flatpak_cache": "/tank/archipelago/worker/cache/flatpak",
"flatpak_cache": "/opt/archipelago/worker/cache/flatpak",
"flatpak_refresh_seconds": 14400,
"flatpak_initial_fill_seconds": 14400,
"variants": ["core", "gnome", "kde"],
"kde_release_decision": "D-091",
"kde_flatpak_cache": "/tank/archipelago/worker/cache/flatpak/kde",
"kde_flatpak_cache": "/opt/archipelago/worker/cache/flatpak/kde",
"kde_ui_actions": "test-lab/probes/kde-ui-actions.json",
"kde_ui_calibration": true,
"minimum_build_free_bytes": 60000000000,
"signing_home": "/opt/archipelago/keys/archipelago-stable",
"signing_key": "CF0FED7A412E57010527CD68BFAA5E80EEEACCA2",
"public_url": "https://mirror.nw-sys.ru/archipelago",
"bootstrap": "/tank/archipelago/worker/cache/bootstrap/archlinux-bootstrap-2026.11.01-x86_64.tar.zst",
"bootstrap": "/opt/archipelago/worker/cache/bootstrap/archlinux-bootstrap-2026.11.01-x86_64.tar.zst",
"ovmf_code": "/usr/share/OVMF/OVMF_CODE_4M.fd",
"ovmf_vars": "/usr/share/OVMF/OVMF_VARS_4M.fd",
"build_environment": {
"ARCHIPELAGO_PACKAGE_CACHE": "/tank/archipelago/worker/cache/packages",
"ARCHIPELAGO_PACKAGE_CACHE": "/opt/archipelago/worker/cache/packages",
"ARCHIPELAGO_MIRROR_URL": "https://mirror.nw-sys.ru/archlinux/$repo/os/$arch",
"ARCHIPELAGO_FLATPAK_SEED": "/tank/archipelago/worker/cache/flatpak/current",
"ARCHIPELAGO_SOFTWARE_PLUGIN": "/tank/archipelago/worker/evidence/gnome-software-adapter/libgs_plugin_archipelago.so"
"ARCHIPELAGO_FLATPAK_SEED": "/opt/archipelago/worker/cache/flatpak/current",
"ARCHIPELAGO_SOFTWARE_PLUGIN": "/opt/archipelago/worker/evidence/gnome-software-adapter/libgs_plugin_archipelago.so"
}
}