Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
cf016e7e
Commit
cf016e7e
authored
3 years ago
by
Sergio Gonzalez Diaz
Browse files
Options
Downloads
Patches
Plain Diff
Code coverage
parent
83953ee3
No related branches found
No related tags found
1 merge request
!54
Release 2.0.0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
src/coverage/.gitlab-ci.yml
+16
-0
16 additions, 0 deletions
src/coverage/.gitlab-ci.yml
src/monitoring/.gitlab-ci.yml
+0
-10
0 additions, 10 deletions
src/monitoring/.gitlab-ci.yml
with
17 additions
and
10 deletions
.gitlab-ci.yml
+
1
−
0
View file @
cf016e7e
...
@@ -26,3 +26,4 @@ include:
...
@@ -26,3 +26,4 @@ include:
-
local
:
'
/src/l3_distributedattackdetector/.gitlab-ci.yml'
-
local
:
'
/src/l3_distributedattackdetector/.gitlab-ci.yml'
-
local
:
'
/src/l3_centralizedattackdetector/.gitlab-ci.yml'
-
local
:
'
/src/l3_centralizedattackdetector/.gitlab-ci.yml'
-
local
:
'
/src/l3_attackmitigator/.gitlab-ci.yml'
-
local
:
'
/src/l3_attackmitigator/.gitlab-ci.yml'
-
local
:
'
/src/coverage/.gitlab-ci.yml'
This diff is collapsed.
Click to expand it.
src/coverage/.gitlab-ci.yml
0 → 100644
+
16
−
0
View file @
cf016e7e
# Report code coverage
code coverage
:
stage
:
coverage
needs
:
-
unit test monitoring
script
:
-
cd src
-
./coverage_report.sh
coverage
:
'
/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"
&&
($CI_MERGE_REQUEST_TARGET_BRANCH_NAME
==
"develop"
||
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
==
$CI_DEFAULT_BRANCH)'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"push"
&&
$CI_COMMIT_BRANCH
==
"develop"'
-
changes
:
-
src/monitoring/*
-
manifests/*.yaml
-
.gitlab-ci.yml
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/monitoring/.gitlab-ci.yml
+
0
−
10
View file @
cf016e7e
...
@@ -72,16 +72,6 @@ unit test monitoring:
...
@@ -72,16 +72,6 @@ unit test monitoring:
reports
:
reports
:
junit
:
src/$IMAGE_NAME/tests/${IMAGE_NAME}_report.xml
junit
:
src/$IMAGE_NAME/tests/${IMAGE_NAME}_report.xml
cobertura
:
src/$IMAGE_NAME/tests/${IMAGE_NAME}_coverage.xml
cobertura
:
src/$IMAGE_NAME/tests/${IMAGE_NAME}_coverage.xml
# Report code coverage
code coverage
:
stage
:
coverage
needs
:
-
unit test monitoring
script
:
-
cd src
-
./coverage_report.sh
coverage
:
'
/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
# Deployment of the service in Kubernetes Cluster
# Deployment of the service in Kubernetes Cluster
deploy monitoring
:
deploy monitoring
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment