11 lines
391 B
Bash
Executable File
11 lines
391 B
Bash
Executable File
echo "${bamboo_nexus_password}" | docker login --username "${bamboo_nexus_user}" --password-stdin nexus.iqser.com:5001
|
|
docker build -f Dockerfile_tests -t pyinfra-tests .
|
|
|
|
rnd=$(date +"%s")
|
|
name=pyinfra-tests-${rnd}
|
|
|
|
env | grep -i "AzUrE"
|
|
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
|