mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-27 12:51:26 -07:00
Cut docker healthcheck unsupported by GHA
This commit is contained in:
parent
b821db97c5
commit
c3458f4823
1 changed files with 6 additions and 26 deletions
32
.github/workflows/ansible-test-plugins.yml
vendored
32
.github/workflows/ansible-test-plugins.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue