aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-03-04 15:38:21 +0100
committerAlex Auvolat <alex@adnab.me>2024-03-04 15:38:21 +0100
commiteb40718bee00742971233ebf1d5a2a9656e18f12 (patch)
tree668424a04839c9c398f3c1f0133c5f7cafb97bcc
parent62bd80a3464d97d36180e33c4137d842deeaf938 (diff)
downloadnixcfg-eb40718bee00742971233ebf1d5a2a9656e18f12.tar.gz
nixcfg-eb40718bee00742971233ebf1d5a2a9656e18f12.zip
force woodpecker on scorpio
-rw-r--r--cluster/prod/app/woodpecker-ci/deploy/server.hcl10
1 files changed, 3 insertions, 7 deletions
diff --git a/cluster/prod/app/woodpecker-ci/deploy/server.hcl b/cluster/prod/app/woodpecker-ci/deploy/server.hcl
index 38c0de9..a11329b 100644
--- a/cluster/prod/app/woodpecker-ci/deploy/server.hcl
+++ b/cluster/prod/app/woodpecker-ci/deploy/server.hcl
@@ -1,12 +1,8 @@
job "woodpecker-ci" {
- datacenters = ["neptune", "scorpio"]
- type = "service"
-
# prefer scorpio as neptune has bad ipv6 routes to git.deuxfleurs.fr
- affinity {
- attribute = "${node.datacenter}"
- value = "scorpio"
- }
+ # and bad networking makes woodpecker fail to run builds
+ datacenters = [/*"neptune",*/ "scorpio"]
+ type = "service"
group "server" {
count = 1