pyinfra/run_tests.sh
Matthias Bisping c933f66a4b Pull request #26: Config impl changes
Merge in RR/pyinfra from config_impl_changes to master

Squashed commit of the following:

commit aa732ba18c49edf70198d9bd335193c3509f8e18
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Tue Apr 19 16:45:09 2022 +0200

    test bash script simplified

commit d70c5e48ecfde164f5e508488125c6aa9cd8e621
Author: Matthias Bisping <matthias.bisping@iqser.com>
Date:   Tue Apr 19 16:39:53 2022 +0200

    config coverage
2022-04-19 16:55:34 +02:00

10 lines
369 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}
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