From 54a8f7f8e9f38e313b771c77ac828c8953e10461 Mon Sep 17 00:00:00 2001 From: Marcel Date: Mon, 11 May 2026 16:15:53 +0200 Subject: [PATCH] =?UTF-8?q?fix(workflows):=20match=20runner=20label=20?= =?UTF-8?q?=E2=80=94=20runs-on=20ubuntu-latest,=20not=20self-hosted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #508. Our gitea-runner advertises labels ubuntu-latest / ubuntu-24.04 / ubuntu-22.04. `runs-on: self-hosted` never matches → dispatched deploy jobs sit in the queue forever. The runner is still genuinely self-hosted (DooD socket, joined to gitea_gitea net, single-tenant per ADR-011) — the `self-hosted` token was just an unconfirmed assumption about the label name. Unblocks #497 / #499 first deploy. Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/nightly.yml | 8 +++++++- .gitea/workflows/release.yml | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/nightly.yml b/.gitea/workflows/nightly.yml index 1bae7b04..814e6fc8 100644 --- a/.gitea/workflows/nightly.yml +++ b/.gitea/workflows/nightly.yml @@ -43,7 +43,13 @@ env: jobs: deploy-staging: - runs-on: self-hosted + # `ubuntu-latest` matches our self-hosted runner's advertised label + # (the runner has labels: ubuntu-latest / ubuntu-24.04 / ubuntu-22.04). + # `self-hosted` would never match — no runner advertises it — so the + # job parks in the queue forever. ADR-011's "single-tenant" promise + # is at the repo level; sharing this runner between CI and deploys + # for the same repo is within that boundary. + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 96894fed..3831320f 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -45,7 +45,9 @@ env: jobs: deploy-production: - runs-on: self-hosted + # See nightly.yml — same rationale: `ubuntu-latest` matches the + # advertised label of our single-tenant self-hosted runner. + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 -- 2.49.1