Portal 1.0 (rc.11): linten med iris, og nytt innhold lastes med Load
Nettstedet holder alt i én fil i enhetens StateDirectory og starter med en tom lagring, uten NATS. lint-and-reload sjekker med iris fra 1.0-utgaven, også på pull requests, og ber nettstedet laste hver commit på main (POST /dhd/1/load med LOAD_TOKEN) i stedet for å rope over NATS. deploy.yml peker på v1.0.0-rc.11. Før dette flettes: deploy-portal-instance på kasse må kunne 1.0 (StateDirectory-innslaget og DHD_TOKENS med hashen av LOAD_TOKEN), og hemmeligheten LOAD_TOKEN må finnes her. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5fbDjRr9xfrtcDzcdJNr2
This commit is contained in:
2 files changed
+48
-12
No files matched your search
@@ -5,8 +5,10 @@ name: Deploy instance
|
||||
# PORTAL_RELEASE below pins the one this site runs, so every rollout is
|
||||
# a commit - auditable, and revertable by reverting it.
|
||||
#
|
||||
# Content-only changes never come through here: lint-and-reload
|
||||
# hot-swaps those into the running instance over NATS.
|
||||
# Content-only changes never come through here: lint-and-reload asks
|
||||
# the running site to load them (POST /dhd/1/load). Portal 1.0 keeps
|
||||
# everything the site has in one file of its own, in the unit's
|
||||
# StateDirectory, and starts with an empty store: no NATS.
|
||||
#
|
||||
# Runs on the host runner, because a deploy has to touch this host's
|
||||
# filesystem and its units. It is allowed exactly one root action:
|
||||
@@ -24,7 +26,7 @@ on:
|
||||
- .gitea/workflows/deploy.yml
|
||||
|
||||
env:
|
||||
PORTAL_RELEASE: v0.13.0
|
||||
PORTAL_RELEASE: v1.0.0-rc.11
|
||||
INSTANCE: klingenberg-portal
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in new issue
Block a user