Skip to content

Commit d73e7fb

Browse files
committed
CI: Use shorter readiness times
This should lead to faster DB service startups. Ref: github/docs#43243
1 parent 64ec670 commit d73e7fb

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
@@ -152,7 +152,7 @@ jobs:
152152
POSTGRES_PASSWORD: password
153153
POSTGRES_DB: alchemy_cms_dummy_test
154154
ports: ["5432:5432"]
155-
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
155+
options: --health-cmd pg_isready --health-interval 1s --health-timeout 1s --health-retries 5
156156
mariadb:
157157
image: mariadb:latest
158158
ports: ["3307:3306"]
@@ -161,7 +161,7 @@ jobs:
161161
MARIADB_PASSWORD: password
162162
MARIADB_DATABASE: alchemy_cms_dummy_test
163163
MARIADB_ROOT_PASSWORD: password
164-
options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=5
164+
options: --health-cmd="mariadb-admin ping" --health-interval=1s --health-timeout=1s --health-retries=5
165165
steps:
166166
- uses: actions/checkout@v6
167167
- name: Set up Ruby

0 commit comments

Comments
 (0)