force woodpecker on scorpio

This commit is contained in:
Alex 2024-03-04 15:38:21 +01:00
parent 62bd80a346
commit eb40718bee

View file

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