From 60c87abca06a5610d0a6d6e163abc691641f1dc8 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Tue, 3 Jan 2023 14:31:16 +0100 Subject: [PATCH] Disable healthcheck I want to first prove that this setup is possible before adding safety --- .github/workflows/ansible-test-plugins.yml | 36 ++++++++++++++-------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ansible-test-plugins.yml b/.github/workflows/ansible-test-plugins.yml index 11efeae..e5ffbd9 100644 --- a/.github/workflows/ansible-test-plugins.yml +++ b/.github/workflows/ansible-test-plugins.yml @@ -94,30 +94,42 @@ jobs: - 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 + # 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: mariadb:10.5 env: MARIADB_ROOT_PASSWORD: msandbox ports: - 3308:3306 - options: > - --health-cmd mysqladmin ping -P 3306 -pmsandbox - | grep alive - || exit 1 + # 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: mariadb:10.5 env: MARIADB_ROOT_PASSWORD: msandbox ports: - 3309:3306 - options: > - --health-cmd mysqladmin ping -P 3306 -pmsandbox - | grep alive - || exit 1 + # 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: >-