Skip to content

Commit dde75e8

Browse files
authored
Merge pull request #3725 from AlchemyCMS/ci-faster-service-startup
CI: Use shorter readiness times
2 parents 64ec670 + d73e7fb commit dde75e8

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)