mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01: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
1 changed files with 2 additions and 5 deletions
|
@ -178,11 +178,6 @@ coverity:
|
|||
stage: .post
|
||||
extends:
|
||||
- .ubuntu-before_script
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
variables:
|
||||
- $CI_PROJECT_PATH == "apparmor/apparmor"
|
||||
script:
|
||||
- apt-get install --no-install-recommends -y curl git texlive-latex-recommended
|
||||
- *install-c-build-deps
|
||||
|
@ -196,3 +191,5 @@ coverity:
|
|||
artifacts:
|
||||
paths:
|
||||
- "apparmor-*.tar.gz"
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PROJECT_PATH == "apparmor/apparmor"
|
||||
|
|
Loading…
Add table
Reference in a new issue