From 76186c3fb328b24d89aa59586308fd49a7419b48 Mon Sep 17 00:00:00 2001 From: KokaKiwi Date: Thu, 27 Jun 2024 16:15:14 +0200 Subject: cluster(staging): Rename jupiter site to dathomir --- cluster/staging/app/ci/deploy/albatros.hcl | 2 +- cluster/staging/app/ci/deploy/builder.hcl | 2 +- cluster/staging/app/core/deploy/d53.hcl | 2 +- cluster/staging/app/core/deploy/diplonat.hcl | 2 +- cluster/staging/app/core/deploy/tricot.hcl | 2 +- cluster/staging/app/garage/deploy/garage.hcl | 2 +- cluster/staging/app/telemetry/deploy/telemetry-service.hcl | 2 +- cluster/staging/app/telemetry/deploy/telemetry-system.hcl | 2 +- cluster/staging/cluster.nix | 2 +- cluster/staging/node/origan.nix | 5 +---- cluster/staging/node/origan.site.nix | 2 +- cluster/staging/site/dathomir.nix | 6 ++++++ cluster/staging/site/jupiter.nix | 7 ------- 13 files changed, 17 insertions(+), 21 deletions(-) create mode 100644 cluster/staging/site/dathomir.nix delete mode 100644 cluster/staging/site/jupiter.nix diff --git a/cluster/staging/app/ci/deploy/albatros.hcl b/cluster/staging/app/ci/deploy/albatros.hcl index cfe5369..6c2f209 100644 --- a/cluster/staging/app/ci/deploy/albatros.hcl +++ b/cluster/staging/app/ci/deploy/albatros.hcl @@ -1,5 +1,5 @@ job "albatros" { - datacenters = ["neptune", "jupiter", "corrin", "bespin"] + datacenters = ["neptune", "dathomir", "corrin", "bespin"] type = "service" priority = 90 diff --git a/cluster/staging/app/ci/deploy/builder.hcl b/cluster/staging/app/ci/deploy/builder.hcl index ad7a716..cc0a24c 100644 --- a/cluster/staging/app/ci/deploy/builder.hcl +++ b/cluster/staging/app/ci/deploy/builder.hcl @@ -2,7 +2,7 @@ job "builder" { namespace = "ci" type = "batch" - datacenters = ["neptune", "jupiter", "corrin", "bespin"] + datacenters = ["neptune", "dathomir", "corrin", "bespin"] priority = 100 parameterized { diff --git a/cluster/staging/app/core/deploy/d53.hcl b/cluster/staging/app/core/deploy/d53.hcl index d8dbed7..2fb86c0 100644 --- a/cluster/staging/app/core/deploy/d53.hcl +++ b/cluster/staging/app/core/deploy/d53.hcl @@ -1,5 +1,5 @@ job "core-d53" { - datacenters = ["neptune", "jupiter", "corrin", "bespin"] + datacenters = ["neptune", "dathomir", "corrin", "bespin"] type = "service" priority = 90 diff --git a/cluster/staging/app/core/deploy/diplonat.hcl b/cluster/staging/app/core/deploy/diplonat.hcl index 3e3310f..160004f 100644 --- a/cluster/staging/app/core/deploy/diplonat.hcl +++ b/cluster/staging/app/core/deploy/diplonat.hcl @@ -1,5 +1,5 @@ job "core-diplonat" { - datacenters = ["neptune", "jupiter", "corrin", "bespin"] + datacenters = ["neptune", "dathomir", "corrin", "bespin"] type = "system" priority = 90 diff --git a/cluster/staging/app/core/deploy/tricot.hcl b/cluster/staging/app/core/deploy/tricot.hcl index 7227c6f..54be69f 100644 --- a/cluster/staging/app/core/deploy/tricot.hcl +++ b/cluster/staging/app/core/deploy/tricot.hcl @@ -1,5 +1,5 @@ job "core-tricot" { - datacenters = ["neptune", "jupiter", "corrin", "bespin"] + datacenters = ["neptune", "dathomir", "corrin", "bespin"] type = "system" priority = 90 diff --git a/cluster/staging/app/garage/deploy/garage.hcl b/cluster/staging/app/garage/deploy/garage.hcl index 0ffb277..f0b164e 100644 --- a/cluster/staging/app/garage/deploy/garage.hcl +++ b/cluster/staging/app/garage/deploy/garage.hcl @@ -1,5 +1,5 @@ job "garage-staging" { - datacenters = [ "neptune", "jupiter", "corrin", "bespin" ] + datacenters = [ "neptune", "dathomir", "corrin", "bespin" ] type = "system" priority = 90 diff --git a/cluster/staging/app/telemetry/deploy/telemetry-service.hcl b/cluster/staging/app/telemetry/deploy/telemetry-service.hcl index ec68aaf..99af2a4 100644 --- a/cluster/staging/app/telemetry/deploy/telemetry-service.hcl +++ b/cluster/staging/app/telemetry/deploy/telemetry-service.hcl @@ -1,5 +1,5 @@ job "telemetry-service" { - datacenters = ["neptune", "jupiter", "corrin", "bespin"] + datacenters = ["neptune", "dathomir", "corrin", "bespin"] type = "service" group "prometheus" { diff --git a/cluster/staging/app/telemetry/deploy/telemetry-system.hcl b/cluster/staging/app/telemetry/deploy/telemetry-system.hcl index cd9b8a8..a97c7b1 100644 --- a/cluster/staging/app/telemetry/deploy/telemetry-system.hcl +++ b/cluster/staging/app/telemetry/deploy/telemetry-system.hcl @@ -1,5 +1,5 @@ job "telemetry-system" { - datacenters = ["neptune", "jupiter", "corrin", "bespin"] + datacenters = ["neptune", "dathomir", "corrin", "bespin"] type = "system" priority = "100" diff --git a/cluster/staging/cluster.nix b/cluster/staging/cluster.nix index 184092f..b170162 100644 --- a/cluster/staging/cluster.nix +++ b/cluster/staging/cluster.nix @@ -14,7 +14,7 @@ endpoint = "77.207.15.215:33723"; }; "origan" = { - siteName = "jupiter"; + siteName = "dathomir"; publicKey = "smBQYUS60JDkNoqkTT7TgbpqFiM43005fcrT6472llI="; address = "10.14.2.33"; endpoint = "82.64.238.84:33733"; diff --git a/cluster/staging/node/origan.nix b/cluster/staging/node/origan.nix index 49ecbbf..2cc4791 100644 --- a/cluster/staging/node/origan.nix +++ b/cluster/staging/node/origan.nix @@ -1,7 +1,4 @@ -# Configuration file local to this node - -{ config, pkgs, ... }: - +{ ... }: { # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; diff --git a/cluster/staging/node/origan.site.nix b/cluster/staging/node/origan.site.nix index 7cdd625..5e41391 120000 --- a/cluster/staging/node/origan.site.nix +++ b/cluster/staging/node/origan.site.nix @@ -1 +1 @@ -../site/jupiter.nix \ No newline at end of file +../site/dathomir.nix \ No newline at end of file diff --git a/cluster/staging/site/dathomir.nix b/cluster/staging/site/dathomir.nix new file mode 100644 index 0000000..4d45b53 --- /dev/null +++ b/cluster/staging/site/dathomir.nix @@ -0,0 +1,6 @@ +{ ... }: +{ + deuxfleurs.siteName = "dathomir"; + deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1"; + deuxfleurs.cnameTarget = "dathomir.site.staging.deuxfleurs.org."; +} diff --git a/cluster/staging/site/jupiter.nix b/cluster/staging/site/jupiter.nix deleted file mode 100644 index 28ba297..0000000 --- a/cluster/staging/site/jupiter.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ config, pkgs, ... }: - -{ - deuxfleurs.siteName = "jupiter"; - deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1"; - deuxfleurs.cnameTarget = "jupiter.site.staging.deuxfleurs.org."; -} -- cgit v1.2.3