From d151907f8fc98791e1b46c0b2587a8763420b99e Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Sun, 21 Nov 2021 17:12:11 +0000 Subject: [PATCH] Simplified .drone.yml --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index bd2a9ff..27687d8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -72,8 +72,8 @@ steps: image: golang:1.17 commands: - while ! ls /tmp/server_hostname; do sleep 1; done - - server_hostname=$(cat /tmp/server_hostname) - - curl -fsS http://$server_hostname:8080/health | grep OK +# - server_hostname=$(cat /tmp/server_hostname) + - curl -fsS http://$(cat /tmp/server_hostname):8080/health | grep OK # - "[ $(curl -fsS http://$server_hostname:8080/health | grep OK | wc -l) = 0 ] && { echo 'Not running.'; return 1; } || { echo 'Vegvisir is running.'; return 0; }" volumes: - name: tmp_cache