mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Trying another approach to copy logs to /test_output without sudo.
This commit is contained in:
parent
9dd9f221c1
commit
e8d74250bf
@ -73,4 +73,4 @@ RUN set -x \
|
||||
VOLUME /var/lib/docker
|
||||
EXPOSE 2375
|
||||
ENTRYPOINT ["dockerd-entrypoint.sh"]
|
||||
CMD ["sh", "-c", "python3 regression.py --no-color -o classic --local --clickhouse-binary-path ${CLICKHOUSE_TESTS_SERVER_BIN_PATH} --only /clickhouse/:/foo --log test.log ${TESTFLOWS_OPTS}; cat test.log | tfs report results --format json > results.json; /usr/local/bin/process_testflows_result.py || echo -e 'failure\tCannot parse results' > check_status.tsv; sudo find . -type f | grep _instances | grep clickhouse-server | sudo xargs -n1 tar -rvf /test_output/clickhouse_logs.tar; sudo tar -xf /test_output/clickhouse_logs.tar --directory /test_output; sudo rm -rf /test_output/clickhouse_logs.tar"]
|
||||
CMD ["sh", "-c", "python3 regression.py --no-color -o classic --local --clickhouse-binary-path ${CLICKHOUSE_TESTS_SERVER_BIN_PATH} --only /clickhouse/:/foo --log test.log ${TESTFLOWS_OPTS}; cat test.log | tfs report results --format json > results.json; /usr/local/bin/process_testflows_result.py || echo -e 'failure\tCannot parse results' > check_status.tsv; find . -type f | grep _instances | grep clickhouse-server | xargs -n1 tar -rvf clickhouse_logs.tar; tar -xf clickhouse_logs.tar --directory /test_output; rm -rf clickhouse_logs.tar"]
|
||||
|
Loading…
Reference in New Issue
Block a user