We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 426105e commit fa5bbc4Copy full SHA for fa5bbc4
.github/workflows/integration-tests.yml
@@ -92,6 +92,23 @@ jobs:
92
# Check mount configuration
93
docker inspect $CODEGATE_CONTAINER_NAME -f '{{ json .Mounts }}' | jq
94
95
+ - name: Test the healthcheck endpoint
96
+ timeout-minutes: 4
97
+ run: |
98
+ # Check the healthcheck endpoint is available
99
+ while true; do
100
+ echo "Checking for healthcheck endpoint in CodeGate..."
101
+
102
+ if curl --silent --fail --get "http://localhost:8989/health" >/dev/null; then
103
+ echo "Healthcheck endpoint is available"
104
+ break
105
+ else
106
+ echo "Healthcheck endpoint not available. Retrying in 5 seconds..."
107
+ sleep 5
108
+ fi
109
+ done
110
+ curl "http://localhost:8989/health"
111
112
- name: Ensure certificates are available in the container
113
timeout-minutes: 4
114
run: |
0 commit comments