diff --git a/cluster/prod/app/woodpecker-ci/deploy/server.hcl b/cluster/prod/app/woodpecker-ci/deploy/server.hcl index c154351..38c0de9 100644 --- a/cluster/prod/app/woodpecker-ci/deploy/server.hcl +++ b/cluster/prod/app/woodpecker-ci/deploy/server.hcl @@ -2,6 +2,12 @@ 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" + } + group "server" { count = 1