solstice-ci/packaging/arch/solstice-forge-integration/forge-integration.env.example
Till Wegmueller 81a93ef1a7
Enable job log persistence, HTTP server, and extend CI/packaging support
This commit introduces:
- Log persistence feature with a new `job_logs` table and related APIs for recording and retrieving job logs.
- An HTTP server for serving log endpoints and job results.
- Updates to the CI pipeline to enable persistence by default and ensure PostgreSQL readiness.
- Docker Compose updates with a Postgres service and MinIO integration for object storage.
- Packaging scripts for Arch Linux, including systemd service units for deployment.
2025-11-02 23:37:11 +01:00

32 lines
1.1 KiB
Text

# Solstice Forge Integration environment
RUST_LOG=info
# HTTP server address for webhooks
HTTP_ADDR=0.0.0.0:8080
# RabbitMQ to publish job requests
AMQP_URL=amqp://127.0.0.1:5672/%2f
AMQP_EXCHANGE=solstice.jobs
AMQP_ROUTING_KEY=jobrequest.v1
# Results queue to consume job results
RESULTS_QUEUE=solstice.results.v1
# Optional: webhook path/secret
# WEBHOOK_PATH=/webhooks/forgejo
# WEBHOOK_SECRET=change-me
# Forgejo commit status posting
# FORGEJO_BASE_URL=https://codeberg.org/api/v1
# FORGEJO_TOKEN=your_token_here
FORGE_CONTEXT=solstice/ci
# Orchestrator HTTP base to fetch logs
ORCH_HTTP_BASE=http://127.0.0.1:8081
# S3-compatible (Garage/MinIO) for uploading logs
S3_ENDPOINT=http://127.0.0.1:9000
S3_BUCKET=solstice-logs
# AWS-style credentials for S3-compatible storage
AWS_ACCESS_KEY_ID=minioadmin
AWS_SECRET_ACCESS_KEY=minioadmin
AWS_REGION=us-east-1
# runs_on inference
# Use this default label when not specified via PR labels or repo map
# RUNS_ON_DEFAULT=ubuntu-22.04
# Per-repo overrides: comma-separated owner/repo=label pairs
# Example: RUNS_ON_MAP=illumos/solstice-ci=illumos-latest,otherorg/another-repo=ubuntu-22.04