mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
15 lines
294 B
Bash
Executable File
15 lines
294 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e -x
|
|
|
|
[[ -r "vagrant-${1}/vagrant-ssh" ]] || die "Run prepare-vagrant-image-... first."
|
|
|
|
pushd vagrant-$1
|
|
|
|
shopt -s extglob
|
|
|
|
vagrant ssh -c "mkdir -p ClickHouse"
|
|
scp -q -F vagrant-ssh -r ../../!(*build*) default:~/ClickHouse
|
|
vagrant ssh -c "cd ClickHouse/ci; $2"
|
|
|
|
popd
|