Skip to content

Commit

Permalink
Add custom health-cmd for the vault container (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
benashz authored May 31, 2022
1 parent 3833607 commit 646087e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
env:
VAULT_DEV_ROOT_TOKEN_ID: root
VAULT_LICENSE: ${{ secrets.VAULT_LICENSE }}
options: >-
--health-cmd "VAULT_ADDR=http://127.0.0.1:8200 vault status"
--health-interval 1s
--health-timeout 5s
--health-retries 5
mysql:
image: docker.mirror.hashicorp.services/mysql:latest
env:
Expand Down

0 comments on commit 646087e

Please sign in to comment.