Skip to content

Commit d066c92

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 8a82ff6 commit d066c92

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
@@ -123,7 +123,7 @@ jobs:
123123
POSTGRES_PASSWORD: password
124124
POSTGRES_DB: alchemy_cms_dummy_test
125125
ports: ["5432:5432"]
126-
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
126+
options: --health-cmd pg_isready --health-interval 1s --health-timeout 1s --health-retries 5
127127
mariadb:
128128
image: mariadb:latest
129129
ports: ["3307:3306"]
@@ -132,7 +132,7 @@ jobs:
132132
MARIADB_PASSWORD: password
133133
MARIADB_DATABASE: alchemy_cms_dummy_test
134134
MARIADB_ROOT_PASSWORD: password
135-
options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=5
135+
options: --health-cmd="mariadb-admin ping" --health-interval=1s --health-timeout=1s --health-retries=5
136136
steps:
137137
- uses: actions/checkout@v4
138138
- name: Set up Ruby

0 commit comments

Comments
 (0)