woodpecker-ci: higher affinity to scorpio

This commit is contained in:
Alex 2024-02-28 11:42:39 +01:00
parent 74668a31b2
commit 5f0cec7d3e
1 changed files with 6 additions and 0 deletions

View File

@ -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