X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Fvim-emu.git;a=blobdiff_plain;f=utils%2Fci%2Fjenkins_entrypoint.sh;h=6c5941e60b6a4ab8f782aeb8548c057702c52316;hp=133f82ba2e453f12c202d631eb4769368111f4d0;hb=5b9096ef3f5f4c9caf56a223cfbddb7e8f445d60;hpb=0a8c3c754c3ca5d1d34ec2dde21423524a32559c diff --git a/utils/ci/jenkins_entrypoint.sh b/utils/ci/jenkins_entrypoint.sh index 133f82b..6c5941e 100755 --- a/utils/ci/jenkins_entrypoint.sh +++ b/utils/ci/jenkins_entrypoint.sh @@ -29,12 +29,6 @@ # Script has to be called from "son-emu" root directory, like: sudo ./utils/ci/jenkins_entrypoint.sh export DOCKER_HOST="unix:///var/run/docker.sock" -# don't rely on Debian/Ubuntu Docker engine -#apt-get remove docker-engine -# make sure we start from scratch -#pip uninstall docker-py -#pip uninstall docker - set -e set -x @@ -46,10 +40,10 @@ set -x #apt-get install docker-ce # build the container -docker build -t son-emu-img . +docker build -t test-son-emu-img . # launch the container and trigger the unit tests -docker run --name son-emu -it --rm --privileged --pid='host' -v /var/run/docker.sock:/var/run/docker.sock son-emu-img py.test -v src/emuvim/test/unittests +docker run --name son-emu --rm --privileged --pid='host' -v /var/run/docker.sock:/var/run/docker.sock test-son-emu-img py.test -v src/emuvim/test/unittests # # old way to call the tests directly on the host machine