diff --git a/cluster/prod/app/core/deploy/d53.hcl b/cluster/prod/app/core/deploy/d53.hcl index 97d3c08..115cdf3 100644 --- a/cluster/prod/app/core/deploy/d53.hcl +++ b/cluster/prod/app/core/deploy/d53.hcl @@ -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", - ] - } - } - } }