Arrange zero down time for runner deploys
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-06-23 16:13:13 +02:00
parent 8ada4e8bba
commit df7660f570
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ services:
- DRONE_RUNNER_VOLUMES=/var/run/docker.sock:/var/run/docker.sock
networks:
- proxy
healthcheck:
test: ["CMD", "wget", "-q", "-t 1", "http://localhost:3000/healthz"]
interval: 10s
timeout: 10s
retries: 10
start_period: 10s
deploy:
update_config:
failure_action: rollback