From ffadc7b847b027441d995e8e70d742854d6ecbea Mon Sep 17 00:00:00 2001 From: Saundr21 Date: Sun, 11 Aug 2024 03:06:23 +0100 Subject: [PATCH] Prepare increase in stage DAs --- .github/workflows/stage-build-and-deploy.yml | 4 + .github/workflows/stage-deploy.yml | 4 + operations/anon-da-node-stage.hcl | 421 ++++++++++++++++--- 3 files changed, 370 insertions(+), 59 deletions(-) diff --git a/.github/workflows/stage-build-and-deploy.yml b/.github/workflows/stage-build-and-deploy.yml index 760ec7e2b9..c3dca8a379 100644 --- a/.github/workflows/stage-build-and-deploy.yml +++ b/.github/workflows/stage-build-and-deploy.yml @@ -12,6 +12,10 @@ env: da-1-hc-url: http://88.99.219.105:9130/tor/status-vote/current/consensus da-2-hc-url: http://176.9.29.53:9130/tor/status-vote/current/consensus da-3-hc-url: http://95.216.32.105:9130/tor/status-vote/current/consensus + da-4-hc-url: http://176.9.29.53:9131/tor/status-vote/current/consensus + da-5-hc-url: http://176.9.29.53:9132/tor/status-vote/current/consensus + da-6-hc-url: http://95.216.32.105:9131/tor/status-vote/current/consensus + da-7-hc-url: http://95.216.32.105:9132/tor/status-vote/current/consensus jobs: build-and-push: diff --git a/.github/workflows/stage-deploy.yml b/.github/workflows/stage-deploy.yml index 54d7201977..82f8d84fee 100644 --- a/.github/workflows/stage-deploy.yml +++ b/.github/workflows/stage-deploy.yml @@ -10,6 +10,10 @@ env: da-1-hc-url: http://88.99.219.105:9130/tor/status-vote/current/consensus da-2-hc-url: http://176.9.29.53:9130/tor/status-vote/current/consensus da-3-hc-url: http://95.216.32.105:9130/tor/status-vote/current/consensus + da-4-hc-url: http://176.9.29.53:9131/tor/status-vote/current/consensus + da-5-hc-url: http://176.9.29.53:9132/tor/status-vote/current/consensus + da-6-hc-url: http://95.216.32.105:9131/tor/status-vote/current/consensus + da-7-hc-url: http://95.216.32.105:9132/tor/status-vote/current/consensus jobs: push: diff --git a/operations/anon-da-node-stage.hcl b/operations/anon-da-node-stage.hcl index bbe96d979a..b30be5d4c0 100644 --- a/operations/anon-da-node-stage.hcl +++ b/operations/anon-da-node-stage.hcl @@ -1,30 +1,66 @@ -#TODO: use templating to avoid copypaste - job "dir-auth-stage" { datacenters = ["ator-fin"] type = "service" namespace = "ator-network" - group "dir-auth-stage-group" { - count = 3 + meta { + anonrc_template = <