Commit 33aeed5f authored by Spiros Koulouzis's avatar Spiros Koulouzis

changed to compose test

parent 11829b94
...@@ -51,9 +51,9 @@ matrix: ...@@ -51,9 +51,9 @@ matrix:
- cd deployer - cd deployer
- pip install -r requirements.txt - pip install -r requirements.txt
- cd ../semaphore-python-client-generated - cd ../semaphore-python-client-generated
- ../deployer/venv/bin/python setup.py install - python setup.py install
- cd ../sure_tosca-client_python_stubs/ - cd ../sure_tosca-client_python_stubs/
- ../deployer/venv/bin/python setup.py install - python setup.py install
- cd ../deployer - cd ../deployer
script: script:
- python -m unittest discover - python -m unittest discover
...@@ -74,7 +74,7 @@ matrix: ...@@ -74,7 +74,7 @@ matrix:
after_success: after_success:
- docker stack deploy conf -c docker-compose.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 5 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
fi; done fi; done
......
...@@ -33,4 +33,4 @@ services: ...@@ -33,4 +33,4 @@ services:
sure-tosca: sure-tosca:
image: sure-tosca:3.0.0 image: sure-tosca:3.0.0
ports: ports:
- "8081:8081" - "8081:8081"
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