This commit is contained in:
parent
a1682660bd
commit
d151907f8f
@ -72,8 +72,8 @@ steps:
|
|||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- while ! ls /tmp/server_hostname; do sleep 1; done
|
- while ! ls /tmp/server_hostname; do sleep 1; done
|
||||||
- server_hostname=$(cat /tmp/server_hostname)
|
# - server_hostname=$(cat /tmp/server_hostname)
|
||||||
- curl -fsS http://$server_hostname:8080/health | grep OK
|
- 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; }"
|
# - "[ $(curl -fsS http://$server_hostname:8080/health | grep OK | wc -l) = 0 ] && { echo 'Not running.'; return 1; } || { echo 'Vegvisir is running.'; return 0; }"
|
||||||
volumes:
|
volumes:
|
||||||
- name: tmp_cache
|
- name: tmp_cache
|
||||||
|
Loading…
Reference in New Issue
Block a user