tilt: aptos startup dependency fix
This commit is contained in:
parent
cea87d344c
commit
a3c9de7d2d
|
@ -0,0 +1,4 @@
|
||||||
|
#!/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
|
|
@ -58,7 +58,10 @@ spec:
|
||||||
- name: aptos-contracts
|
- name: aptos-contracts
|
||||||
image: aptos-node
|
image: aptos-node
|
||||||
command: ["/bin/bash", "-c"]
|
command: ["/bin/bash", "-c"]
|
||||||
args: ["cd /tmp/scripts && ./deploy devnet && ./register_devnet && touch success && sleep infinity"]
|
args:
|
||||||
|
[
|
||||||
|
"cd /tmp/scripts && ./wait_for_devnet && ./deploy devnet && ./register_devnet && touch success && sleep infinity",
|
||||||
|
]
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
periodSeconds: 1
|
periodSeconds: 1
|
||||||
failureThreshold: 300
|
failureThreshold: 300
|
||||||
|
|
Loading…
Reference in New Issue