Commit 7e199dd0 authored by Spiros Koulouzis's avatar Spiros Koulouzis

added tests with compose

parent 32e580e0
......@@ -39,7 +39,11 @@ matrix:
- mvn test
- cd manager
- mvn -Dmaven.test.skip=true dockerfile:build
#- cd ../provisioner
#- mvn -Dmaven.test.skip=true dockerfile:build
#after_success:
#- docker login -u $DOCKER_USER -p $DOCKER_PASS
- cd ../provisioner
- mvn -Dmaven.test.skip=true dockerfile:build
after_success:
- docker stack deploy conf -c docker-compose.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081); do printf '.' && sleep 3 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
fi; done
- mvn test
- docker login -u $DOCKER_USER -p $DOCKER_PASS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment