From 2f7b846fb0d40d53ba834ef8af8f17ae8783f7ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C3=ABl=20Gu=C3=A9neau?= Date: Sat, 15 Feb 2025 17:33:25 +0100 Subject: [PATCH] staging: switch back diplonat & d53 to the docker runner --- cluster/staging/app/core/deploy/d53.hcl | 22 +++++++++++--------- cluster/staging/app/core/deploy/diplonat.hcl | 21 +++++++++---------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/cluster/staging/app/core/deploy/d53.hcl b/cluster/staging/app/core/deploy/d53.hcl index 42cb819..fd4a74c 100644 --- a/cluster/staging/app/core/deploy/d53.hcl +++ b/cluster/staging/app/core/deploy/d53.hcl @@ -7,13 +7,15 @@ job "core-d53" { count = 1 task "d53" { - driver = "nix2" + driver = "docker" config { - packages = [ - "git+https://git.deuxfleurs.fr/lx/D53.git?ref=main&rev=477ac217a09e612f6e72da3d117eac278cca16b4" + image = "lxpz/amd64_d53:4" + network_mode = "host" + readonly_rootfs = true + volumes = [ + "secrets:/etc/d53", ] - command = "d53" } resources { @@ -30,25 +32,25 @@ job "core-d53" { template { data = "{{ key \"secrets/consul/consul-ca.crt\" }}" - destination = "etc/tricot/consul-ca.crt" + destination = "secrets/consul-ca.crt" } template { data = "{{ key \"secrets/consul/consul-client.crt\" }}" - destination = "etc/tricot/consul-client.crt" + destination = "secrets/consul-client.crt" } template { data = "{{ key \"secrets/consul/consul-client.key\" }}" - destination = "etc/tricot/consul-client.key" + destination = "secrets/consul-client.key" } template { data = <