From fac6d30f54c3f9e2a11fbb15492b3a4d0fefe2cb Mon Sep 17 00:00:00 2001 From: Sluijsens Date: Tue, 10 Nov 2026 15:07:59 +0100 Subject: [PATCH] CI: onafhankelijke jobs (vulnerability-scan, frontend-prepare/-build/-test/-lint) op label 'linux' zodat ook de desktop-runner ze oppakt Co-Authored-By: Claude Sonnet 5.5 --- .gitea/workflows/continuous_integration.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/continuous_integration.yaml b/.gitea/workflows/continuous_integration.yaml index a135c8c..d12b106 100644 --- a/.gitea/workflows/continuous_integration.yaml +++ b/.gitea/workflows/continuous_integration.yaml @@ -194,10 +194,14 @@ jobs: # `dotnet list package --vulnerable` always exits 0, even when it reports vulnerabilities, so the # step greps its own output and fails deliberately (FR-22, D-12, OPEN-03 — closed by pinning # Microsoft.OpenApi and System.Security.Cryptography.Xml in the relevant .csproj files). + # Runner labels: `ubuntu-latest` exists only on the Pi (linux-arm64). The independent jobs below (vulnerability-scan, + # frontend-*) use `linux`, which the Pi and the desktop runner (x64) both carry, so they can run in parallel. They need no + # arm64 artefact and each does its own `pnpm install`. NOT moved: backend-test (docker mariadb), publish-* (linux-arm64 + # artefacts for the Pi) and deploy-* (reusable deploy workflow). vulnerability-scan: needs: changes if: needs.changes.outputs.backend == 'true' - runs-on: ubuntu-latest + runs-on: linux steps: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 @@ -215,7 +219,7 @@ jobs: frontend-prepare: needs: changes if: needs.changes.outputs.frontend == 'true' - runs-on: ubuntu-latest + runs-on: linux steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 @@ -246,7 +250,7 @@ jobs: frontend-build: needs: [changes, frontend-prepare] if: needs.changes.outputs.frontend == 'true' - runs-on: ubuntu-latest + runs-on: linux steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 @@ -275,7 +279,7 @@ jobs: frontend-test: needs: [changes, frontend-prepare] if: needs.changes.outputs.frontend == 'true' - runs-on: ubuntu-latest + runs-on: linux steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 @@ -304,7 +308,7 @@ jobs: frontend-lint: needs: [changes, frontend-prepare] if: needs.changes.outputs.frontend == 'true' - runs-on: ubuntu-latest + runs-on: linux steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 -- 2.39.5