Cut docker healthcheck unsupported by GHA

This commit is contained in:
Laurent Indermuehle 2023-01-04 17:10:37 +01:00
parent b821db97c5
commit c3458f4823
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -92,16 +92,7 @@ jobs:
MYSQL_ROOT_PASSWORD: msandbox
ports:
- 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
# --health-start-period 10s
# --health-interval 10s
# --health-timeout 5s
# --health-retries 6
db_replica1:
image: ${{ matrix.db_engine_version }}
env:
@ -109,14 +100,7 @@ jobs:
MYSQL_ROOT_PASSWORD: msandbox
ports:
- 3308:3306
# 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: ${{ matrix.db_engine_version }}
env:
@ -124,16 +108,12 @@ jobs:
MYSQL_ROOT_PASSWORD: msandbox
ports:
- 3309:3306
# 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: 'Wait 20s for the service containers to be healthy'
run:
sleep 20;
- name: >-
Perform integration testing against
Ansible version ${{ matrix.ansible }}