From eb40718bee00742971233ebf1d5a2a9656e18f12 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 4 Mar 2024 15:38:21 +0100 Subject: [PATCH] force woodpecker on scorpio --- cluster/prod/app/woodpecker-ci/deploy/server.hcl | 10 +++------- 1 file 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