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
No related branches found
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:
code-quality-master
:
image
:
golangci/golangci-lint:latest-alpine
stage
:
test
only
:
-
merge_requests
except
:
variables
:
-
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME != "master"
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
-
if
:
'
$CI_COMMIT_BRANCH
==
$CI_DEFAULT_BRANCH'
when
:
manual
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
-
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
:
reports
:
codequality
:
gl-code-quality-report.json
paths
:
-
gl-code-quality-report.json
code-quality
:
image
:
golangci/golangci-lint:latest-alpine
stage
:
test
allow_failure
:
true
only
:
-
merge_requests
except
:
variables
:
-
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
script
:
# 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
:
reports
:
codequality
:
gl-code-quality-report.json
paths
:
-
gl-code-quality-report.json
Documentation
:
before_script
:
...
...
@@ -50,9 +49,9 @@ Documentation:
entrypoint
:
-
'
'
stage
:
build
only
:
changes
:
-
documentation/design/*.md
rules
:
-
changes
:
-
documentation/design/*.md
script
:
-
cd documentation/design
-
pandoc --filter pandoc-citeproc --bibliography=bibliography.bib --csl=acm-sig-proceedings.csl
...
...
@@ -78,4 +77,3 @@ include:
-
template
:
Security/SAST.gitlab-ci.yml
-
template
:
Dependency-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