From 455b568940d1d4e4cca12e110f0dbc1425900856 Mon Sep 17 00:00:00 2001 From: Maximilien Richer Date: Tue, 8 Apr 2025 21:40:11 +0200 Subject: [PATCH] Remove dummy gitea d53 job, as the IP are now fully static --- cluster/prod/app/core/deploy/d53.hcl | 38 ---------------------------- 1 file changed, 38 deletions(-) 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", - ] - } - } - } }