We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba3d14 commit 7b76bdbCopy full SHA for 7b76bdb
.github/workflows/scoutflo_voyager.yml
@@ -80,11 +80,21 @@ jobs:
80
docker system prune -f
81
82
# Wait for services to be ready
83
- sleep 30
84
-
85
- # Health check
86
- curl -f http://localhost:3000/api/public/health || exit 1
87
- curl -f http://localhost:3030/api/health || exit 1
+ sleep 60
+
+ # Health check with retry
+ for i in {1..5}; do
+ echo "Health check attempt $i/5..."
88
+ if curl -f http://localhost:3000/api/public/health && curl -f http://localhost:3030/api/health; then
89
+ echo "Health checks passed!"
90
+ break
91
+ fi
92
+ if [ $i -eq 5 ]; then
93
+ echo "Health checks failed after 5 attempts"
94
+ exit 1
95
96
+ sleep 30
97
+ done
98
99
echo "Langfuse deployment completed successfully!"
100
EOF
0 commit comments