Skip to content

Commit 1eb1811

Browse files
committed
Debug versions health metrics endpoints after CI tests
1 parent b5d64dc commit 1eb1811

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,16 @@ jobs:
331331
export BINDER_URL=http://localhost:30901
332332
pytest --helm -m "remote" -v --maxfail=10 --cov binderhub --durations=10 --color=yes
333333
334+
- name: Get BinderHub health and metrics outputs
335+
if: always()
336+
run: |
337+
if [ "${{ matrix.test }}" = "helm" ]; then
338+
for endpoint in versions health metrics; do
339+
echo -e "\n${endpoint}"
340+
curl http://localhost:30901/$endpoint
341+
done
342+
fi
343+
334344
# GitHub Action reference: https://github.com/jupyterhub/action-k8s-namespace-report
335345
- name: Kubernetes namespace report
336346
uses: jupyterhub/action-k8s-namespace-report@v1

0 commit comments

Comments
 (0)