From 5f0cec7d3ee4720cb092b530fc8b1a9a4393a7ed Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 28 Feb 2024 11:42:39 +0100 Subject: woodpecker-ci: higher affinity to scorpio --- cluster/prod/app/woodpecker-ci/deploy/server.hcl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cluster/prod/app') 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 -- cgit v1.2.3