aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-05-12 17:09:05 +0200
committerArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-05-12 17:09:05 +0200
commit3b777ddeb63da0f66896847c81094d0cf0b7f5d4 (patch)
treee1e04d8b00114a7c7b657a76ec70219aa9a2eae9 /cluster
parentca59237057e2703de2c8fd90327f49ec44c1cc6a (diff)
downloadnixcfg-3b777ddeb63da0f66896847c81094d0cf0b7f5d4.tar.gz
nixcfg-3b777ddeb63da0f66896847c81094d0cf0b7f5d4.zip
Move emails from ananas (in scorpio) to celeri (in neptune)
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/app/backup/deploy/backup-daily.hcl10
-rw-r--r--cluster/prod/app/email/deploy/email.hcl4
2 files changed, 7 insertions, 7 deletions
diff --git a/cluster/prod/app/backup/deploy/backup-daily.hcl b/cluster/prod/app/backup/deploy/backup-daily.hcl
index 058cc92..3fc1f8f 100644
--- a/cluster/prod/app/backup/deploy/backup-daily.hcl
+++ b/cluster/prod/app/backup/deploy/backup-daily.hcl
@@ -14,14 +14,14 @@ job "backup_daily" {
constraint {
attribute = "${attr.unique.hostname}"
operator = "="
- value = "ananas"
+ value = "celeri"
}
task "main" {
driver = "docker"
config {
- image = "restic/restic:0.16.0"
+ image = "restic/restic:0.16.4"
entrypoint = [ "/bin/sh", "-c" ]
args = [ "restic backup /mail && restic forget --group-by paths --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
volumes = [
@@ -116,7 +116,7 @@ EOH
driver = "docker"
config {
- image = "restic/restic:0.16.0"
+ image = "restic/restic:0.16.4"
entrypoint = [ "/bin/sh", "-c" ]
args = [ "restic backup $NOMAD_ALLOC_DIR/consul.json && restic forget --group-by paths --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
}
@@ -152,14 +152,14 @@ EOH
constraint {
attribute = "${attr.unique.hostname}"
operator = "="
- value = "concombre"
+ value = "abricot"
}
task "main" {
driver = "docker"
config {
- image = "restic/restic:0.16.0"
+ image = "restic/restic:0.16.4"
entrypoint = [ "/bin/sh", "-c" ]
args = [ "restic backup /cryptpad && restic forget --group-by paths --keep-within 1m1d --keep-within-weekly 3m --keep-within-monthly 1y && restic prune --max-unused 50% --max-repack-size 2G && restic check" ]
volumes = [
diff --git a/cluster/prod/app/email/deploy/email.hcl b/cluster/prod/app/email/deploy/email.hcl
index 6fa1e67..3c6d7b4 100644
--- a/cluster/prod/app/email/deploy/email.hcl
+++ b/cluster/prod/app/email/deploy/email.hcl
@@ -1,5 +1,5 @@
job "email" {
- datacenters = ["scorpio"]
+ datacenters = ["neptune"]
type = "service"
priority = 65
@@ -31,7 +31,7 @@ job "email" {
constraint {
attribute = "${attr.unique.hostname}"
operator = "="
- value = "ananas"
+ value = "celeri"
}
config {