From de978187d03efb0176f93ea165e1f2de1362a916 Mon Sep 17 00:00:00 2001 From: ubuntu Date: Wed, 8 Jul 2026 08:19:55 +0000 Subject: [PATCH] =?UTF-8?q?fix(ci):=20align=20runs-on=20labels=20with=20gi?= =?UTF-8?q?tea/act=5Frunner=20defaults=20=E2=80=94=20advertise=20ubuntu-22?= =?UTF-8?q?.04=20instead=20of=20self-hosted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 4 ++-- docs/development.md | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d46b996..6810007 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,7 +13,7 @@ concurrency: jobs: ruff: name: lint (ruff) - runs-on: self-hosted + runs-on: ubuntu-22.04 steps: - name: Checkout uses: actions/checkout@v4 @@ -33,7 +33,7 @@ jobs: pytest: name: pytest (py${{ matrix.python-version }}) - runs-on: self-hosted + runs-on: ubuntu-22.04 strategy: fail-fast: false matrix: diff --git a/docs/development.md b/docs/development.md index bb9adf1..14ee768 100644 --- a/docs/development.md +++ b/docs/development.md @@ -188,10 +188,11 @@ Sulla macchina che eseguir\u00e0 i job serve **Docker** (l'immagine 3. Quando vedi `Runner is now online` nel log, sostituisci con la versione daemonizzata (`-d`, `--restart unless-stopped`). Un - `act_runner` Docker di default pubblica le label - `self-hosted`, `linux`, `amd64`; i workflow di `viandante` usano - proprio `runs-on: self-hosted` (in `.gitea/workflows/*.yml`) che le - matcha. + `act_runner` Docker (`gitea/act_runner:latest`) di default + pubblica le label `ubuntu-latest`, `ubuntu-24.04`, `ubuntu-22.04`; + i workflow di `viandante` usano `runs-on: ubuntu-22.04` + (in `.gitea/workflows/*.yml`) che le matcha — ogni job gira in + un container pulito basato su Ubuntu 22.04 (Docker‑in‑Docker). > NB sul token: l'URL `/-/admin/runners` genera un **runner globale** > (visibile a tutti i repo del Gitea). Per limitare il runner a un solo