aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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