Commit 7664bf21 authored by Spiros Koulouzis's avatar Spiros Koulouzis

change travis jobs order

parent 33aeed5f
...@@ -14,62 +14,58 @@ matrix: ...@@ -14,62 +14,58 @@ matrix:
- python -m unittest discover - python -m unittest discover
- docker build -t alogo53/sure-tosca:3.0.0 . - docker build -t alogo53/sure-tosca:3.0.0 .
#------------sure_tosca-client-----------------
- language: python
python: 3.8
before_script:
- cd sure_tosca-client_python_stubs
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script:
- python -m unittest discover
#------------semaphore-client------------------
- language: python
python: 3.8
before_script:
- cd semaphore-python-client-generated
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script:
- python -m unittest discover
#------------planner------------------ ##------------semaphore-client------------------
- language: python #- language: python
python: 3.8 #python: 3.8
before_script: #before_script:
- cd planner #- cd semaphore-python-client-generated
- pip install -r requirements.txt #- pip install -r requirements.txt
script: #- pip install -r test-requirements.txt
- python -m unittest discover #script:
- docker build -t alogo53/planner:3.0.0 . #- python -m unittest discover
#------------deployer------------------ ##------------planner------------------
- language: python #- language: python
python: 3.8 #python: 3.8
before_script: #before_script:
- cd deployer #- cd planner
- pip install -r requirements.txt #- pip install -r requirements.txt
- cd ../semaphore-python-client-generated #script:
- python setup.py install #- python -m unittest discover
- cd ../sure_tosca-client_python_stubs/ #- docker build -t alogo53/planner:3.0.0 .
- python setup.py install
- cd ../deployer ##------------deployer------------------
script: #- language: python
- python -m unittest discover #python: 3.8
- docker build -t alogo53/deployer:3.0.0 . #before_script:
#- cd deployer
#- pip install -r requirements.txt
#- cd ../semaphore-python-client-generated
#- python setup.py install
#- cd ../sure_tosca-client_python_stubs/
#- python setup.py install
#- cd ../deployer
#script:
#- python -m unittest discover
#- docker build -t alogo53/deployer:3.0.0 .
#------------manager and provisioner------------------ ##------------manager and provisioner------------------
- language: java #- language: java
jdk: openjdk11 #jdk: openjdk11
before_script: #before_script:
- mvn -Dmaven.test.skip=true install #- mvn -Dmaven.test.skip=true install
script: #script:
- mvn test #- mvn test
- cd manager #- cd manager
- mvn -Dmaven.test.skip=true dockerfile:build #- mvn -Dmaven.test.skip=true dockerfile:build
- cd ../provisioner #- cd ../provisioner
- mvn -Dmaven.test.skip=true dockerfile:build #- mvn -Dmaven.test.skip=true dockerfile:build
...@@ -78,18 +74,43 @@ after_success: ...@@ -78,18 +74,43 @@ after_success:
- 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
- mvn test
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker tag manager:3.0.0 alogo53/manager:3.0.0 matrix:
- docker push alogo53/manager:3.0.0 include:
- docker tag sure-tosca:3.0.0 alogo53/sure-tosca:3.0.0 - language: java
- docker push alogo53/sure-tosca:3.0.0 jdk: openjdk11
- docker tag planner:3.0.0 alogo53/planner:3.0.0 script:
- docker push alogo53/planner:3.0.0 - mvn test
- docker tag provisioner:3.0.0 alogo53/provisioner:3.0.0 - cd manager
- docker push alogo53/provisioner:3.0.0 - mvn -Dmaven.test.skip=true dockerfile:build
- docker tag deployer:3.0.0 alogo53/deployer:3.0.0 - cd ../provisioner
- docker push alogo53/deployer:3.0.0 - mvn -Dmaven.test.skip=true dockerfile:build
#------------sure_tosca-client-----------------
- language: python
python: 3.8
before_script:
- cd sure_tosca-client_python_stubs
- pip install -r requirements.txt
- pip install -r test-requirements.txt
script:
- python -m unittest discover
#- docker login -u $DOCKER_USER -p $DOCKER_PASS
#- docker tag manager:3.0.0 alogo53/manager:3.0.0
#- docker push alogo53/manager:3.0.0
#- docker tag sure-tosca:3.0.0 alogo53/sure-tosca:3.0.0
#- docker push alogo53/sure-tosca:3.0.0
#- docker tag planner:3.0.0 alogo53/planner:3.0.0
#- docker push alogo53/planner:3.0.0
#- docker tag provisioner:3.0.0 alogo53/provisioner:3.0.0
#- docker push alogo53/provisioner:3.0.0
#- docker tag deployer:3.0.0 alogo53/deployer:3.0.0
#- docker push alogo53/deployer:3.0.0
env: env:
global: global:
- secure: ymUnVWoFsn6dGShBx+mJvOOtkdTdtkXuKDWUxDitn+M5SVYdFUGN+UbvrMp8hKQfC8ZQT+/sOGIvdWWE2ruQEeAx9cBSQ4+4x7eup7kORNxzAH2OplWZwoYh+TAl3zx/kHiVh5k6+GnoRWPS3fDvlb/AALdUCsUtz3JzUpYLeAWPfs7czc8frc3gBvnBwORC4iomSrAw+/cmjPhcysyq7zMCnpiriC/APstbotzAuOzDyeOds8pZqUuUri8XKlzlMQtIqVX851S/P/dwf5XcOTX1RUFhRCcYosmkbfR98nabYekhbSyW/ONMQdGMsdurDLJ4obxbD4c/zijvZfUTWMWZnDIlmR1dTy9at8lNJ7OPQw7zHDkj1T4YuofrBZ+LNlDYz7Ad2U6Uo3vD8bTcgaBk9I/0/inJ4JjE6hAxCl9V19revyy+/89ogA7v30cTXW48tJ8JziZqmyXUYR4eLZGyTlR3Ee79Bsu3vsTqX06/8IWFbc1XfIg6ZrwsP1EfCTRDiK4nqAGInhiLo1x9y3kdZkI3X0m90Jr88T8VpUIp1Dvp7OScpEXnE/J1Lgo3e082l1k4ehXTb6ocwKrA3gSlKFV6vJCIhxmU9nUO67axzBz6Sz4gaY//+jhoDL59UOsUQ/dJATVmawkQJIVH1EcU42SD64bAGvjS1mSFEek= - secure: ymUnVWoFsn6dGShBx+mJvOOtkdTdtkXuKDWUxDitn+M5SVYdFUGN+UbvrMp8hKQfC8ZQT+/sOGIvdWWE2ruQEeAx9cBSQ4+4x7eup7kORNxzAH2OplWZwoYh+TAl3zx/kHiVh5k6+GnoRWPS3fDvlb/AALdUCsUtz3JzUpYLeAWPfs7czc8frc3gBvnBwORC4iomSrAw+/cmjPhcysyq7zMCnpiriC/APstbotzAuOzDyeOds8pZqUuUri8XKlzlMQtIqVX851S/P/dwf5XcOTX1RUFhRCcYosmkbfR98nabYekhbSyW/ONMQdGMsdurDLJ4obxbD4c/zijvZfUTWMWZnDIlmR1dTy9at8lNJ7OPQw7zHDkj1T4YuofrBZ+LNlDYz7Ad2U6Uo3vD8bTcgaBk9I/0/inJ4JjE6hAxCl9V19revyy+/89ogA7v30cTXW48tJ8JziZqmyXUYR4eLZGyTlR3Ee79Bsu3vsTqX06/8IWFbc1XfIg6ZrwsP1EfCTRDiK4nqAGInhiLo1x9y3kdZkI3X0m90Jr88T8VpUIp1Dvp7OScpEXnE/J1Lgo3e082l1k4ehXTb6ocwKrA3gSlKFV6vJCIhxmU9nUO67axzBz6Sz4gaY//+jhoDL59UOsUQ/dJATVmawkQJIVH1EcU42SD64bAGvjS1mSFEek=
......
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