woodpecker-ci: higher affinity to scorpio
This commit is contained in:
parent
74668a31b2
commit
5f0cec7d3e
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue