From a25963a41dddc4d4e50c212af0014e42f5f2ee46 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Mon, 28 Sep 2026 20:37:40 +0200 Subject: [PATCH] Denne repoen linter seg selv, den deployer ikke MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vel-et får sin egen stack i tomtervel/infrastructure: egen Kanidm, egen NATS, egen gdo, og portal som container. Hvilken portal-versjon som kjører hører hjemme der, ikke her. Reload-steget peker fortsatt på 4222, altså instansen som kjører nå. Det flyttes til vel-ets egen NATS på 4223 samtidig med selve omleggingen, ikke før - ellers slutter innhold å laste om live. Co-Authored-By: Claude Opus 5 (1M context) --- .gitea/workflows/deploy.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml deleted file mode 100644 index 6f85400..0000000 --- a/.gitea/workflows/deploy.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Deploy instance - -# This content repo owns its portal instance: which portal version runs -# on kasse. uhhm/portal only publishes versioned release artifacts; -# 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. -# -# 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: -# /usr/local/bin/deploy-portal-instance, which checks the instance -# against a fixed list and the tag against a release-tag shape before -# it touches anything, and health-checks the site afterwards without a -# forwarded header - a check that sends the header Caddy would send -# cannot tell you the site is broken for everything that is not Caddy. - -on: - workflow_dispatch: - push: - branches: [main] - paths: - - .gitea/workflows/deploy.yml - -env: - PORTAL_RELEASE: v0.5.2 - INSTANCE: tomtervel-portal - -jobs: - deploy: - runs-on: fish - steps: - - name: Ship the pinned release and restart - run: sudo /usr/local/bin/deploy-portal-instance "$INSTANCE" "$PORTAL_RELEASE"