35 lines
901 B
YAML
35 lines
901 B
YAML
listen: "127.0.0.1:8090"
|
|
|
|
dispatcher:
|
|
url: "http://127.0.0.1:8080"
|
|
|
|
instances:
|
|
- name: burrow
|
|
forgejo:
|
|
base_url: "http://127.0.0.1:3000"
|
|
token: "PENDING-FORGEJO-PAT"
|
|
scope:
|
|
level: "repository"
|
|
owner: "hackclub"
|
|
name: "burrow"
|
|
disable_polling: false
|
|
poll_interval: "30s"
|
|
webhook_secret: "PENDING-WEBHOOK-SECRET"
|
|
webhook:
|
|
url: "https://nsc-autoscaler.burrow.net/webhook/burrow"
|
|
content_type: "json"
|
|
events: ["workflow_job"]
|
|
active: true
|
|
targets:
|
|
- labels: ["namespace-profile-linux-medium"]
|
|
min_idle: 0
|
|
ttl: "20m"
|
|
machine_type: "4x8"
|
|
- labels: ["namespace-profile-macos-large"]
|
|
min_idle: 0
|
|
ttl: "90m"
|
|
machine_type: "12x28"
|
|
- labels: ["namespace-profile-windows-large"]
|
|
min_idle: 0
|
|
ttl: "45m"
|
|
machine_type: "windows/amd64:8x16"
|