diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-28 11:42:39 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-02-28 11:42:39 +0100 |
commit | 5f0cec7d3ee4720cb092b530fc8b1a9a4393a7ed (patch) | |
tree | d8eb9cff0f7009393b2d9ee5b40ac85eea09edae /cluster/prod/app/woodpecker-ci | |
parent | 74668a31b225235be5042824f69a3796bfae9db9 (diff) | |
download | nixcfg-5f0cec7d3ee4720cb092b530fc8b1a9a4393a7ed.tar.gz nixcfg-5f0cec7d3ee4720cb092b530fc8b1a9a4393a7ed.zip |
woodpecker-ci: higher affinity to scorpio
Diffstat (limited to 'cluster/prod/app/woodpecker-ci')
-rw-r--r-- | cluster/prod/app/woodpecker-ci/deploy/server.hcl | 6 |
1 files changed, 6 insertions, 0 deletions
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 |