Skip to content

Commit

Permalink
Merge pull request #873 from piodul/ci-use-container-hostname
Browse files Browse the repository at this point in the history
CI: use container hostname in healthcheck
  • Loading branch information
Lorak-mmk authored Dec 8, 2023
2 parents b158aca + 3be1149 commit d7fa0ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
image: scylladb/scylla
ports:
- 9042:9042
options: --health-cmd "cqlsh --debug" --health-interval 5s --health-retries 10
options: --health-cmd "cqlsh --debug scylladb" --health-interval 5s --health-retries 10
steps:
- uses: actions/checkout@v3
- name: Install mdbook
Expand Down
6 changes: 3 additions & 3 deletions test/cluster/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
--smp 2
--memory 1G
healthcheck:
test: [ "CMD", "cqlsh", "-e", "select * from system.local" ]
test: [ "CMD", "cqlsh", "scylla1", "-e", "select * from system.local" ]
interval: 5s
timeout: 5s
retries: 60
Expand All @@ -41,7 +41,7 @@ services:
--smp 2
--memory 1G
healthcheck:
test: [ "CMD", "cqlsh", "-e", "select * from system.local" ]
test: [ "CMD", "cqlsh", "scylla2", "-e", "select * from system.local" ]
interval: 5s
timeout: 5s
retries: 60
Expand All @@ -62,7 +62,7 @@ services:
--smp 2
--memory 1G
healthcheck:
test: [ "CMD", "cqlsh", "-e", "select * from system.local" ]
test: [ "CMD", "cqlsh", "scylla3", "-e", "select * from system.local" ]
interval: 5s
timeout: 5s
retries: 60
Expand Down

0 comments on commit d7fa0ce

Please sign in to comment.