diff --git a/cli/commands/seed-relay-sale-data.subcommand.ts b/cli/commands/seed-relay-sale-data.subcommand.ts index debd69f..b4fb26d 100644 --- a/cli/commands/seed-relay-sale-data.subcommand.ts +++ b/cli/commands/seed-relay-sale-data.subcommand.ts @@ -103,7 +103,9 @@ export class RelaySaleDataSubCommand extends CommandRunner { private async down(existingLock: SeedLockDocument | null) { if (!existingLock) { - this.logger.log(`No seed lock found for ${this.seedName}, nothing to remove`) + this.logger.log( + `No seed lock found for ${this.seedName}, nothing to remove` + ) return } diff --git a/operations/seed-down-relay-sale-data-stage.hcl b/operations/seed-down-relay-sale-data-stage.hcl new file mode 100644 index 0000000..565edce --- /dev/null +++ b/operations/seed-down-relay-sale-data-stage.hcl @@ -0,0 +1,57 @@ +job "seed-relay-sale-data" { + datacenters = ["ator-fin"] + type = "batch" + + group "seed-relay-sale-data-group" { + count = 1 + + network { + mode = "bridge" + port "validator" { + to = 3000 + host_network = "wireguard" + } + } + + task "seed-relay-sale-data-task" { + driver = "docker" + + resources { + cpu = 4096 + memory = 8192 + } + + env { + CPU_COUNT="1" + } + + template { + data = < pathtodata" // TODO - ] - } - } - } -} diff --git a/operations/seed-up-relay-sale-data-stage.hcl b/operations/seed-up-relay-sale-data-stage.hcl new file mode 100644 index 0000000..4ffbdae --- /dev/null +++ b/operations/seed-up-relay-sale-data-stage.hcl @@ -0,0 +1,56 @@ +job "seed-relay-sale-data" { + datacenters = ["ator-fin"] + type = "batch" + + group "seed-relay-sale-data-group" { + count = 1 + + network { + mode = "bridge" + port "validator" { + to = 3000 + host_network = "wireguard" + } + } + + task "seed-relay-sale-data-task" { + driver = "docker" + + resources { + cpu = 4096 + memory = 8192 + } + + env { + CPU_COUNT="1" + } + + template { + data = <