From fcb42e6ef190583b731c9fc816e507af06278f37 Mon Sep 17 00:00:00 2001 From: kanshi <46557+kanshi@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:00:11 +0100 Subject: [PATCH] Job specs for stage/live --- operations/registrator-deploy-live-goerli.hcl | 55 +++++++++++++++++++ .../registrator-deploy-stage-goerli.hcl | 55 +++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 operations/registrator-deploy-live-goerli.hcl create mode 100644 operations/registrator-deploy-stage-goerli.hcl diff --git a/operations/registrator-deploy-live-goerli.hcl b/operations/registrator-deploy-live-goerli.hcl new file mode 100644 index 0000000..8444d56 --- /dev/null +++ b/operations/registrator-deploy-live-goerli.hcl @@ -0,0 +1,55 @@ +job "registrator-deploy-live-goerli" { + datacenters = ["ator-fin"] + type = "batch" + + reschedule { + attempts = 0 + } + + task "deploy-registrator-live-task" { + driver = "docker" + + config { + network_mode = "host" + image = "ghcr.io/ator-development/registrator:0.1.0" + entrypoint = ["npx"] + command = "hardhat" + args = ["run", "--network", "goerli", "scripts/deploy.ts"] + } + + vault { + policies = ["registrator-live-goerli"] + } + + template { + data = <