Wiki/infra/forgejo-runner/.env.example
Corentin JOGUET ecb7a44c3c
Some checks are pending
CI / Lint bridge (Biome) (push) Waiting to run
CI / Type-check bridge (push) Blocked by required conditions
CI / Tests unit bridge (push) Blocked by required conditions
CI / Tests integration bridge (push) Blocked by required conditions
CI / Security scan (push) Waiting to run
CI / Docker build + healthcheck (push) Blocked by required conditions
ops(infra): add Forgejo Actions Runner skeleton
- infra/forgejo-runner/compose.yml : runner v6.5.0 avec auto-register
- infra/forgejo-runner/.env.example : variables registration
- infra/forgejo-runner/README.md : setup + usage + securite + troubleshooting
- infra/README.md : index

Le runner est OPTIONNEL et a deployer separement quand on veut activer le CI
sur git.acadenice.com. Tant que pas deploye, les workflows GitHub Actions
restent actifs sur github.com/AcadeNice/wiki (mirror).
2026-05-07 13:49:19 +02:00

19 lines
783 B
Text

# Forgejo Actions Runner — variables d'environnement
# Copier vers .env et remplir.
# URL Forgejo
FORGEJO_INSTANCE_URL=https://git.acadenice.com
# Token de registration (a recuperer 1x via API ou UI Forgejo)
# UI : git.acadenice.com → Site Administration → Actions → Runners → Create runner token
# API : POST /api/v1/orgs/AcadeNice/actions/runners/registration-token
# Le token est valide pendant 30 min apres generation.
FORGEJO_RUNNER_REGISTRATION_TOKEN=
# Nom du runner (visible dans Forgejo UI)
FORGEJO_RUNNER_NAME=runner-acadenice-01
# Labels — workflows utilisent runs-on: <label>
# Les standards : docker, ubuntu-latest, ubuntu-22.04
# Custom : acadenice (pour les jobs Acadenice-specifiques)
FORGEJO_RUNNER_LABELS=docker,ubuntu-latest,ubuntu-22.04,acadenice