Skip to content

Commit

Permalink
Reduce health interval for ispyb service container in sessionspace CI
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Nov 28, 2024
1 parent ebb26f3 commit d74ab33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/_sessionspaces_code.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 Expand Up @@ -56,8 +58,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/_sessionspaces_container.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
permissions:
contents: read
packages: write
Expand Down

0 comments on commit d74ab33

Please sign in to comment.