Skip to content

Commit

Permalink
Reduce healthcheck interval for ispyb service container
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jan 8, 2025
1 parent f5c03aa commit 37259e9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/_bundler_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
services:
ispyb:
image: ghcr.io/diamondlightsource/ispyb-database:v3.0.0
ports:
- 3306:3306
env:
MARIADB_ROOT_PASSWORD: rootpassword
options: >
options: >-
--health-cmd "/usr/local/bin/healthcheck.sh --defaults-file=/ispyb/.my.cnf --connect"
ports:
- 3306:3306
--health-interval 1s
--health-retries 60:
steps:
- name: Checkout source
uses: actions/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/_bundler_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
- 3306:3306
env:
MARIADB_ROOT_PASSWORD: rootpassword
options: >
options: >-
--health-cmd "/usr/local/bin/healthcheck.sh --defaults-file=/ispyb/.my.cnf --connect"
--health-interval 1s
--health-retries 60:
env:
DATABASE_URL: mysql://root:rootpassword@localhost/ispyb_build
steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/_bundler_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
- 3306:3306
env:
MARIADB_ROOT_PASSWORD: rootpassword
options: >
options: >-
--health-cmd "/usr/local/bin/healthcheck.sh --defaults-file=/ispyb/.my.cnf --connect"
--health-interval 1s
--health-retries 60:
env:
DATABASE_URL: mysql://root:rootpassword@localhost/ispyb_build
steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/_bundler_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
- 3306:3306
env:
MARIADB_ROOT_PASSWORD: rootpassword
options: >
options: >-
--health-cmd "/usr/local/bin/healthcheck.sh --defaults-file=/ispyb/.my.cnf --connect"
--health-interval 1s
--health-retries 60:
env:
DATABASE_URL: mysql://root:rootpassword@localhost/ispyb_build
steps:
Expand Down

0 comments on commit 37259e9

Please sign in to comment.