diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-30 17:04:03 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-30 17:04:03 +0200 |
commit | 0c015b4e0c1b38b100be7f34c8da230f258ef7e9 (patch) | |
tree | 9c013afb0b15e670384e6ab88abd46ac76e88fb1 /app/drone-ci/deploy | |
parent | 4ec5cc43d4111150fc0b44b6a0afec2e07f8cc8d (diff) | |
download | nixcfg-0c015b4e0c1b38b100be7f34c8da230f258ef7e9.tar.gz nixcfg-0c015b4e0c1b38b100be7f34c8da230f258ef7e9.zip |
Drone VM works
Diffstat (limited to 'app/drone-ci/deploy')
-rw-r--r-- | app/drone-ci/deploy/runner-vm.hcl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/app/drone-ci/deploy/runner-vm.hcl b/app/drone-ci/deploy/runner-vm.hcl index 5271b05..7c3a7e2 100644 --- a/app/drone-ci/deploy/runner-vm.hcl +++ b/app/drone-ci/deploy/runner-vm.hcl @@ -9,12 +9,6 @@ job "drone-runner" { } } - constraint { - attribute = "${attr.unique.hostname}" - operator = "=" - value = "caribou" - } - task "drone-runner-vm" { driver = "qemu" @@ -25,6 +19,7 @@ job "drone-runner" { "-drive", "index=1,file=fat:rw:/var/lib/nomad/alloc/${NOMAD_ALLOC_ID}/${NOMAD_TASK_NAME}/secrets,format=raw,media=disk", "-device", "e1000,netdev=user.0", "-netdev", "user,id=user.0,hostfwd=tcp::${NOMAD_PORT_ssh}-:22", + "-smp", "2", ] port_map { ssh = 22 |