mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
21 lines
723 B
Docker
21 lines
723 B
Docker
# docker build -t yandex/clickhouse-stateless-pytest .
|
|
FROM yandex/clickhouse-test-base
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install -y --no-install-recommends \
|
|
python3-pip \
|
|
python3-setuptools
|
|
|
|
RUN python3 -m pip install \
|
|
pytest \
|
|
pytest-html \
|
|
pytest-timeout \
|
|
pytest-xdist
|
|
|
|
CMD dpkg -i package_folder/clickhouse-common-static_*.deb; \
|
|
dpkg -i package_folder/clickhouse-common-static-dbg_*.deb; \
|
|
dpkg -i package_folder/clickhouse-server_*.deb; \
|
|
dpkg -i package_folder/clickhouse-client_*.deb; \
|
|
dpkg -i package_folder/clickhouse-test_*.deb; \
|
|
python3 -m pytest /usr/share/clickhouse-test/queries -n $(nproc) --html=test_output/report.html --self-contained-html
|