From 589a0decfdc021894e96e956df8a3d7ee7c84ecc Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Tue, 3 Jan 2023 14:07:54 +0100 Subject: [PATCH] Cut anchors currently unsupported by GHA --- .github/workflows/ansible-test-plugins.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ansible-test-plugins.yml b/.github/workflows/ansible-test-plugins.yml index eb0db1b..11efeae 100644 --- a/.github/workflows/ansible-test-plugins.yml +++ b/.github/workflows/ansible-test-plugins.yml @@ -94,7 +94,7 @@ jobs: - 3307:3306 # We write our own health-cmd because the mariadb container does not # provide a healthcheck - options: &healthcheck > + options: > --health-cmd mysqladmin ping -P 3306 -pmsandbox | grep alive || exit 1 @@ -104,14 +104,20 @@ jobs: MARIADB_ROOT_PASSWORD: msandbox ports: - 3308:3306 - options: *healthcheck + options: > + --health-cmd mysqladmin ping -P 3306 -pmsandbox + | grep alive + || exit 1 db_replica2: image: mariadb:10.5 env: MARIADB_ROOT_PASSWORD: msandbox ports: - 3309:3306 - options: *healthcheck + options: > + --health-cmd mysqladmin ping -P 3306 -pmsandbox + | grep alive + || exit 1 steps: - name: >-