Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
d74c18e2
Commit
d74c18e2
authored
Mar 16, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added logi and push
parent
aa634298
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
53 deletions
+55
-53
.travis.yml
.travis.yml
+55
-53
No files found.
.travis.yml
View file @
d74c18e2
...
@@ -3,57 +3,59 @@ services:
...
@@ -3,57 +3,59 @@ services:
-
docker
-
docker
matrix
:
matrix
:
include
:
include
:
-
language
:
python
-
language
:
python
python
:
3.8
python
:
3.8
before_script
:
before_script
:
-
cd planner
-
cd planner
-
pip install -r requirements.txt
-
pip install -r requirements.txt
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 .
-
language
:
python
-
language
:
python
python
:
3.8
python
:
3.8
before_script
:
before_script
:
-
cd sure_tosca-flask-server
-
cd sure_tosca-flask-server
-
pip install -r requirements.txt
-
pip install -r requirements.txt
-
pip install -r test-requirements.txt
-
pip install -r test-requirements.txt
script
:
script
:
-
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 .
-
language
:
python
python
:
3.8
-
language
:
python
before_script
:
python
:
3.8
-
cd deployer
before_script
:
-
pip install -r requirements.txt
-
cd deployer
script
:
-
pip install -r requirements.txt
-
python -m unittest discover
script
:
-
docker build -t alogo53/deployer:3.0.0 .
-
python -m unittest discover
-
language
:
java
-
docker build -t alogo53/deployer:3.0.0 .
jdk
:
openjdk11
before_script
:
-
language
:
java
-
mvn -Dmaven.test.skip=true install
jdk
:
openjdk11
script
:
before_script
:
-
mvn test
-
mvn -Dmaven.test.skip=true install
-
cd manager
script
:
-
mvn -Dmaven.test.skip=true dockerfile:build
-
mvn test
-
cd ../provisioner
-
cd manager
-
mvn -Dmaven.test.skip=true dockerfile:build
-
mvn -Dmaven.test.skip=true dockerfile:build
-
cd ../provisioner
-
mvn -Dmaven.test.skip=true dockerfile:build
after_success
:
after_success
:
-
docker stack deploy conf -c docker-compose.yml
-
docker stack deploy conf -c docker-compose.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; fi; done
-
count=0 && until $(curl --output /dev/null --silent --head --fail http://localhost:8081);
-
mvn test
do printf '.' && sleep 5 && count=$((count+1)) && if [ $count -gt 5 ]; then break;
-
docker login -u $DOCKER_USER -p $DOCKER_PASS
fi; done
-
docker tag manager:3.0.0 alogo53/manager:3.0.0
-
mvn test
-
docker push alogo53/manager:3.0.0
-
docker login -u $DOCKER_USER -p $DOCKER_PASS
-
docker tag sure-tosca:3.0.0 alogo53/sure-tosca:3.0.0
-
docker tag manager:3.0.0 alogo53/manager:3.0.0
-
docker push alogo53/sure-tosca:3.0.0
-
docker push alogo53/manager:3.0.0
-
docker tag planner:3.0.0 alogo53/planner:3.0.0
-
docker tag sure-tosca:3.0.0 alogo53/sure-tosca:3.0.0
-
docker push alogo53/planner:3.0.0
-
docker push alogo53/sure-tosca:3.0.0
-
docker tag provisioner:3.0.0 alogo53/provisioner:3.0.0
-
docker tag planner:3.0.0 alogo53/planner:3.0.0
-
docker push alogo53/provisioner:3.0.0
-
docker push alogo53/planner:3.0.0
-
docker tag deployer:3.0.0 alogo53/deployer:3.0.0
-
docker tag provisioner:3.0.0 alogo53/provisioner:3.0.0
-
docker push alogo53/deployer: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
:
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
:
MbzxQ8WmXsKCQvmGw99OX/CrzCFMK33FeRdH3wch5aggWXhdsgpr4/imOZKfMJDIn1ReDVCYHFbD6ObeLL22eFJoyoHjqruxIRf3IEVJlMQD794GDank5usJkaRb0KrRoOya50ahFxCKO93/SKKWfwFxr4kHEfes+Go9dhO/cy/niEC77YFX+6BZryuw0Iw3B1xqrtMW6JPHmIy2b051UCfos+V7MnHnCruhkF8uIrHH8OKXnUowKlwIJerJHIm8A7eQiqJI99UU/fBlkOEG8tAKk5y344vjXXjVYhBnSjA6Gzh+efXveiEB0luEm145mGsPOx10r5KHCjZx4AHK4XdGTqnsEDwlLx+FnwJ+bgLCVGYHNBUqKPqdQvpOe8EeYX0GINMLu5m0i75LJd3HuWxCUUIOueoOnqM08Kek4ehE2aONIVbaaM0gkp+UL7ptBX7NK+ubd+9nBNECaiW0IwN1INPQRwtEpg5+Xxy5tLtbaS8ka7zrwMJGz8r4cAaU7/ImwSM9frt4D3l37T8IIYUdWTu0xv12zr8h+V2EbcxYSGSzzdGPBwoeVP5RjUWBjqBuw/gK7zCCiAGvZs8EpKn/0SAl4XTeCtQRnX6ZK0taGYaY3hFi/6GIl2Ju7KOYNM+WInondvX+NK4UEdT7NPJAPnAHcafEzHFSP+J5wDc=
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment