Skip to content

Commit

Permalink
fix: removed healthcheck stage
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jul 11, 2024
1 parent e2b25bb commit 12e4907
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/deploy-gyfe-do.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,23 +120,3 @@ jobs:
cd "${PROJECT_DIR}/"
sudo docker compose down
sudo docker compose up -d
healthcheck:
name: Healthcheck Stage
needs: deploy
runs-on: ubuntu-latest

steps:
- name: Check for the health of Naarad
run: |
while true; do
result=$(curl -s -kX GET https://naarad.metakgp.org/v1/health | jq '.healthy')
if [ "$result" = "true" ]; then
echo "Health check passed. Service is healthy."
break
else
echo "Service not healthy yet. Retrying in 5 seconds..."
sleep 5
fi
done

0 comments on commit 12e4907

Please sign in to comment.