From 258d27c566c78dfc714079bf921270a71fdc9535 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 9 May 2023 15:12:03 +0200 Subject: [PATCH] deploy tricot at bespin, register gitea (not accessed yet) --- cluster/prod/app/core/deploy/tricot.hcl | 2 +- cluster/prod/register_external_services.sh | 41 ++++++++++++++++++++++ cluster/prod/register_personal_services.sh | 17 --------- 3 files changed, 42 insertions(+), 18 deletions(-) create mode 100755 cluster/prod/register_external_services.sh delete mode 100644 cluster/prod/register_personal_services.sh diff --git a/cluster/prod/app/core/deploy/tricot.hcl b/cluster/prod/app/core/deploy/tricot.hcl index 7c955d2..7c3bada 100644 --- a/cluster/prod/app/core/deploy/tricot.hcl +++ b/cluster/prod/app/core/deploy/tricot.hcl @@ -1,5 +1,5 @@ job "core:tricot" { - datacenters = ["orion", "neptune", "scorpio"] + datacenters = ["orion", "neptune", "scorpio", "bespin"] type = "system" priority = 90 diff --git a/cluster/prod/register_external_services.sh b/cluster/prod/register_external_services.sh new file mode 100755 index 0000000..9c00216 --- /dev/null +++ b/cluster/prod/register_external_services.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +# Bruxelles (bespin): git forge at git.deuxfleurs.fr + +curl -vv -X PUT http://localhost:8500/v1/catalog/register -H "Content-Type: application/json" --data @- <