From 94e0b85db6c0eb51b1da40eb72e0539814b9e456 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 c0ffd51080..b422222be6 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -146,7 +146,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"] @@ -155,7 +155,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@v6 - name: Set up Ruby