Commit 34014b8b authored by Spiros Koulouzis's avatar Spiros Koulouzis

change docker stack name

parent 08095eb6
...@@ -21,7 +21,7 @@ matrix: ...@@ -21,7 +21,7 @@ matrix:
- cd sure_tosca-client_python_stubs - cd sure_tosca-client_python_stubs
- pip install -r requirements.txt - pip install -r requirements.txt
- 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-test -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 10 && 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
...@@ -35,7 +35,7 @@ matrix: ...@@ -35,7 +35,7 @@ matrix:
- cd semaphore-python-client-generated - cd semaphore-python-client-generated
- pip install -r requirements.txt - pip install -r requirements.txt
- 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-test -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 10 && 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
...@@ -48,7 +48,7 @@ matrix: ...@@ -48,7 +48,7 @@ matrix:
before_script: before_script:
- cd planner - cd planner
- pip install -r requirements.txt - pip install -r requirements.txt
- docker stack deploy conf -c docker-compose-test.yml - docker stack deploy conf-test -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 10 && 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
...@@ -67,7 +67,7 @@ matrix: ...@@ -67,7 +67,7 @@ matrix:
- cd ../sure_tosca-client_python_stubs/ - cd ../sure_tosca-client_python_stubs/
- python setup.py install - python setup.py install
- cd ../deployer - cd ../deployer
- docker stack deploy conf -c docker-compose-test.yml - docker stack deploy conf-test -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 10 && 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
...@@ -80,7 +80,7 @@ matrix: ...@@ -80,7 +80,7 @@ matrix:
jdk: openjdk11 jdk: openjdk11
before_script: before_script:
- 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-test -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 10 && 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
......
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