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
904dc389
Commit
904dc389
authored
Apr 23, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved docker-compose to matrix so we test all services with sure-tosca
parent
1feb52ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
.travis.yml
.travis.yml
+16
-5
No files found.
.travis.yml
View file @
904dc389
...
...
@@ -21,6 +21,10 @@ matrix:
-
cd sure_tosca-client_python_stubs
-
pip install -r requirements.txt
-
pip install -r test-requirements.txt
-
docker stack deploy conf -c docker-compose-test.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
script
:
-
python -m unittest discover
...
...
@@ -31,6 +35,9 @@ matrix:
-
cd semaphore-python-client-generated
-
pip install -r requirements.txt
-
pip install -r test-requirements.txt
-
docker stack deploy conf -c docker-compose-test.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;
script
:
-
python -m unittest discover
...
...
@@ -40,6 +47,9 @@ matrix:
before_script
:
-
cd planner
-
pip install -r requirements.txt
-
docker stack deploy conf -c docker-compose-test.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;
script
:
-
python -m unittest discover
-
docker build -t alogo53/planner:3.0.0 .
...
...
@@ -55,6 +65,9 @@ matrix:
-
cd ../sure_tosca-client_python_stubs/
-
python setup.py install
-
cd ../deployer
-
docker stack deploy conf -c docker-compose-test.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;
script
:
-
python -m unittest discover
-
docker build -t alogo53/deployer:3.0.0 .
...
...
@@ -64,6 +77,9 @@ matrix:
jdk
:
openjdk11
before_script
:
-
mvn -Dmaven.test.skip=true install
-
docker stack deploy conf -c docker-compose-test.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;
script
:
-
mvn test
-
cd manager
...
...
@@ -74,11 +90,6 @@ matrix:
after_success
:
-
docker stack deploy conf -c docker-compose-test.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
-
mvn test
-
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
...
...
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