From 8e2d56729978d97bb9d164d62ef0836ba80aeea3 Mon Sep 17 00:00:00 2001 From: josiah Date: Fri, 10 Feb 2023 21:19:09 -0600 Subject: [PATCH] Test using drone ssh instead of drone docker. --- ansible/roles/halo/templates/halo-compose.yml | 28 +++++++++++++------ 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/ansible/roles/halo/templates/halo-compose.yml b/ansible/roles/halo/templates/halo-compose.yml index 7ad09b7..8dfc435 100644 --- a/ansible/roles/halo/templates/halo-compose.yml +++ b/ansible/roles/halo/templates/halo-compose.yml @@ -103,15 +103,25 @@ services: - "traefik.http.routers.drone.service=drone-web-svc" - "traefik.http.services.drone-web-svc.loadbalancer.server.port=80" - drone-runner-docker: - image: 'drone/drone-runner-docker:1' - ports: - - '3000:3000' - volumes: - - '/var/run/docker.sock:/var/run/docker.sock' + # drone-runner-docker: + # image: 'drone/drone-runner-docker:1' + # ports: + # - '3000:3000' + # volumes: + # - '/var/run/docker.sock:/var/run/docker.sock' + # environment: + # - "DRONE_RPC_PROTO=https" + # - "DRONE_RPC_HOST=drone.awful.club" + # - "DRONE_RPC_SECRET={{ vault_drone_rpc_secret }}" + # - "DRONE_RUNNER_CAPACITY=2" + # - "DRONE_RUNNER_NAME=my-first-runner" + + drone-runner-ssh: + image: drone/drone-runner-ssh environment: - "DRONE_RPC_PROTO=https" - "DRONE_RPC_HOST=drone.awful.club" - - "DRONE_RPC_SECRET={{ vault_drone_rpc_secret }}" - - "DRONE_RUNNER_CAPACITY=2" - - "DRONE_RUNNER_NAME=my-first-runner" + - "DRONE_RPC_SECRET={{ vault_drone_rpc_secret }}" + ports: + - '3000:3000' +