wormhole/aptos/scripts/wait_for_devnet

5 lines
235 B
Plaintext
Raw Normal View History

2022-11-08 14:36:17 -08:00
#!/bin/bash
set -e
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' 0.0.0.0:8080/v1/-/healthy)" != "200" ]]; do sleep 5; done
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' 0.0.0.0:8081/health)" != "200" ]]; do sleep 5; done