Remove dummy gitea d53 job, as the IP are now fully static

This commit is contained in:
Maximilien Richer 2025-04-08 21:40:11 +02:00
parent 4d07858941
commit 455b568940
Signed by: maximilien
GPG key ID: 04FD5063D6D43365

View file

@ -61,42 +61,4 @@ EOH
} }
} }
} }
# Dummy task for Gitea (still on an external VM), runs on any bespin node
# and allows D53 to automatically update the A record for git.deuxfleurs.fr
# to the IPv4 address of the bespin site (that changes occasionnaly)
group "gitea-dummy" {
count = 1
network {
port "dummy" {
to = 999
}
}
task "main" {
driver = "docker"
constraint {
attribute = "${meta.site}"
operator = "="
value = "bespin"
}
config {
image = "alpine"
command = "sh"
args = ["-c", "while true; do echo x; sleep 60; done"]
ports = [ "dummy" ]
}
service {
name = "gitea-dummy"
port = "dummy"
tags = [
"d53-a git.deuxfleurs.fr",
]
}
}
}
} }