16 lines
459 B
Bash
Executable File
16 lines
459 B
Bash
Executable File
echo "${bamboo_nexus_password}" | docker login --username "${bamboo_nexus_user}" --password-stdin nexus.iqser.com:5001
|
|
|
|
pip install dvc
|
|
pip install 'dvc[ssh]'
|
|
echo "Pulling dvc data"
|
|
dvc pull
|
|
|
|
docker build -f Dockerfile_tests -t image-prediction-tests .
|
|
|
|
rnd=$(date +"%s")
|
|
name=image-prediction-tests-${rnd}
|
|
|
|
echo "running tests container"
|
|
|
|
docker run --rm --name $name -v $PWD:$PWD -w $PWD -v /var/run/docker.sock:/var/run/docker.sock image-prediction-tests
|