mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
update
This commit is contained in:
parent
85a837e652
commit
9e448a716d
4 changed files with 33 additions and 17 deletions
|
|
@ -3,9 +3,29 @@ stages:
|
|||
|
||||
include:
|
||||
- template: Security/Secret-Detection.gitlab-ci.yml
|
||||
- project: 'developerdurp/yml'
|
||||
ref: 'main'
|
||||
file:
|
||||
- 'jobs/sonarqube.yml'
|
||||
- 'jobs/golang.yml'
|
||||
|
||||
secret_detection:
|
||||
stage: compliance
|
||||
rules:
|
||||
- when: always
|
||||
allow_failure: false
|
||||
|
||||
sonarqube:
|
||||
extends: .sonarcloud-check
|
||||
stage: compliance
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == 'main' || $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||
exists:
|
||||
- "go.mod"
|
||||
|
||||
golang-lint:
|
||||
extends: .golang-lint
|
||||
stage: compliance
|
||||
rules:
|
||||
- exists:
|
||||
- "go.mod"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue