mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 01:22:15 +03:00
Bump clickhouse images to 22.8.13.20-alpine (prod/CI) (#2660)
* Bump clickhouse images to 22.8.13.20-alpine (prod/CI) * !fixup * Remove clickhouse-ci target
This commit is contained in:
parent
c3e736aae6
commit
ac1f44f89a
2
.github/workflows/elixir.yml
vendored
2
.github/workflows/elixir.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
clickhouse:
|
clickhouse:
|
||||||
image: yandex/clickhouse-server:21.11
|
image: clickhouse/clickhouse-server:22.8.13.20-alpine
|
||||||
ports:
|
ports:
|
||||||
- 8123:8123
|
- 8123:8123
|
||||||
env:
|
env:
|
||||||
|
7
Makefile
7
Makefile
@ -1,4 +1,4 @@
|
|||||||
.PHONY: help install server clickhouse clickhouse-prod clickhouse-ci clickhouse-stop postgres postgres-prod postgres-stop
|
.PHONY: help install server clickhouse clickhouse-prod clickhouse-stop postgres postgres-prod postgres-stop
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||||
@ -21,10 +21,7 @@ clickhouse: ## Start a container with a recent version of clickhouse
|
|||||||
docker run $(CH_FLAGS) --volume=$$PWD/.clickhouse_db_vol:/var/lib/clickhouse clickhouse/clickhouse-server:22.9-alpine
|
docker run $(CH_FLAGS) --volume=$$PWD/.clickhouse_db_vol:/var/lib/clickhouse clickhouse/clickhouse-server:22.9-alpine
|
||||||
|
|
||||||
clickhouse-prod: ## Start a container with the same version of clickhouse as the one in prod
|
clickhouse-prod: ## Start a container with the same version of clickhouse as the one in prod
|
||||||
docker run $(CH_FLAGS) --volume=$$PWD/.clickhouse_db_vol_prod:/var/lib/clickhouse clickhouse/clickhouse-server:21.11.3.6
|
docker run $(CH_FLAGS) --volume=$$PWD/.clickhouse_db_vol_prod:/var/lib/clickhouse clickhouse/clickhouse-server:22.8.13.20-alpine
|
||||||
|
|
||||||
clickhouse-ci: ## Start a container with the same version of clickhouse as the one in .github/workflows/elixir.yml
|
|
||||||
docker run $(CH_FLAGS) --volume=$$PWD/.clickhouse_db_vol_ci:/var/lib/clickhouse yandex/clickhouse-server:21.11
|
|
||||||
|
|
||||||
clickhouse-stop: ## Stop and remove the clickhouse container
|
clickhouse-stop: ## Stop and remove the clickhouse container
|
||||||
docker stop plausible_clickhouse && docker rm plausible_clickhouse
|
docker stop plausible_clickhouse && docker rm plausible_clickhouse
|
||||||
|
Loading…
Reference in New Issue
Block a user