mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-28 12:58:07 +00:00
tests: rewrite coverity job to avoid deprecated "only" feature
The "only" feature has been deprecated for a while. The standard replacement is the rules:if feature. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
This commit is contained in:
parent
817d5eed1d
commit
61d75a11ef
@ -178,11 +178,6 @@ coverity:
|
|||||||
stage: .post
|
stage: .post
|
||||||
extends:
|
extends:
|
||||||
- .ubuntu-before_script
|
- .ubuntu-before_script
|
||||||
only:
|
|
||||||
refs:
|
|
||||||
- master
|
|
||||||
variables:
|
|
||||||
- $CI_PROJECT_PATH == "apparmor/apparmor"
|
|
||||||
script:
|
script:
|
||||||
- apt-get install --no-install-recommends -y curl git texlive-latex-recommended
|
- apt-get install --no-install-recommends -y curl git texlive-latex-recommended
|
||||||
- *install-c-build-deps
|
- *install-c-build-deps
|
||||||
@ -196,3 +191,5 @@ coverity:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "apparmor-*.tar.gz"
|
- "apparmor-*.tar.gz"
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_PATH == "apparmor/apparmor"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user