Preparation

This commit is contained in:
alesapin 2021-09-06 14:33:39 +03:00
parent 8d67a34f93
commit 0eac4529e0
50 changed files with 107 additions and 77 deletions

View File

@ -1,12 +1,14 @@
{ {
"docker/packager/deb": { "docker/packager/deb": {
"name": "yandex/clickhouse-deb-builder", "name": "yandex/clickhouse-deb-builder",
"symlink_name": "clickhouse/deb-builder",
"dependent": [ "dependent": [
"docker/packager/unbundled" "docker/packager/unbundled"
] ]
}, },
"docker/packager/binary": { "docker/packager/binary": {
"name": "yandex/clickhouse-binary-builder", "name": "yandex/clickhouse-binary-builder",
"symlink_name": "clickhouse/binary-builder",
"dependent": [ "dependent": [
"docker/test/split_build_smoke_test", "docker/test/split_build_smoke_test",
"docker/test/pvs", "docker/test/pvs",
@ -15,26 +17,32 @@
}, },
"docker/packager/unbundled": { "docker/packager/unbundled": {
"name": "yandex/clickhouse-unbundled-builder", "name": "yandex/clickhouse-unbundled-builder",
"symlink_name": "clickhouse/unbundled-builder",
"dependent": [] "dependent": []
}, },
"docker/test/compatibility/centos": { "docker/test/compatibility/centos": {
"name": "yandex/clickhouse-test-old-centos", "name": "yandex/clickhouse-test-old-centos",
"symlink_name": "clickhouse/test-old-centos",
"dependent": [] "dependent": []
}, },
"docker/test/compatibility/ubuntu": { "docker/test/compatibility/ubuntu": {
"name": "yandex/clickhouse-test-old-ubuntu", "name": "yandex/clickhouse-test-old-ubuntu",
"symlink_name": "clickhouse/test-old-ubuntu",
"dependent": [] "dependent": []
}, },
"docker/test/integration/base": { "docker/test/integration/base": {
"name": "yandex/clickhouse-integration-test", "name": "yandex/clickhouse-integration-test",
"symlink_name": "clickhouse/integration-test",
"dependent": [] "dependent": []
}, },
"docker/test/fuzzer": { "docker/test/fuzzer": {
"name": "yandex/clickhouse-fuzzer", "name": "yandex/clickhouse-fuzzer",
"symlink_name": "clickhouse/fuzzer",
"dependent": [] "dependent": []
}, },
"docker/test/performance-comparison": { "docker/test/performance-comparison": {
"name": "yandex/clickhouse-performance-comparison", "name": "yandex/clickhouse-performance-comparison",
"symlink_name": "clickhouse/performance-comparison",
"dependent": [] "dependent": []
}, },
"docker/test/pvs": { "docker/test/pvs": {
@ -43,96 +51,113 @@
}, },
"docker/test/stateless": { "docker/test/stateless": {
"name": "yandex/clickhouse-stateless-test", "name": "yandex/clickhouse-stateless-test",
"symlink_name": "clickhouse/stateless-test",
"dependent": [ "dependent": [
"docker/test/stateful", "docker/test/stateful",
"docker/test/coverage", "docker/test/coverage",
"docker/test/unit" "docker/test/unit"
] ]
}, },
"docker/test/stateless_pytest": {
"name": "yandex/clickhouse-stateless-pytest",
"dependent": []
},
"docker/test/stateful": { "docker/test/stateful": {
"name": "yandex/clickhouse-stateful-test", "name": "yandex/clickhouse-stateful-test",
"symlink_name": "clickhouse/stateful-test",
"dependent": [ "dependent": [
"docker/test/stress" "docker/test/stress"
] ]
}, },
"docker/test/coverage": { "docker/test/coverage": {
"name": "yandex/clickhouse-test-coverage", "name": "yandex/clickhouse-test-coverage",
"symlink_name": "clickhouse/test-coverage",
"dependent": [] "dependent": []
}, },
"docker/test/unit": { "docker/test/unit": {
"name": "yandex/clickhouse-unit-test", "name": "yandex/clickhouse-unit-test",
"symlink_name": "clickhouse/unit-test",
"dependent": [] "dependent": []
}, },
"docker/test/stress": { "docker/test/stress": {
"name": "yandex/clickhouse-stress-test", "name": "yandex/clickhouse-stress-test",
"symlink_name": "clickhouse/stress-test",
"dependent": [] "dependent": []
}, },
"docker/test/split_build_smoke_test": { "docker/test/split_build_smoke_test": {
"name": "yandex/clickhouse-split-build-smoke-test", "name": "yandex/clickhouse-split-build-smoke-test",
"symlink_name": "clickhouse/split-build-smoke-test",
"dependent": [] "dependent": []
}, },
"docker/test/codebrowser": { "docker/test/codebrowser": {
"name": "yandex/clickhouse-codebrowser", "name": "yandex/clickhouse-codebrowser",
"symlink_name": "clickhouse/codebrowser",
"dependent": [] "dependent": []
}, },
"docker/test/integration/runner": { "docker/test/integration/runner": {
"name": "yandex/clickhouse-integration-tests-runner", "name": "yandex/clickhouse-integration-tests-runner",
"symlink_name": "clickhouse/integration-tests-runner",
"dependent": [] "dependent": []
}, },
"docker/test/testflows/runner": { "docker/test/testflows/runner": {
"name": "yandex/clickhouse-testflows-runner", "name": "yandex/clickhouse-testflows-runner",
"symlink_name": "clickhouse/testflows-runner",
"dependent": [] "dependent": []
}, },
"docker/test/fasttest": { "docker/test/fasttest": {
"name": "yandex/clickhouse-fasttest", "name": "yandex/clickhouse-fasttest",
"symlink_name": "clickhouse/fasttest",
"dependent": [] "dependent": []
}, },
"docker/test/style": { "docker/test/style": {
"name": "yandex/clickhouse-style-test", "name": "yandex/clickhouse-style-test",
"symlink_name": "clickhouse/style-test",
"dependent": [] "dependent": []
}, },
"docker/test/integration/s3_proxy": { "docker/test/integration/s3_proxy": {
"name": "yandex/clickhouse-s3-proxy", "name": "yandex/clickhouse-s3-proxy",
"symlink_name": "clickhouse/s3-proxy",
"dependent": [] "dependent": []
}, },
"docker/test/integration/resolver": { "docker/test/integration/resolver": {
"name": "yandex/clickhouse-python-bottle", "name": "yandex/clickhouse-python-bottle",
"symlink_name": "clickhouse/python-bottle",
"dependent": [] "dependent": []
}, },
"docker/test/integration/helper_container": { "docker/test/integration/helper_container": {
"name": "yandex/clickhouse-integration-helper", "name": "yandex/clickhouse-integration-helper",
"symlink_name": "clickhouse/integration-helper",
"dependent": [] "dependent": []
}, },
"docker/test/integration/mysql_golang_client": { "docker/test/integration/mysql_golang_client": {
"name": "yandex/clickhouse-mysql-golang-client", "name": "yandex/clickhouse-mysql-golang-client",
"symlink_name": "clickhouse/mysql-golang-client",
"dependent": [] "dependent": []
}, },
"docker/test/integration/mysql_java_client": { "docker/test/integration/mysql_java_client": {
"name": "yandex/clickhouse-mysql-java-client", "name": "yandex/clickhouse-mysql-java-client",
"symlink_name": "clickhouse/mysql-golang-client",
"dependent": [] "dependent": []
}, },
"docker/test/integration/mysql_js_client": { "docker/test/integration/mysql_js_client": {
"name": "yandex/clickhouse-mysql-js-client", "name": "yandex/clickhouse-mysql-js-client",
"symlink_name": "clickhouse/mysql-js-client",
"dependent": [] "dependent": []
}, },
"docker/test/integration/mysql_php_client": { "docker/test/integration/mysql_php_client": {
"name": "yandex/clickhouse-mysql-php-client", "name": "yandex/clickhouse-mysql-php-client",
"symlink_name": "clickhouse/mysql-php-client",
"dependent": [] "dependent": []
}, },
"docker/test/integration/postgresql_java_client": { "docker/test/integration/postgresql_java_client": {
"name": "yandex/clickhouse-postgresql-java-client", "name": "yandex/clickhouse-postgresql-java-client",
"symlink_name": "clickhouse/postgresql-java-client",
"dependent": [] "dependent": []
}, },
"docker/test/integration/kerberos_kdc": { "docker/test/integration/kerberos_kdc": {
"name": "yandex/clickhouse-kerberos-kdc", "name": "yandex/clickhouse-kerberos-kdc",
"symlink_name": "clickhouse/kerberos-kdc",
"dependent": [] "dependent": []
}, },
"docker/test/base": { "docker/test/base": {
"name": "yandex/clickhouse-test-base", "name": "yandex/clickhouse-test-base",
"symlink_name": "clickhouse/test-base",
"dependent": [ "dependent": [
"docker/test/stateless", "docker/test/stateless",
"docker/test/stateless_unbundled", "docker/test/stateless_unbundled",
@ -144,25 +169,30 @@
}, },
"docker/packager/unbundled": { "docker/packager/unbundled": {
"name": "yandex/clickhouse-unbundled-builder", "name": "yandex/clickhouse-unbundled-builder",
"symlink_name": "clickhouse/unbundled-builder",
"dependent": [ "dependent": [
"docker/test/stateless_unbundled" "docker/test/stateless_unbundled"
] ]
}, },
"docker/test/stateless_unbundled": { "docker/test/stateless_unbundled": {
"name": "yandex/clickhouse-stateless-unbundled-test", "name": "yandex/clickhouse-stateless-unbundled-test",
"symlink_name": "clickhouse/stateless-unbundled-test",
"dependent": [ "dependent": [
] ]
}, },
"docker/test/integration/kerberized_hadoop": { "docker/test/integration/kerberized_hadoop": {
"name": "yandex/clickhouse-kerberized-hadoop", "name": "yandex/clickhouse-kerberized-hadoop",
"symlink_name": "clickhouse/kerberized-hadoop",
"dependent": [] "dependent": []
}, },
"docker/test/sqlancer": { "docker/test/sqlancer": {
"name": "yandex/clickhouse-sqlancer-test", "name": "yandex/clickhouse-sqlancer-test",
"symlink_name": "clickhouse/sqlancer-test",
"dependent": [] "dependent": []
}, },
"docker/test/keeper-jepsen": { "docker/test/keeper-jepsen": {
"name": "yandex/clickhouse-keeper-jepsen-test", "name": "yandex/clickhouse-keeper-jepsen-test",
"symlink_name": "clickhouse/keeper-jepsen-test",
"dependent": [] "dependent": []
} }
} }

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-binary-builder . # docker build -t clickhouse/binary-builder .
FROM ubuntu:20.04 FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive LLVM_VERSION=11 ENV DEBIAN_FRONTEND=noninteractive LLVM_VERSION=11

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-deb-builder . # docker build -t clickhouse/deb-builder .
FROM ubuntu:20.04 FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive LLVM_VERSION=11 ENV DEBIAN_FRONTEND=noninteractive LLVM_VERSION=11

View File

@ -9,9 +9,9 @@ import sys
SCRIPT_PATH = os.path.realpath(__file__) SCRIPT_PATH = os.path.realpath(__file__)
IMAGE_MAP = { IMAGE_MAP = {
"deb": "yandex/clickhouse-deb-builder", "deb": "clickhouse/deb-builder",
"binary": "yandex/clickhouse-binary-builder", "binary": "clickhouse/binary-builder",
"unbundled": "yandex/clickhouse-unbundled-builder" "unbundled": "clickhouse/unbundled-builder"
} }
def check_image_exists_locally(image_name): def check_image_exists_locally(image_name):

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-unbundled-builder . # docker build -t clickhouse/unbundled-builder .
FROM yandex/clickhouse-deb-builder FROM clickhouse/deb-builder
RUN export CODENAME="$(lsb_release --codename --short | tr 'A-Z' 'a-z')" \ RUN export CODENAME="$(lsb_release --codename --short | tr 'A-Z' 'a-z')" \
&& wget -nv -O /tmp/arrow-keyring.deb "https://apache.jfrog.io/artifactory/arrow/ubuntu/apache-arrow-apt-source-latest-${CODENAME}.deb" \ && wget -nv -O /tmp/arrow-keyring.deb "https://apache.jfrog.io/artifactory/arrow/ubuntu/apache-arrow-apt-source-latest-${CODENAME}.deb" \

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-test-base . # docker build -t clickhouse/test-base .
FROM ubuntu:20.04 FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive LLVM_VERSION=11 ENV DEBIAN_FRONTEND=noninteractive LLVM_VERSION=11

View File

@ -1,6 +1,6 @@
# docker build --network=host -t yandex/clickhouse-codebrowser . # docker build --network=host -t clickhouse/codebrowser .
# docker run --volume=path_to_repo:/repo_folder --volume=path_to_result:/test_output yandex/clickhouse-codebrowser # docker run --volume=path_to_repo:/repo_folder --volume=path_to_result:/test_output clickhouse/codebrowser
FROM yandex/clickhouse-binary-builder FROM clickhouse/binary-builder
RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-test-old-centos . # docker build -t clickhouse/test-old-centos .
FROM centos:5 FROM centos:5
CMD /bin/sh -c "/clickhouse server --config /config/config.xml > /var/log/clickhouse-server/stderr.log 2>&1 & \ CMD /bin/sh -c "/clickhouse server --config /config/config.xml > /var/log/clickhouse-server/stderr.log 2>&1 & \

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-test-old-ubuntu . # docker build -t clickhouse/test-old-ubuntu .
FROM ubuntu:12.04 FROM ubuntu:12.04
CMD /bin/sh -c "/clickhouse server --config /config/config.xml > /var/log/clickhouse-server/stderr.log 2>&1 & \ CMD /bin/sh -c "/clickhouse server --config /config/config.xml > /var/log/clickhouse-server/stderr.log 2>&1 & \

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-test-coverage . # docker build -t clickhouse/test-coverage .
FROM yandex/clickhouse-stateless-test FROM clickhouse/stateless-test
RUN apt-get update -y \ RUN apt-get update -y \
&& env DEBIAN_FRONTEND=noninteractive \ && env DEBIAN_FRONTEND=noninteractive \

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-fasttest . # docker build -t clickhouse/fasttest .
FROM ubuntu:20.04 FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive LLVM_VERSION=11 ENV DEBIAN_FRONTEND=noninteractive LLVM_VERSION=11

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-fuzzer . # docker build -t clickhouse/fuzzer .
FROM yandex/clickhouse-test-base FROM clickhouse/test-base
ENV LANG=C.UTF-8 ENV LANG=C.UTF-8
ENV TZ=Europe/Moscow ENV TZ=Europe/Moscow
@ -36,5 +36,5 @@ CMD set -o pipefail \
&& cd /workspace \ && cd /workspace \
&& /run-fuzzer.sh 2>&1 | ts "$(printf '%%Y-%%m-%%d %%H:%%M:%%S\t')" | tee main.log && /run-fuzzer.sh 2>&1 | ts "$(printf '%%Y-%%m-%%d %%H:%%M:%%S\t')" | tee main.log
# docker run --network=host --volume <workspace>:/workspace -e PR_TO_TEST=<> -e SHA_TO_TEST=<> yandex/clickhouse-fuzzer # docker run --network=host --volume <workspace>:/workspace -e PR_TO_TEST=<> -e SHA_TO_TEST=<> clickhouse/fuzzer

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-integration-test . # docker build -t clickhouse/integration-test .
FROM yandex/clickhouse-test-base FROM clickhouse/test-base
SHELL ["/bin/bash", "-c"] SHELL ["/bin/bash", "-c"]

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-integration-helper . # docker build -t clickhouse/integration-helper .
# Helper docker container to run iptables without sudo # Helper docker container to run iptables without sudo
FROM alpine FROM alpine

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-kerberized-hadoop . # docker build -t clickhouse/kerberized-hadoop .
FROM sequenceiq/hadoop-docker:2.7.0 FROM sequenceiq/hadoop-docker:2.7.0
RUN sed -i -e 's/^\#baseurl/baseurl/' /etc/yum.repos.d/CentOS-Base.repo RUN sed -i -e 's/^\#baseurl/baseurl/' /etc/yum.repos.d/CentOS-Base.repo

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-kerberos-kdc . # docker build -t clickhouse/kerberos-kdc .
FROM centos:6.6 FROM centos:6.6
# old OS to make is faster and smaller # old OS to make is faster and smaller

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-mysql-golang-client . # docker build -t clickhouse/mysql-golang-client .
# MySQL golang client docker container # MySQL golang client docker container
FROM golang:1.12.2 FROM golang:1.12.2

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-mysql-java-client . # docker build -t clickhouse/mysql-java-client .
# MySQL Java client docker container # MySQL Java client docker container
FROM ubuntu:18.04 FROM ubuntu:18.04

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-mysql-js-client . # docker build -t clickhouse/mysql-js-client .
# MySQL JavaScript client docker container # MySQL JavaScript client docker container
FROM node:8 FROM node:8

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-mysql-php-client . # docker build -t clickhouse/mysql-php-client .
# MySQL PHP client docker container # MySQL PHP client docker container
FROM php:7.3-cli FROM php:7.3-cli

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-postgresql-java-client . # docker build -t clickhouse/postgresql-java-client .
# PostgreSQL Java client docker container # PostgreSQL Java client docker container
FROM ubuntu:18.04 FROM ubuntu:18.04

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-python-bottle . # docker build -t clickhouse/python-bottle .
# Helper docker container to run python bottle apps # Helper docker container to run python bottle apps
FROM python:3 FROM python:3

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-integration-tests-runner . # docker build -t clickhouse/integration-tests-runner .
FROM ubuntu:20.04 FROM ubuntu:20.04
RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list

View File

@ -1,7 +1,7 @@
version: '2.3' version: '2.3'
services: services:
bridge1: bridge1:
image: yandex/clickhouse-jdbc-bridge image: clickhouse/jdbc-bridge
command: | command: |
/bin/bash -c 'cat << EOF > config/datasources/self.json /bin/bash -c 'cat << EOF > config/datasources/self.json
{ {

View File

@ -1,7 +1,7 @@
version: '2.3' version: '2.3'
services: services:
zoo1: zoo1:
image: ${image:-yandex/clickhouse-integration-test} image: ${image:-clickhouse/integration-test}
restart: always restart: always
user: ${user:-} user: ${user:-}
volumes: volumes:
@ -31,7 +31,7 @@ services:
- inet6 - inet6
- rotate - rotate
zoo2: zoo2:
image: ${image:-yandex/clickhouse-integration-test} image: ${image:-clickhouse/integration-test}
restart: always restart: always
user: ${user:-} user: ${user:-}
volumes: volumes:
@ -61,7 +61,7 @@ services:
- inet6 - inet6
- rotate - rotate
zoo3: zoo3:
image: ${image:-yandex/clickhouse-integration-test} image: ${image:-clickhouse/integration-test}
restart: always restart: always
user: ${user:-} user: ${user:-}
volumes: volumes:

View File

@ -4,7 +4,7 @@ services:
kerberizedhdfs1: kerberizedhdfs1:
cap_add: cap_add:
- DAC_READ_SEARCH - DAC_READ_SEARCH
image: yandex/clickhouse-kerberized-hadoop:16621 image: clickhouse/kerberized-hadoop:16621
hostname: kerberizedhdfs1 hostname: kerberizedhdfs1
restart: always restart: always
volumes: volumes:
@ -22,7 +22,7 @@ services:
entrypoint: /etc/bootstrap.sh -d entrypoint: /etc/bootstrap.sh -d
hdfskerberos: hdfskerberos:
image: yandex/clickhouse-kerberos-kdc:${DOCKER_KERBEROS_KDC_TAG:-latest} image: clickhouse/kerberos-kdc:${DOCKER_KERBEROS_KDC_TAG:-latest}
hostname: hdfskerberos hostname: hdfskerberos
volumes: volumes:
- ${KERBERIZED_HDFS_DIR}/secrets:/tmp/keytab - ${KERBERIZED_HDFS_DIR}/secrets:/tmp/keytab

View File

@ -50,7 +50,7 @@ services:
- label:disable - label:disable
kafka_kerberos: kafka_kerberos:
image: yandex/clickhouse-kerberos-kdc:${DOCKER_KERBEROS_KDC_TAG:-latest} image: clickhouse/kerberos-kdc:${DOCKER_KERBEROS_KDC_TAG:-latest}
hostname: kafka_kerberos hostname: kafka_kerberos
volumes: volumes:
- ${KERBERIZED_KAFKA_DIR}/secrets:/tmp/keytab - ${KERBERIZED_KAFKA_DIR}/secrets:/tmp/keytab

View File

@ -19,14 +19,14 @@ services:
# HTTP proxies for Minio. # HTTP proxies for Minio.
proxy1: proxy1:
image: yandex/clickhouse-s3-proxy image: clickhouse/s3-proxy
expose: expose:
- "8080" # Redirect proxy port - "8080" # Redirect proxy port
- "80" # Reverse proxy port - "80" # Reverse proxy port
- "443" # Reverse proxy port (secure) - "443" # Reverse proxy port (secure)
proxy2: proxy2:
image: yandex/clickhouse-s3-proxy image: clickhouse/s3-proxy
expose: expose:
- "8080" - "8080"
- "80" - "80"
@ -34,7 +34,7 @@ services:
# Empty container to run proxy resolver. # Empty container to run proxy resolver.
resolver: resolver:
image: yandex/clickhouse-python-bottle image: clickhouse/python-bottle
expose: expose:
- "8080" - "8080"
tty: true tty: true

View File

@ -1,6 +1,6 @@
version: '2.3' version: '2.3'
services: services:
golang1: golang1:
image: yandex/clickhouse-mysql-golang-client:${DOCKER_MYSQL_GOLANG_CLIENT_TAG:-latest} image: clickhouse/mysql-golang-client:${DOCKER_MYSQL_GOLANG_CLIENT_TAG:-latest}
# to keep container running # to keep container running
command: sleep infinity command: sleep infinity

View File

@ -1,6 +1,6 @@
version: '2.3' version: '2.3'
services: services:
java1: java1:
image: yandex/clickhouse-mysql-java-client:${DOCKER_MYSQL_JAVA_CLIENT_TAG:-latest} image: clickhouse/mysql-java-client:${DOCKER_MYSQL_JAVA_CLIENT_TAG:-latest}
# to keep container running # to keep container running
command: sleep infinity command: sleep infinity

View File

@ -1,6 +1,6 @@
version: '2.3' version: '2.3'
services: services:
mysqljs1: mysqljs1:
image: yandex/clickhouse-mysql-js-client:${DOCKER_MYSQL_JS_CLIENT_TAG:-latest} image: clickhouse/mysql-js-client:${DOCKER_MYSQL_JS_CLIENT_TAG:-latest}
# to keep container running # to keep container running
command: sleep infinity command: sleep infinity

View File

@ -1,6 +1,6 @@
version: '2.3' version: '2.3'
services: services:
php1: php1:
image: yandex/clickhouse-mysql-php-client:${DOCKER_MYSQL_PHP_CLIENT_TAG:-latest} image: clickhouse/mysql-php-client:${DOCKER_MYSQL_PHP_CLIENT_TAG:-latest}
# to keep container running # to keep container running
command: sleep infinity command: sleep infinity

View File

@ -1,6 +1,6 @@
version: '2.2' version: '2.2'
services: services:
java: java:
image: yandex/clickhouse-postgresql-java-client:${DOCKER_POSTGRESQL_JAVA_CLIENT_TAG:-latest} image: clickhouse/postgresql-java-client:${DOCKER_POSTGRESQL_JAVA_CLIENT_TAG:-latest}
# to keep container running # to keep container running
command: sleep infinity command: sleep infinity

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-s3-proxy . # docker build -t clickhouse/s3-proxy .
FROM nginx:alpine FROM nginx:alpine
COPY run.sh /run.sh COPY run.sh /run.sh

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-keeper-jepsen-test . # docker build -t clickhouse/keeper-jepsen-test .
FROM yandex/clickhouse-test-base FROM clickhouse/test-base
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV CLOJURE_VERSION=1.10.3.814 ENV CLOJURE_VERSION=1.10.3.814

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-performance-comparison . # docker build -t clickhouse/performance-comparison .
FROM ubuntu:18.04 FROM ubuntu:18.04
ENV LANG=C.UTF-8 ENV LANG=C.UTF-8
@ -54,4 +54,4 @@ COPY * /
# it gives '/bin/sh: 1: [bash,: not found' otherwise. # it gives '/bin/sh: 1: [bash,: not found' otherwise.
CMD ["bash", "-c", "node=$((RANDOM % $(numactl --hardware | sed -n 's/^.*available:\\(.*\\)nodes.*$/\\1/p'))); echo Will bind to NUMA node $node; numactl --cpunodebind=$node --membind=$node /entrypoint.sh"] CMD ["bash", "-c", "node=$((RANDOM % $(numactl --hardware | sed -n 's/^.*available:\\(.*\\)nodes.*$/\\1/p'))); echo Will bind to NUMA node $node; numactl --cpunodebind=$node --membind=$node /entrypoint.sh"]
# docker run --network=host --volume <workspace>:/workspace --volume=<output>:/output -e PR_TO_TEST=<> -e SHA_TO_TEST=<> yandex/clickhouse-performance-comparison # docker run --network=host --volume <workspace>:/workspace --volume=<output>:/output -e PR_TO_TEST=<> -e SHA_TO_TEST=<> clickhouse/performance-comparison

View File

@ -116,7 +116,7 @@ pull requests (0 for master) manually.
docker run --network=host --volume=$(pwd)/workspace:/workspace --volume=$(pwd)/output:/output docker run --network=host --volume=$(pwd)/workspace:/workspace --volume=$(pwd)/output:/output
[-e REF_PR={} -e REF_SHA={}] [-e REF_PR={} -e REF_SHA={}]
-e PR_TO_TEST={} -e SHA_TO_TEST={} -e PR_TO_TEST={} -e SHA_TO_TEST={}
yandex/clickhouse-performance-comparison clickhouse/performance-comparison
``` ```
Then see the `report.html` in the `output` directory. Then see the `report.html` in the `output` directory.

View File

@ -1,6 +1,6 @@
# docker build -t yandex/clickhouse-pvs-test . # docker build -t clickhouse/pvs-test .
FROM yandex/clickhouse-binary-builder FROM clickhouse/binary-builder
RUN apt-get update --yes \ RUN apt-get update --yes \
&& apt-get install \ && apt-get install \

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-split-build-smoke-test . # docker build -t clickhouse/split-build-smoke-test .
FROM yandex/clickhouse-binary-builder FROM clickhouse/binary-builder
COPY run.sh /run.sh COPY run.sh /run.sh
COPY process_split_build_smoke_test_result.py / COPY process_split_build_smoke_test_result.py /

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-sqlancer-test . # docker build -t clickhouse/sqlancer-test .
FROM ubuntu:20.04 FROM ubuntu:20.04
RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-stateful-test . # docker build -t clickhouse/stateful-test .
FROM yandex/clickhouse-stateless-test FROM clickhouse/stateless-test
RUN apt-get update -y \ RUN apt-get update -y \
&& env DEBIAN_FRONTEND=noninteractive \ && env DEBIAN_FRONTEND=noninteractive \

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-stateless-test . # docker build -t clickhouse/stateless-test .
FROM yandex/clickhouse-test-base FROM clickhouse/test-base
ARG odbc_driver_url="https://github.com/ClickHouse/clickhouse-odbc/releases/download/v1.1.4.20200302/clickhouse-odbc-1.1.4-Linux.tar.gz" ARG odbc_driver_url="https://github.com/ClickHouse/clickhouse-odbc/releases/download/v1.1.4.20200302/clickhouse-odbc-1.1.4-Linux.tar.gz"

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-stateless-pytest . # docker build -t clickhouse/stateless-pytest .
FROM yandex/clickhouse-test-base FROM clickhouse/test-base
RUN apt-get update -y && \ RUN apt-get update -y && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-stateless-unbundled-test . # docker build -t clickhouse/stateless-unbundled-test .
FROM yandex/clickhouse-test-base FROM clickhouse/test-base
ARG odbc_driver_url="https://github.com/ClickHouse/clickhouse-odbc/releases/download/v1.1.4.20200302/clickhouse-odbc-1.1.4-Linux.tar.gz" ARG odbc_driver_url="https://github.com/ClickHouse/clickhouse-odbc/releases/download/v1.1.4.20200302/clickhouse-odbc-1.1.4-Linux.tar.gz"

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-stress-test . # docker build -t clickhouse/stress-test .
FROM yandex/clickhouse-stateful-test FROM clickhouse/stateful-test
RUN apt-get update -y \ RUN apt-get update -y \
&& env DEBIAN_FRONTEND=noninteractive \ && env DEBIAN_FRONTEND=noninteractive \

View File

@ -6,7 +6,7 @@ Usage:
``` ```
$ ls $HOME/someclickhouse $ ls $HOME/someclickhouse
clickhouse-client_18.14.9_all.deb clickhouse-common-static_18.14.9_amd64.deb clickhouse-server_18.14.9_all.deb clickhouse-test_18.14.9_all.deb clickhouse-client_18.14.9_all.deb clickhouse-common-static_18.14.9_amd64.deb clickhouse-server_18.14.9_all.deb clickhouse-test_18.14.9_all.deb
$ docker run --volume=$HOME/someclickhouse:/package_folder --volume=$HOME/test_output:/test_output yandex/clickhouse-stress-test $ docker run --volume=$HOME/someclickhouse:/package_folder --volume=$HOME/test_output:/test_output clickhouse/stress-test
Selecting previously unselected package clickhouse-common-static. Selecting previously unselected package clickhouse-common-static.
(Reading database ... 14442 files and directories currently installed.) (Reading database ... 14442 files and directories currently installed.)
... ...

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-style-test . # docker build -t clickhouse/style-test .
FROM ubuntu:20.04 FROM ubuntu:20.04
RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list

View File

@ -49,7 +49,7 @@ fi
# Build server image (optional) from local packages # Build server image (optional) from local packages
if [ -z "${CLICKHOUSE_SERVER_IMAGE}" ]; then if [ -z "${CLICKHOUSE_SERVER_IMAGE}" ]; then
CLICKHOUSE_SERVER_IMAGE="yandex/clickhouse-server:local" CLICKHOUSE_SERVER_IMAGE="clickhouse/server:local"
if [ "${CLICKHOUSE_PACKAGES_ARG}" != "${NO_REBUILD_FLAG}" ]; then if [ "${CLICKHOUSE_PACKAGES_ARG}" != "${NO_REBUILD_FLAG}" ]; then
docker build --network=host \ docker build --network=host \

View File

@ -1,4 +1,4 @@
# docker build -t yandex/clickhouse-testflows-runner . # docker build -t clickhouse/testflows-runner .
FROM ubuntu:20.04 FROM ubuntu:20.04
RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list RUN sed -i 's|http://archive|http://ru.archive|g' /etc/apt/sources.list

View File

@ -1,5 +1,5 @@
# docker build -t yandex/clickhouse-unit-test . # docker build -t clickhouse/unit-test .
FROM yandex/clickhouse-stateless-test FROM clickhouse/stateless-test
RUN apt-get install gdb RUN apt-get install gdb