Skip to content

Commit

Permalink
WHY backwards incompatibility was back ported from 23.10 to 23.3 and …
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Mar 6, 2024
1 parent 1369de0 commit 9a76462
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Expand Up @@ -4,6 +4,7 @@ services:
clickhouse:
image: ${CLICKHOUSE_IMAGE:-clickhouse/clickhouse-server}:${CLICKHOUSE_VERSION:-23.3}
volumes:
- "${CLICKHOUSE_TESTS_DIR}/docker-compose/custom_entrypoint.sh:/custom_entrypoint.sh"
- "${CLICKHOUSE_TESTS_DIR}/docker-compose/dynamic_settings.sh:/docker-entrypoint-initdb.d/dynamic_settings.sh"
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse/ssl:/etc/clickhouse-server/ssl"
- "${CLICKHOUSE_TESTS_DIR}/configs/clickhouse/config.d/common.xml:/etc/clickhouse-server/config.d/common.xml"
Expand All @@ -20,6 +21,12 @@ services:
timeout: 2s
retries: 40
start_period: 2s
# to avoid backward incompatibility ;(
# https://t.me/clickhouse_ru/359960
# https://t.me/clickhouse_ru/359968
# https://t.me/clickhouse_ru/362378
entrypoint:
- "/custom_entrypoint.sh"
environment:
CLICKHOUSE_VERSION: ${CLICKHOUSE_VERSION:-23.3}
CLICKHOUSE_ALWAYS_RUN_INITDB_SCRIPTS: "true"
Expand Down
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# to avoid backward incompatibility ;(
# https://t.me/clickhouse_ru/359960
# https://t.me/clickhouse_ru/359968
# https://t.me/clickhouse_ru/362378

if [ $# -ne 0 ]; then
/entrypoint.sh "$@"
else
/docker-entrypoint-initdb.d/dynamic_settings.sh
/entrypoint.sh
fi

0 comments on commit 9a76462

Please sign in to comment.