.gitlab-ci.yml: limit full repo scans, stop commit specific scan
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
73ed73b620
commit
2d8b6aadc1
@ -26,17 +26,15 @@ image: registry.gitlab.com/src_prepare/gentoo-repoman-container:latest
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
common_pkgcheck_args: "--color 1"
|
common_pkgcheck_args: '--color 1'
|
||||||
|
|
||||||
|
|
||||||
pkgcheck_push:
|
|
||||||
script:
|
|
||||||
- pkgcheck scan $common_pkgcheck_args --commits $CI_COMMIT_SHA
|
|
||||||
|
|
||||||
pkgcheck_full_scan:
|
pkgcheck_full_scan:
|
||||||
rules:
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
|
when: never
|
||||||
|
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
|
||||||
|
when: manual
|
||||||
- allow_failure: true
|
- allow_failure: true
|
||||||
- if: $CI_PIPELINE_SOURCE != 'merge_request_event'
|
|
||||||
script:
|
script:
|
||||||
- pkgcheck ci $common_pkgcheck_args
|
- pkgcheck ci $common_pkgcheck_args
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user