mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-27 04:41:28 -07:00
Fix healthcheck in GHA
This commit is contained in:
parent
4e0c048965
commit
c3e079cb6f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ansible-test-plugins.yml
vendored
2
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -143,7 +143,7 @@ jobs:
|
|||
|
||||
- name: Wait for the primary to be healthy
|
||||
run: |
|
||||
while ! /usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" ${{ job.services.db_primary.id }} && [[ "$SECONDS" -lt 120 ]]; do sleep 1; done
|
||||
while ! /usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" ${{ job.services.db_primary.id }} | grep healthy && [[ "$SECONDS" -lt 120 ]]; do sleep 1; done
|
||||
|
||||
- name: >-
|
||||
Perform integration testing against
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue