Add analyze stage and workflow rules to prevent duplicate pipelines
This commit is contained in:
@@ -7,12 +7,20 @@ variables:
|
|||||||
# renovate: datasource=gitlab-tags depName=esv/bsf/pypi/prosper versioning=semver registryUrl=https://gitlab.global.bsf.tools
|
# renovate: datasource=gitlab-tags depName=esv/bsf/pypi/prosper versioning=semver registryUrl=https://gitlab.global.bsf.tools
|
||||||
PROSPER_VERSION: v0.64.1
|
PROSPER_VERSION: v0.64.1
|
||||||
|
|
||||||
|
# Prevent duplicate pipelines for MRs
|
||||||
|
workflow:
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
when: never
|
||||||
|
- when: always
|
||||||
|
|
||||||
# Define stages - extends Prosper's stages with our custom ones
|
# Define stages - extends Prosper's stages with our custom ones
|
||||||
stages:
|
stages:
|
||||||
- .pre
|
- .pre
|
||||||
- lint
|
- lint
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
- analyze
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
kics:
|
kics:
|
||||||
|
|||||||
Reference in New Issue
Block a user