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

increase sleep

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