Skip to content
Snippets Groups Projects
Commit 431a14d5 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

wip

parent 8a9167a2
Branches
No related tags found
1 merge request!202Refactor ci
Pipeline #83971 failed
...@@ -23,4 +23,4 @@ include: ...@@ -23,4 +23,4 @@ include:
- local: '/.gitlab/ci/.containerlab-ci.yml' - local: '/.gitlab/ci/.containerlab-ci.yml'
- local: '/.gitlab/ci/.integration-test.yml' - local: '/.gitlab/ci/.integration-test.yml'
- local: '/.gitlab/ci/.uml-autogen-ci.yml' - local: '/.gitlab/ci/.uml-autogen-ci.yml'
- local: '/.gitlab/ci/.deploy-k8s.yml' #- local: '/.gitlab/ci/.deploy-k8s.yml'
code-quality: code-quality:
image: golangci/golangci-lint:latest-alpine image: golangci/golangci-lint:latest-alpine
stage: test stage: test
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == "develop"
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 build/ci/.golangci-config/.golangci.yml --out-format code-climate | tee gl-code-quality-report.json - golangci-lint run --config build/ci/.golangci-config/.golangci.yml --out-format code-climate | tee gl-code-quality-report.json
......
...@@ -4,9 +4,6 @@ ...@@ -4,9 +4,6 @@
variables: variables:
GOSDN_LOG: "nolog" GOSDN_LOG: "nolog"
GOSDN_CHANGE_TIMEOUT: "100ms" GOSDN_CHANGE_TIMEOUT: "100ms"
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
unit-test: unit-test:
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment