updated local test running bash script for image-predcition rather than pyinfra
This commit is contained in:
parent
8f89689a25
commit
440698f706
10
run_tests.sh
10
run_tests.sh
@ -1,11 +1,11 @@
|
|||||||
echo "${bamboo_nexus_password}" | docker login --username "${bamboo_nexus_user}" --password-stdin nexus.iqser.com:5001
|
echo "${bamboo_nexus_password}" | docker login --username "${bamboo_nexus_user}" --password-stdin nexus.iqser.com:5001
|
||||||
docker build -f Dockerfile_tests -t pyinfra-tests:dev .
|
docker build -f Dockerfile_tests -t image-prediction-tests:dev .
|
||||||
docker tag pyinfra-tests:dev nexus.iqser.com:5001/red/pyinfra-tests:dev
|
docker tag image-prediction-tests:dev nexus.iqser.com:5001/red/image-prediction-tests:dev
|
||||||
docker push nexus.iqser.com:5001/red/pyinfra-tests:dev
|
docker push nexus.iqser.com:5001/red/image-prediction-tests:dev
|
||||||
|
|
||||||
rnd=$(date +"%s")
|
rnd=$(date +"%s")
|
||||||
name=pyinfra-tests-${rnd}
|
name=image-prediction-tests-${rnd}
|
||||||
|
|
||||||
echo "running tests container"
|
echo "running tests container"
|
||||||
|
|
||||||
docker run --rm --net=host --name $name -v $PWD:$PWD -w $PWD -v /var/run/docker.sock:/var/run/docker.sock pyinfra-tests:dev
|
docker run --rm --net=host --name $name -v $PWD:$PWD -w $PWD -v /var/run/docker.sock:/var/run/docker.sock image-prediction-tests:dev
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user