Commit 0fd38a07 authored by Spiros Koulouzis's avatar Spiros Koulouzis

increase sleep

parent 904dc389
......@@ -23,7 +23,7 @@ matrix:
- pip install -r test-requirements.txt
- docker stack deploy conf -c docker-compose-test.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
do printf '.' && sleep 5 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
fi; done
script:
- python -m unittest discover
......@@ -37,7 +37,7 @@ matrix:
- pip install -r test-requirements.txt
- docker stack deploy conf -c docker-compose-test.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
do printf '.' && sleep 5 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
script:
- python -m unittest discover
......@@ -49,7 +49,7 @@ matrix:
- pip install -r requirements.txt
- docker stack deploy conf -c docker-compose-test.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
do printf '.' && sleep 5 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
script:
- python -m unittest discover
- docker build -t alogo53/planner:3.0.0 .
......@@ -67,7 +67,7 @@ matrix:
- cd ../deployer
- docker stack deploy conf -c docker-compose-test.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
do printf '.' && sleep 5 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
script:
- python -m unittest discover
- docker build -t alogo53/deployer:3.0.0 .
......@@ -79,7 +79,7 @@ matrix:
- mvn -Dmaven.test.skip=true install
- docker stack deploy conf -c docker-compose-test.yml
- count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
do printf '.' && sleep 5 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
do printf '.' && sleep 10 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
script:
- mvn test
- cd manager
......
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