Files
grm/.env.example
T

22 lines
958 B
Bash

# Gitea instance URL (used for runner registration and API validation)
GITEA_URL=https://git.example.com
# Runner registration token from Gitea admin panel:
# Admin → Actions → Runners → Create Registration Token
GITEA_REGISTRATION_TOKEN=your-registration-token
# Gitea admin API token for post-install integration test (optional).
# The runner registration token above is NOT sufficient for the
# /api/v1/admin/runners endpoint; it is only valid for registration.
# To verify the runner appears in Gitea after install, generate a
# personal access token with at least the "admin" scope:
# Settings → Applications → Generate New Token → scope: admin
# If left unset, the integration test is skipped gracefully.
# GITEA_ADMIN_TOKEN=your-admin-api-token
# Default SSH user for remote hosts (optional, overrides --user)
# GITEA_RUNNER_USER=ubuntu
# Default SSH private key path (optional, overrides --key)
# GITEA_RUNNER_KEY=~/.ssh/id_ed25519