Skip to content

Commit 89be828

Browse files
committed
CI: Use shorter readiness times
This should lead to faster DB service startups. Ref: github/docs#43243 (cherry picked from commit d73e7fb)
1 parent 0793be7 commit 89be828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
POSTGRES_PASSWORD: password
147147
POSTGRES_DB: alchemy_cms_dummy_test
148148
ports: ["5432:5432"]
149-
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
149+
options: --health-cmd pg_isready --health-interval 1s --health-timeout 1s --health-retries 5
150150
mariadb:
151151
image: mariadb:latest
152152
ports: ["3307:3306"]
@@ -155,7 +155,7 @@ jobs:
155155
MARIADB_PASSWORD: password
156156
MARIADB_DATABASE: alchemy_cms_dummy_test
157157
MARIADB_ROOT_PASSWORD: password
158-
options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=5
158+
options: --health-cmd="mariadb-admin ping" --health-interval=1s --health-timeout=1s --health-retries=5
159159
steps:
160160
- uses: actions/checkout@v6
161161
- name: Set up Ruby

0 commit comments

Comments
 (0)