mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-27 21:01:28 -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
|
- 3307:3306
|
||||||
# We write our own health-cmd because the mariadb container does not
|
# We write our own health-cmd because the mariadb container does not
|
||||||
# provide a healthcheck
|
# provide a healthcheck
|
||||||
options: >
|
# options: >-
|
||||||
--health-cmd mysqladmin ping -P 3306 -pmsandbox
|
# --health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||||
| grep alive
|
# | grep alive
|
||||||
|| exit 1
|
# || exit 1
|
||||||
|
# --health-start-period 10s
|
||||||
|
# --health-interval 10s
|
||||||
|
# --health-timeout 5s
|
||||||
|
# --health-retries 6
|
||||||
db_replica1:
|
db_replica1:
|
||||||
image: mariadb:10.5
|
image: mariadb:10.5
|
||||||
env:
|
env:
|
||||||
MARIADB_ROOT_PASSWORD: msandbox
|
MARIADB_ROOT_PASSWORD: msandbox
|
||||||
ports:
|
ports:
|
||||||
- 3308:3306
|
- 3308:3306
|
||||||
options: >
|
# options: >
|
||||||
--health-cmd mysqladmin ping -P 3306 -pmsandbox
|
# --health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||||
| grep alive
|
# | grep alive
|
||||||
|| exit 1
|
# || exit 1
|
||||||
|
# --health-start-period 10s
|
||||||
|
# --health-interval 10s
|
||||||
|
# --health-timeout 5s
|
||||||
|
# --health-retries 6
|
||||||
db_replica2:
|
db_replica2:
|
||||||
image: mariadb:10.5
|
image: mariadb:10.5
|
||||||
env:
|
env:
|
||||||
MARIADB_ROOT_PASSWORD: msandbox
|
MARIADB_ROOT_PASSWORD: msandbox
|
||||||
ports:
|
ports:
|
||||||
- 3309:3306
|
- 3309:3306
|
||||||
options: >
|
# options: >
|
||||||
--health-cmd mysqladmin ping -P 3306 -pmsandbox
|
# --health-cmd mysqladmin ping -P 3306 -pmsandbox
|
||||||
| grep alive
|
# | grep alive
|
||||||
|| exit 1
|
# || exit 1
|
||||||
|
# --health-start-period 10s
|
||||||
|
# --health-interval 10s
|
||||||
|
# --health-timeout 5s
|
||||||
|
# --health-retries 6
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: >-
|
- name: >-
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue