From 92d858841db603364d1d6e8f118251080b045cd6 Mon Sep 17 00:00:00 2001 From: max Date: Sat, 26 Sep 2026 18:06:34 +0200 Subject: [PATCH] ci(runner): scope runner label strictly to logar and update release/ci workflows --- .gitea/workflows/ci.yml | 2 +- .gitea/workflows/release.yml | 2 +- runner/README.md | 6 ++---- runner/docker-compose.yml | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c077c7f..ac141e3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: test: name: Run Component Tests & Pipeline Verification if: "!startsWith(github.ref, 'refs/tags/')" - runs-on: ubuntu-latest + runs-on: logar steps: - name: Checkout Code uses: actions/checkout@v4 diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 2878eee..20a3653 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -16,7 +16,7 @@ on: jobs: release: name: Build & Release Standalone Binaries (Linux & Windows Cross-Compilation) - runs-on: ubuntu-latest + runs-on: logar steps: - name: Checkout Code uses: actions/checkout@v4 diff --git a/runner/README.md b/runner/README.md index cffdd88..10c80c3 100644 --- a/runner/README.md +++ b/runner/README.md @@ -27,9 +27,7 @@ You can run CI/CD jobs directly inside this container image in `.gitea/workflows jobs: release: name: Build & Release Standalone Binaries - runs-on: ubuntu-latest - container: - image: gitea.eibl.tech/me0nline/logar-runner:latest + runs-on: logar steps: - uses: actions/checkout@v4 - run: python3 compilation/package_dist.py --target all @@ -53,4 +51,4 @@ Trigger the automated workflow [`.gitea/workflows/build-runner.yml`](../.gitea/w - `GITEA_RUNNER_REGISTRATION_TOKEN`: `` 6. Click **Deploy the stack**. -The runner will automatically register with Gitea under labels `ubuntu-latest`, `debian-latest`, and `logar-runner`, executing jobs inside the pre-configured `gitea.eibl.tech/me0nline/logar-runner:latest` container. +The runner will automatically register with Gitea under the dedicated label `logar`, executing jobs inside the pre-configured `gitea.eibl.tech/me0nline/logar-runner:latest` container. diff --git a/runner/docker-compose.yml b/runner/docker-compose.yml index 77c430b..241bfad 100644 --- a/runner/docker-compose.yml +++ b/runner/docker-compose.yml @@ -11,7 +11,7 @@ services: - GITEA_INSTANCE_URL=${GITEA_INSTANCE_URL:-https://gitea.eibl.tech} - GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN:-MGynktVmt75MWfqRjahWLKsLKvOlrXDQZH5Wsn2p} - GITEA_RUNNER_NAME=${GITEA_RUNNER_NAME:-logar-build-runner} - - GITEA_RUNNER_LABELS=ubuntu-latest:docker://gitea.eibl.tech/me0nline/logar-runner:latest,debian-latest:docker://gitea.eibl.tech/me0nline/logar-runner:latest,logar-runner:docker://gitea.eibl.tech/me0nline/logar-runner:latest + - GITEA_RUNNER_LABELS=logar:docker://gitea.eibl.tech/me0nline/logar-runner:latest volumes: - /var/run/docker.sock:/var/run/docker.sock - logar_runner_data:/data