Skip to content
Snippets Groups Projects
Commit 15ccf32c authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

Merge branch 'revert-012688a4' into 'master'

Revert "Merge branch 'patch-codeclimate-2' into 'master'"

See merge request cocsn/gosdn!46
parents 012688a4 037145db
Branches
No related tags found
1 merge request!46Revert "Merge branch 'patch-codeclimate-2' into 'master'"
Pipeline #52407 waiting for manual action
...@@ -17,11 +17,11 @@ code-quality-master: ...@@ -17,11 +17,11 @@ code-quality-master:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
when: manual when: manual
script: script:
# writes golangci-lint output to gl-code-quality-report.json # writes golangci-lint output to codeclimate.json
- golangci-lint run --config .ci/.golangci-master.yml | tee gl-code-quality-report.json - golangci-lint run --config .ci/.golangci-master.yml | tee codeclimate.json
artifacts: artifacts:
paths: [gl-code-quality-report.json] reports:
codequality: codeclimate.json
code-quality: code-quality:
...@@ -31,11 +31,11 @@ code-quality: ...@@ -31,11 +31,11 @@ code-quality:
rules: rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
script: script:
# writes golangci-lint output to gl-code-quality-report.json # writes golangci-lint output to codeclimate.json
- golangci-lint run --config .ci/.golangci.yml | tee gl-code-quality-report.json - golangci-lint run --config .ci/.golangci.yml | tee codeclimate.json
artifacts: artifacts:
paths: [gl-code-quality-report.json] reports:
codequality: codeclimate.json
Documentation: Documentation:
before_script: before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment