mirror of
https://codeberg.org/Toasterson/solstice-ci.git
synced 2026-04-10 21:30:41 +00:00
This commit adds: - A unified configuration system (`AppConfig`) that aggregates KDL files and environment variables with precedence handling. - Example KDL configuration files for the orchestrator and forge-integration modules. - Updates to orchestrator and forge-integration to load and apply configurations from `AppConfig`. - Improved AMQP and database configuration with overlays from CLI, environment, or KDL. - Deprecated `TODO.txt` as it's now represented in the configuration examples.
17 lines
626 B
Text
17 lines
626 B
Text
// Example forge-integration config in KDL. Place at /etc/solstice/forge-integration.kdl
|
|
HTTP_ADDR "0.0.0.0:8080"
|
|
WEBHOOK_PATH "/webhooks/forgejo"
|
|
WEBHOOK_SECRET "replace-me"
|
|
AMQP_URL "amqp://127.0.0.1:5672/%2f"
|
|
AMQP_EXCHANGE "solstice.jobs"
|
|
AMQP_QUEUE "solstice.jobs.v1"
|
|
AMQP_ROUTING_KEY "jobrequest.v1"
|
|
AMQP_PREFETCH 64
|
|
FORGEJO_BASE_URL "https://codeberg.org/api/v1"
|
|
FORGEJO_TOKEN "token-here"
|
|
FORGE_CONTEXT "solstice/ci"
|
|
ORCH_HTTP_BASE "http://127.0.0.1:8081"
|
|
S3_ENDPOINT "http://127.0.0.1:9000"
|
|
S3_BUCKET "solstice-logs"
|
|
RUNS_ON_DEFAULT "illumos-latest"
|
|
RUNS_ON_MAP "owner1/repo1=ubuntu-22.04,owner2/repo2=illumos-latest"
|