- Add multi-instance molecule scenario verifying isolated data/config dirs - Add lifecycle molecule scenario testing stop/disable/enable/start sequence - Update default and binary verify playbooks for template unit assertions - Add integration tests for full CLI lifecycle and multi-instance support - Add pytest integration marker and --no-cov Makefile target - Update README with lifecycle commands, multi-instance examples, and architecture - Update Makefile with start/stop/enable/disable/status/remove targets - Update .env.example with GRM_LANG documentation
30 lines
1.2 KiB
Bash
30 lines
1.2 KiB
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 API token for optional post-install API checks (informational only).
|
|
# The integration test primarily verifies the runner by checking:
|
|
# 1. The .runner registration file exists and is valid
|
|
# 2. The container/service is running
|
|
# If set, API checks are performed as a bonus but do NOT affect pass/fail.
|
|
# Required scopes: read:user, read:repository, read:admin (or just "admin")
|
|
# Generate token at: Settings → Applications → Generate New Token
|
|
# GITEA_ADMIN_TOKEN=your-admin-api-token
|
|
|
|
# Integration test API retries (optional, default: 3).
|
|
# Number of times to retry API checks waiting for runner to appear.
|
|
# GITEA_INTEGRATION_RETRIES=3
|
|
|
|
# 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
|
|
|
|
# UI language for GRM console messages (optional, default: en)
|
|
# Supported: en, bg, de, ru, zh
|
|
# GRM_LANG=en
|