Add Forgejo namespace workflow stack
This commit is contained in:
parent
482fd5d085
commit
865b676c99
68 changed files with 9709 additions and 11 deletions
34
services/forgejo-nsc/autoscaler.example.yaml
Normal file
34
services/forgejo-nsc/autoscaler.example.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
listen: ":8090"
|
||||
dispatcher:
|
||||
url: "http://localhost:8080"
|
||||
|
||||
instances:
|
||||
- name: burrow
|
||||
forgejo:
|
||||
base_url: "https://git.burrow.net"
|
||||
token: "PENDING-FORGEJO-PAT"
|
||||
scope:
|
||||
level: "repository"
|
||||
owner: "hackclub"
|
||||
name: "burrow"
|
||||
disable_polling: true
|
||||
poll_interval: "30s"
|
||||
webhook_secret: "supersecret"
|
||||
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: 1
|
||||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue