Disable healthcheck

I want to first prove that this setup is possible before adding safety
This commit is contained in:
Laurent Indermuehle 2023-01-03 14:31:16 +01:00
parent 589a0decfd
commit 60c87abca0
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -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: >-