Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
V
vadere
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
110
Issues
110
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
4
Merge Requests
4
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vadere
vadere
Commits
51f1be8d
Commit
51f1be8d
authored
Feb 07, 2019
by
Benedikt Kleinmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge GitLab job templates into ".gitlab-ci-templates.yml".
parent
89db271a
Pipeline
#89233
failed
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
2 deletions
+72
-2
.gitlab-ci-templates.yml
.gitlab-ci-templates.yml
+64
-0
.gitlab-ci.yml
.gitlab-ci.yml
+8
-2
No files found.
.gitlab-ci-templates.yml
0 → 100644
View file @
51f1be8d
# # GitLab CI Job Templates
#
# These templates can be used to execute jobs on different runners.
#
# Use GitLab's "include" keyword to include this file and the "extends" to
# extend a template below.
#
# For more details, see https://docs.gitlab.com/ee/ci/yaml/README.html#using-extends-and-include-together
.template_unit_tests
:
stage
:
unit_test
# Skip OpenCL tests by using "-Dtest=!Test1,!Test2,..." because GitLab
# runners do not support OpenCL.
script
:
-
mvn clean
-
mvn -Dtest=!TestConvolution,!TestBitonicSort,!TestCLLinkedList,!TestCLOptimalStepsModel test
-
python3 Tools/ContinuousIntegration/collect_line_and_branch_coverage.py
artifacts
:
when
:
on_success
paths
:
-
"
*/target/site/coverage-reports"
expire_in
:
1 week
.template_scenario_files
:
stage
:
integration_test
script
:
-
mvn clean
-
mvn -Dmaven.test.skip=true package
-
python3 Tools/ContinuousIntegration/run_vadere_console_with_all_scenario_files.py
artifacts
:
when
:
on_failure
paths
:
-
"
log_dir"
expire_in
:
1 week
.template_seed_test
:
stage
:
integration_test
script
:
-
mvn clean
-
mvn -Dmaven.test.skip=true package
-
python3 Tools/VadereAnalysisTools/VadereAnalysisTool/setup.py install --user
-
python3 Tools/ContinuousIntegration/run_seed_comparison_test.py
artifacts
:
when
:
on_failure
paths
:
-
"
Tools/ContinuousIntegration/run_seed_comparison_test.d/output"
expire_in
:
1 week
.template_deploy_branch
:
stage
:
deploy
script
:
-
mvn clean
-
mvn -Dmaven.test.skip=true package
-
python3 -m zipfile -c ${VADERE_PACKAGE_NAME} VadereModelTests/ VadereGui/target/vadere.jar VadereSimulator/target/vadere-console.jar
-
scp ${VADERE_PACKAGE_NAME} di49mur@webdev-mwn.lrz.de:~/webserver/htdocs/builds/branches/${VADERE_PACKAGE_NAME}
when
:
manual
.gitlab-ci.yml
View file @
51f1be8d
...
...
@@ -31,8 +31,14 @@ stages:
-
integration_test
-
deploy
include
:
.gitlab/ci/templates/deploy_stage_templates.yml
include
:
.gitlab/ci/templates/test_stage_templates.yml
# PLEASE, OMIT FOLLOWING GITLAB PITFALLS:
#
# 1. "include: .gitlab/ci/windows_jobs.yml" does not work!
# Seems a bug in GitLab's "include" statement. Therefore, define all jobs
# directly here.
# 2. Variables from "variables" section are not expanded correctly in "url"
# section of an "environment".
include
:
.gitlab-ci-templates.yml
# Job Definitions
...
...
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