File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed
Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 5353 run : |
5454 ./_setup_utils/mount.sh
5555
56+ # TODO: Remove this.
5657 - name : checkout correct branch
5758 shell : bash
5859 working-directory : /var/lib/mount/db-benchmark-metal
6465 working-directory : /var/lib/mount/db-benchmark-metal
6566 run : |
6667 python3 _setup_utils/install_all_solutions.py all --exclude clickhouse
67- # clickhouse needs sudo priviledges
68- sudo python3 _setup_utils/install_all_solutions clickhouse
68+ # installing/updating clickhouse needs sudo priviledges
69+ sudo python3 _setup_utils/install_all_solutions.py clickhouse
70+
71+ - name : Modify run.conf to only have new versions
72+ shell : bash
73+ working-directory : /var/lib/mount/db-benchmark-metal
74+ run : |
75+ git diff --name-only **/VERSION > updated_solutions.csv
76+ sed -i 's/\/VERSION/ /g' updated_solutions.txt
77+ tr --delete '\n' < updated_solutions.txt > updated_solutions_no_newlines.txt
78+ export new_solutions=`cat updated_solutions_no_newlines.txt`
79+ sed -i "s/export RUN_SOLUTIONS=.*/export RUN_SOLUTIONS=\"${new_solutions}\"/g" run.conf
6980
7081 - name : Run the benchmark
7182 shell : bash
Original file line number Diff line number Diff line change 44source ./clickhouse/ch.sh # clickhouse helper scripts
55
66ch_installed && clickhouse-client --version-clean > clickhouse/VERSION && echo " " > clickhouse/REVISION
7+
8+ sudo chown $whoami :$whoami clickhouse/VERSION
9+ sudo chown $whoami :$whoami clickhouse/REVISION
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
33
4- virtualenv dask/py-dask --python=python3.10
4+ virtualenv dask/py-dask --python=python3.12
55source dask/py-dask/bin/activate
66
77# install binaries
You can’t perform that action at this time.
0 commit comments