ci(runner): add Portainer docker-compose stack and deployment guide for Act Runner
Build and Push LOGAR Runner / Build & Push LOGAR Runner Image (push) Failing after 42s
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 2m59s

This commit is contained in:
2026-09-26 17:43:38 +02:00
parent c51194e699
commit 38b36c28a0
3 changed files with 47 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# Gitea Instance URL
GITEA_INSTANCE_URL=https://gitea.eibl.tech
# Gitea Runner Registration Token (From Gitea Settings -> Actions -> Runners -> Create Runner)
GITEA_RUNNER_REGISTRATION_TOKEN=your_runner_registration_token_here
# Runner Configuration
GITEA_RUNNER_NAME=logar-build-runner
+14
View File
@@ -40,3 +40,17 @@ jobs:
## Building & Pushing the Runner ## Building & Pushing the Runner
Trigger the automated workflow [`.gitea/workflows/build-runner.yml`](../.gitea/workflows/build-runner.yml) via the Gitea Actions UI (Actions → Build and Push LOGAR Runner → Run Workflow) or push changes to the `runner/` folder. Trigger the automated workflow [`.gitea/workflows/build-runner.yml`](../.gitea/workflows/build-runner.yml) via the Gitea Actions UI (Actions → Build and Push LOGAR Runner → Run Workflow) or push changes to the `runner/` folder.
---
## Deploying the Runner Stack via Portainer
1. In Gitea, navigate to **Site Administration** (or Repo **Settings**) → **Actions** → **Runners** → **Create Runner**. Copy the registration token.
2. In Portainer, navigate to **Stacks** → **Add stack**.
3. Set the name to `logar-act-runner`.
4. Paste the contents of [`runner/docker-compose.yml`](docker-compose.yml) into the Web editor (or link to this Git repository).
5. In Environment variables, set:
- `GITEA_RUNNER_REGISTRATION_TOKEN`: `<your-gitea-runner-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.
+25
View File
@@ -0,0 +1,25 @@
version: '3.8'
services:
logar-runner:
image: gitea/act_runner:latest
container_name: logar-act-runner
restart: unless-stopped
environment:
- GITEA_INSTANCE_URL=https://gitea.eibl.tech
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
- 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
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- logar_runner_data:/data
networks:
- runner-net
volumes:
logar_runner_data:
name: logar_runner_data
networks:
runner-net:
name: logar_runner_net