staging: update D53 tags to new (simpler) syntax

This commit is contained in:
Alex 2022-12-11 21:27:16 +01:00
parent a1fc396412
commit 36e6756b3c
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE
4 changed files with 8 additions and 8 deletions

View file

@ -11,7 +11,7 @@ job "core-service" {
config {
packages = [
"git+https://git.deuxfleurs.fr/lx/D53.git?ref=main&rev=ed2653ae7dba9c072dcca1aed03b7cda0d910c85"
"git+https://git.deuxfleurs.fr/lx/D53.git?ref=main&rev=b26d4d7bbad7c77f466a00f0bd21e7e4ea09c3b1"
]
command = "d53"
}
@ -49,7 +49,7 @@ D53_CONSUL_HOST=https://localhost:8501
D53_CONSUL_CA_CERT=/etc/tricot/consul-ca.crt
D53_CONSUL_CLIENT_CERT=/etc/tricot/consul-client.crt
D53_CONSUL_CLIENT_KEY=/etc/tricot/consul-client.key
D53_PROVIDER=gandi
D53_PROVIDERS=deuxfleurs.org:gandi
D53_GANDI_API_KEY={{ key "secrets/d53/gandi_api_key" }}
D53_ALLOWED_DOMAINS=staging.deuxfleurs.org
RUST_LOG=d53=info

View file

@ -81,7 +81,7 @@ EOH
config {
packages = [
"git+https://git.deuxfleurs.fr/Deuxfleurs/tricot.git?ref=main&rev=752593e2747f64a8f14de3484ab085ed5f65cd40"
"git+https://git.deuxfleurs.fr/Deuxfleurs/tricot.git?ref=main&rev=3c5aa3680eab1989361026b96e4968b4cd92dcb5"
]
command = "tricot"
# cap_add = [ "net_bind_service" ] # this doesn't work for whatever reason, so we need to put user = "root" instead
@ -137,8 +137,8 @@ EOH
name = "tricot-http"
port = "http_port"
tags = [
"d53-aaaa deuxfleurs.org ${meta.site}.site.staging",
"d53-aaaa deuxfleurs.org staging",
"d53-aaaa ${meta.site}.site.staging.deuxfleurs.org",
"d53-aaaa staging.deuxfleurs.org",
# "(diplonat (tcp_port 80))"
]
address_mode = "host"

View file

@ -112,7 +112,7 @@ EOH
tags = [
"guichet",
"tricot guichet.staging.deuxfleurs.org",
"d53-cname deuxfleurs.org guichet.staging",
"d53-cname guichet.staging.deuxfleurs.org",
]
port = "web_port"
check {

View file

@ -156,7 +156,7 @@ job "telemetry" {
tags = [
"grafana",
"tricot grafana.staging.deuxfleurs.org",
"d53-cname deuxfleurs.org grafana.staging",
"d53-cname grafana.staging.deuxfleurs.org",
]
port = "grafana"
check {
@ -240,7 +240,7 @@ EOH
name = "jaeger-frontend"
tags = [
"tricot jaeger.staging.deuxfleurs.org",
"d53-cname deuxfleurs.org jaeger.staging",
"d53-cname jaeger.staging.deuxfleurs.org",
]
check {
type = "tcp"