diff --git a/operations/deploy-distribution-dev.hcl b/operations/deploy-distribution-dev.hcl new file mode 100644 index 0000000..32f892b --- /dev/null +++ b/operations/deploy-distribution-dev.hcl @@ -0,0 +1,74 @@ +job "deploy-distribution-dev" { + datacenters = ["ator-fin"] + type = "batch" + + reschedule { + attempts = 0 + } + + task "deploy-distribution-task" { + driver = "docker" + + config { + network_mode = "host" + image = "ghcr.io/ator-development/smart-contracts:0.1.2" + entrypoint = ["npm"] + command = "run" + args = ["deploy"] + volumes = [ + "local/distribution-init-state.json:/usr/src/app/smartweave/dist/contracts/distribution-init-state.json" + ] + } + + vault { + policies = ["distribution-dev"] + } + + template { + data = <