Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monticore
EmbeddedMontiArc
simulators
server
Commits
14aad27c
Commit
14aad27c
authored
Sep 27, 2019
by
hengwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate tests
parent
899503ed
Pipeline
#188327
canceled with stages
in 2 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
39 deletions
+34
-39
.gitlab-ci.yml
.gitlab-ci.yml
+34
-39
No files found.
.gitlab-ci.yml
View file @
14aad27c
...
...
@@ -29,28 +29,41 @@ masterJobWindowsRestful:
only
:
-
master
#branchJobWindowsRpc:
# stage: windows
# script:
# - cd rpc
# - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings ..\settings.xml
# tags:
# - Windows10
# except:
# - master
#
#branchJobWindowsRestful:
# stage: windows
# script:
# - cd restful
# # TODO: we have to skip tests for now, because most tests require a running instance of zookeeper
# - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings ..\settings.xml -DskipTests
# tags:
# - Windows10
# except:
# - master
branchJobWindowsRpc
:
stage
:
windows
script
:
-
cd rpc
-
mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings ..\settings.xml
tags
:
-
Windows10
except
:
-
master
branchJobWindowsRestful
:
stage
:
windows
script
:
-
cd restful
# TODO: we have to skip tests for now, because most tests require a running instance of zookeeper
-
mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings ..\settings.xml -DskipTests
tags
:
-
Windows10
except
:
-
master
# run tests
branchJobLinux
:
tags
:
-
docker
stage
:
linux
script
:
-
cd docker
-
./build.sh
-
./run_test.sh
except
:
-
master
# build, test and publish docker images
masterJobLinux
:
tags
:
-
docker
stage
:
linux
...
...
@@ -64,23 +77,5 @@ branchJobLinux:
-
docker tag restful-server:latest $CI_REGISTRY_IMAGE:restful
-
docker push $CI_REGISTRY_IMAGE:rpc
-
docker push $CI_REGISTRY_IMAGE:restful
except
:
only
:
-
master
# build, test and publish docker images
#masterJobLinux:
# tags:
# - docker
# stage: linux
# before_script:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# script:
# - cd docker
# - ./build.sh
# - ./run_test.sh
# - docker tag rpc-server:latest $CI_REGISTRY_IMAGE:rpc
# - docker tag restful-server:latest $CI_REGISTRY_IMAGE:restful
# - docker push $CI_REGISTRY_IMAGE:rpc
# - docker push $CI_REGISTRY_IMAGE:restful
# only:
# - master
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