Skip to content

Commit

Permalink
re-introduce docker health checks with server_info RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
ckeshava committed Nov 12, 2024
1 parent 9b7d17c commit 5068266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Run docker in background
run: |
docker run -dit -p 5005:5005 -p 6006:6006 -v "${{ github.workspace }}/.ci-config/":/etc/opt/ripple/ --name rippled_standalone --entrypoint bash ${{ env.RIPPLED_DOCKER_IMAGE }}
docker run -dit -p 5005:5005 -p 6006:6006 -v "${{ github.workspace }}/.ci-config/":/etc/opt/ripple/ --name rippled_standalone --health-cmd="rippled server_info || exit 1" --health-interval=5s --health-retries=10 --health-timeout=2s --env GITHUB_ACTIONS=true --env CI=true --entrypoint bash ${{ env.RIPPLED_DOCKER_IMAGE }}
docker exec -d rippled_standalone rippled -a
- name: Install poetry
Expand Down

0 comments on commit 5068266

Please sign in to comment.