woodpecker-ci: higher affinity to scorpio

This commit is contained in:
Alex 2024-02-28 11:42:39 +01:00
parent 74668a31b2
commit 5f0cec7d3e

View file

@ -2,6 +2,12 @@ job "woodpecker-ci" {
datacenters = ["neptune", "scorpio"] datacenters = ["neptune", "scorpio"]
type = "service" type = "service"
# prefer scorpio as neptune has bad ipv6 routes to git.deuxfleurs.fr
affinity {
attribute = "${node.datacenter}"
value = "scorpio"
}
group "server" { group "server" {
count = 1 count = 1