gitlab-ci.yml: only run coverity in the upstream project

This pipeline only makes sense to run in the upstream project where
the coverity variables are defined, so they currently fail in forks.

Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
Georgia Garcia 2024-09-19 11:58:30 -03:00
parent 07fe0e9a1b
commit c382efe119

View file

@ -152,6 +152,8 @@ coverity:
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