From eb60cdd0b34793132ff34d73d2a969727affdbbb Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Fri, 6 Mar 2026 07:53:13 +0100 Subject: [PATCH] CI: Use shorter readiness times This should lead to faster DB service startups. Ref: https://github.com/github/docs/pull/43243 (cherry picked from commit d73e7fbd36e785dd744af3ebb6bbba2eafc58912) --- .github/workflows/build_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index cbaee9609d..dff8ef3c08 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -123,7 +123,7 @@ jobs: POSTGRES_PASSWORD: password POSTGRES_DB: alchemy_cms_dummy_test ports: ["5432:5432"] - options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + options: --health-cmd pg_isready --health-interval 1s --health-timeout 1s --health-retries 30 mariadb: image: mariadb:latest ports: ["3307:3306"] @@ -132,7 +132,7 @@ jobs: MARIADB_PASSWORD: password MARIADB_DATABASE: alchemy_cms_dummy_test MARIADB_ROOT_PASSWORD: password - options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=5 + options: --health-cmd="mariadb-admin ping" --health-interval=1s --health-timeout=1s --health-retries=30 steps: - uses: actions/checkout@v4 - name: Set up Ruby