Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
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
danet
goSDN
Commits
06b89cc4
Commit
06b89cc4
authored
4 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 25-enhanced-logging
parents
7ae39e18
ccf264ba
Branches
Branches containing commit
No related tags found
2 merge requests
!41
Resolve "Enhanced Logging"
,
!18
Develop
Pipeline
#52504
passed with warnings
4 years ago
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-17
15 additions, 17 deletions
.gitlab-ci.yml
with
15 additions
and
17 deletions
.gitlab-ci.yml
+
15
−
17
View file @
06b89cc4
...
@@ -12,35 +12,34 @@ before_script:
...
@@ -12,35 +12,34 @@ before_script:
code-quality-master
:
code-quality-master
:
image
:
golangci/golangci-lint:latest-alpine
image
:
golangci/golangci-lint:latest-alpine
stage
:
test
stage
:
test
only
:
rules
:
-
merge_requests
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
except
:
-
if
:
'
$CI_COMMIT_BRANCH
==
$CI_DEFAULT_BRANCH'
variables
:
when
:
manual
-
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "master"
script
:
script
:
-
git config --global url."https://$GO_MODULES_USER:$GO_MODULES_ACCESS_TOKEN@code.fbi.h-da.de".insteadOf "https://code.fbi.h-da.de"
# writes golangci-lint output to gl-code-quality-report.json
# writes golangci-lint output to gl-code-quality-report.json
-
golangci-lint run --config .ci/.golangci-master.yml | tee gl-code-quality-report.json
-
golangci-lint run --config .ci/.golangci-master.yml
--out-format code-climate
| tee gl-code-quality-report.json
artifacts
:
artifacts
:
reports
:
reports
:
codequality
:
gl-code-quality-report.json
codequality
:
gl-code-quality-report.json
paths
:
-
gl-code-quality-report.json
code-quality
:
code-quality
:
image
:
golangci/golangci-lint:latest-alpine
image
:
golangci/golangci-lint:latest-alpine
stage
:
test
stage
:
test
allow_failure
:
true
allow_failure
:
true
only
:
rules
:
-
merge_requests
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
except
:
variables
:
-
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"
script
:
script
:
# writes golangci-lint output to gl-code-quality-report.json
# writes golangci-lint output to gl-code-quality-report.json
-
golangci-lint run --config .ci/.golangci.yml | tee gl-code-quality-report.json
-
golangci-lint run --config .ci/.golangci.yml
--out-format code-climate
| tee gl-code-quality-report.json
artifacts
:
artifacts
:
reports
:
reports
:
codequality
:
gl-code-quality-report.json
codequality
:
gl-code-quality-report.json
paths
:
-
gl-code-quality-report.json
Documentation
:
Documentation
:
before_script
:
before_script
:
...
@@ -50,9 +49,9 @@ Documentation:
...
@@ -50,9 +49,9 @@ Documentation:
entrypoint
:
entrypoint
:
-
'
'
-
'
'
stage
:
build
stage
:
build
only
:
rules
:
changes
:
-
changes
:
-
documentation/design/*.md
-
documentation/design/*.md
script
:
script
:
-
cd documentation/design
-
cd documentation/design
-
pandoc --filter pandoc-citeproc --bibliography=bibliography.bib --csl=acm-sig-proceedings.csl
-
pandoc --filter pandoc-citeproc --bibliography=bibliography.bib --csl=acm-sig-proceedings.csl
...
@@ -78,4 +77,3 @@ include:
...
@@ -78,4 +77,3 @@ include:
-
template
:
Security/SAST.gitlab-ci.yml
-
template
:
Security/SAST.gitlab-ci.yml
-
template
:
Dependency-Scanning.gitlab-ci.yml
-
template
:
Dependency-Scanning.gitlab-ci.yml
-
template
:
Security/License-Scanning.gitlab-ci.yml
-
template
:
Security/License-Scanning.gitlab-ci.yml
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