mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-27 12:51:26 -07:00
Disable healthcheck
I want to first prove that this setup is possible before adding safety
This commit is contained in:
parent
589a0decfd
commit
60c87abca0
1 changed files with 24 additions and 12 deletions
36
.github/workflows/ansible-test-plugins.yml
vendored
36
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -94,30 +94,42 @@ jobs:
|
|||
- 3307:3306
|
||||
# We write our own health-cmd because the mariadb container does not
|
||||
# provide a healthcheck
|
||||
options: >
|
||||
--health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||
| grep alive
|
||||
|| exit 1
|
||||
# options: >-
|
||||
# --health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||
# | grep alive
|
||||
# || exit 1
|
||||
# --health-start-period 10s
|
||||
# --health-interval 10s
|
||||
# --health-timeout 5s
|
||||
# --health-retries 6
|
||||
db_replica1:
|
||||
image: mariadb:10.5
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: msandbox
|
||||
ports:
|
||||
- 3308:3306
|
||||
options: >
|
||||
--health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||
| grep alive
|
||||
|| exit 1
|
||||
# options: >
|
||||
# --health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||
# | grep alive
|
||||
# || exit 1
|
||||
# --health-start-period 10s
|
||||
# --health-interval 10s
|
||||
# --health-timeout 5s
|
||||
# --health-retries 6
|
||||
db_replica2:
|
||||
image: mariadb:10.5
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: msandbox
|
||||
ports:
|
||||
- 3309:3306
|
||||
options: >
|
||||
--health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||
| grep alive
|
||||
|| exit 1
|
||||
# options: >
|
||||
# --health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||
# | grep alive
|
||||
# || exit 1
|
||||
# --health-start-period 10s
|
||||
# --health-interval 10s
|
||||
# --health-timeout 5s
|
||||
# --health-retries 6
|
||||
|
||||
steps:
|
||||
- name: >-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue