Skip to content

Commit 4924c6b

Browse files
committed
fix: add 60s initial wait for JVM startup in health check
1 parent f4d19cc commit 4924c6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
OCI_HOST: ${{ secrets.OCI_HOST }}
7575
run: |
7676
echo "Waiting for deploy to complete..."
77+
sleep 60
7778
for i in $(seq 1 36); do
7879
STATUS=$(curl -sf "http://${OCI_HOST}:8083/actuator/health" \
7980
| python3 -c "import sys,json; print(json.load(sys.stdin).get('status',''))" 2>/dev/null)

0 commit comments

Comments
 (0)