Skip to content

Commit

Permalink
chore(ci): add keeper service
Browse files Browse the repository at this point in the history
  • Loading branch information
duyet committed Nov 29, 2024
1 parent b129f87 commit 2a472c5
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
containers: [1]
browser: [chrome, firefox, edge]
clickhouse:
- "24.5"
- "24.6"
- "24.7"
- "24.8"
- "24.9"
- "24.10"
- '24.5'
- '24.6'
- '24.7'
- '24.8'
- '24.9'
- '24.10'

services:
clickhouse:
Expand Down Expand Up @@ -235,12 +235,12 @@ jobs:
matrix:
node: [21]
clickhouse:
- "24.5"
- "24.6"
- "24.7"
- "24.8"
- "24.9"
- "24.10"
- '24.5'
- '24.6'
- '24.7'
- '24.8'
- '24.9'
- '24.10'

services:
clickhouse:
Expand All @@ -250,10 +250,20 @@ jobs:
- 9000:9000
options: >-
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:8123/?query=SELECT%201 || exit 1"
--health-interval 30s
--health-interval 5s
--health-timeout 10s
--health-retries 5
--health-start-period 30s
--health-retries 20
--health-start-period 5s
keeper:
image: ghcr.io/duyet/docker-images:clickhouse_${{ matrix.clickhouse}}
options: >-
--entrypoint /keeper/entrypoint.sh
--health-cmd /keeper/healthcheck.sh
--health-interval 5s
--health-timeout 10s
--health-retries 20
--health-start-period 5s
steps:
- run: |
Expand Down Expand Up @@ -297,4 +307,4 @@ jobs:
run: yarn install

- name: yarn test-queries-config
run: yarn test-queries-config
run: yarn test-queries-config

0 comments on commit 2a472c5

Please sign in to comment.