Update .gitlab-ci.yml file
This commit is contained in:
@@ -5,10 +5,19 @@
|
|||||||
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
|
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
|
||||||
# Note that environment variables can be set in several places
|
# Note that environment variables can be set in several places
|
||||||
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
|
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
- code_quality
|
||||||
|
|
||||||
|
sast:
|
||||||
|
stage: 'test'
|
||||||
|
include:
|
||||||
|
- template: Security/SAST.gitlab-ci.yml
|
||||||
|
- template: Security/Dependency-Scanning.gitlab-ci.yml
|
||||||
|
|
||||||
qodana:
|
qodana:
|
||||||
only:
|
stage: 'code_quality'
|
||||||
- master
|
|
||||||
- merge_requests
|
|
||||||
image:
|
image:
|
||||||
name: jetbrains/qodana-python-community
|
name: jetbrains/qodana-python-community
|
||||||
entrypoint:
|
entrypoint:
|
||||||
@@ -29,11 +38,3 @@ qodana:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
paths:
|
paths:
|
||||||
- ".qodana/results/"
|
- ".qodana/results/"
|
||||||
stages:
|
|
||||||
- test
|
|
||||||
sast:
|
|
||||||
stage: test
|
|
||||||
include:
|
|
||||||
- template: Security/SAST.gitlab-ci.yml
|
|
||||||
- template: Security/Dependency-Scanning.gitlab-ci.yml
|
|
||||||
- template: Security/Secret-Detection.gitlab-ci.yml
|
|
||||||
|
|||||||
Reference in New Issue
Block a user