Skip to content

Commit c3ac717

Browse files
committed
Simplify healthcheck in CI
1 parent 760911c commit c3ac717

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

.github/workflows/build-publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ jobs:
102102
103103
- name: Check that container is running
104104
run: |
105-
docker exec ${{ env.TEST_CONTAINER_NAME }} bin/healthcheck.py
105+
docker exec ${{ env.TEST_CONTAINER_NAME }} curl --retry 10 --retry-delay 1 --retry-connrefused http://0.0.0.0:8000/__heartbeat__
106+
106107
107108
- name: Spin down container
108109
run: |

bin/healthcheck.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)