fix: runner runs on Hestia, not Dockerino

- Changed network_mode to host (local execution)
- Updated labels and names to gitea-runner-hestia
- Fixed README references
- Removed external network dependency
This commit is contained in:
gaia 2026-04-09 01:55:44 -03:00
parent af13a920c8
commit 775ad3fcd6
3 changed files with 10 additions and 15 deletions

View File

@ -1,10 +1,10 @@
# Gitea Actions Runner — Dockerino
# Gitea Actions Runner — Hestia
Este diretório contém a configuração do runner de Gitea Actions para executar workflows CI/CD.
## Visão Geral
O **act_runner** é o agente que executa os jobs definidos nos workflows `.gitea/workflows/*.yml`. Ele roda no Dockerino (10.0.0.50) usando Docker.
O **act_runner** é o agente que executa os jobs definidos nos workflows `.gitea/workflows/*.yml`. Ele roda no Hestia (10.0.0.50) usando Docker.
## Arquivos
@ -54,7 +54,7 @@ O runner deve aparecer como **"Active"**.
| Label | Descrição |
|-------|-----------|
| `gitea-runner-dockerino` | Runner principal |
| `gitea-runner-Hestia` | Runner principal |
| `ubuntu-latest` | Container Ubuntu para jobs |
## Troubleshooting
@ -72,7 +72,7 @@ cat config.yaml
### Docker socket permission denied
```bash
# No host (Dockerino), adicionar usuário ao grupo docker
# No host (Hestia), adicionar usuário ao grupo docker
sudo usermod -aG docker $USER
```

View File

@ -4,9 +4,9 @@ log:
runner:
capacity: 2
name: gitea-runner-dockerino
name: gitea-runner-hestia
labels:
- gitea-runner-dockerino
- gitea-runner-hestia
- ubuntu-latest:docker://ubuntu:latest
- ubuntu-latest:host
@ -17,7 +17,7 @@ cache:
docker:
host: unix:///var/run/docker.sock
network: homelab-network
network: ""
privileged: false
macos:
disabled: true

View File

@ -9,15 +9,10 @@ services:
- CONFIG_FILE=/runner/config.yaml
- INSTANCE_URL=https://gitea.hackerfortress.cc
- RUNNER_TOKEN=${RUNNER_TOKEN}
- RUNNER_NAME=gitea-runner-dockerino
- RUNNER_LABELS=gitea-runner-dockerino
- RUNNER_NAME=gitea-runner-hestia
- RUNNER_LABELS=gitea-runner-hestia
volumes:
- ./data:/data
- ./config.yaml:/runner/config.yaml
- /var/run/docker.sock:/var/run/docker.sock
networks:
- homelab-network
networks:
homelab-network:
external: true
network_mode: host