This commit is contained in:
2024-05-05 13:17:29 -05:00
parent 5998930c01
commit cf20485fce
2 changed files with 27 additions and 20 deletions

View File

@@ -7,7 +7,6 @@ include:
ref: 'main'
file:
- 'jobs/version.yml'
- 'jobs/codescan.yml'
- 'jobs/sonarqube.yml'
- 'jobs/golang.yml'
@@ -31,22 +30,3 @@ sonarqube:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID
exists:
- "sonar-project.properties"
generate_sbom:
extends: .generate_sbom
stage: validate
needs:
- job: docker-build
optional: true
artifacts: true
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID
generate_cve:
extends: .generate_cve
stage: validate
needs:
- job: generate_sbom
artifacts: true
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID