mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-12 23:50:35 -04:00
ci: disable more jobs if $COVERITY
If the pipeline is running for coverity scan, then only two jobs are needed: * container_coverity * build_with_coverity but currently 4 container, 1 build, and 1 deploy jobs are running unnecessarily. Disable the container jobs by simply extending `.not_coverity`. The `build_on_fedora_html_docs` and `pages` jobs already extend `not_coverity`, however, they override the `rules` section, hence it is replaced, so the "not coverity" condition is lost. Fix that by adding the condition separately. (`build_on_fedora_html_docs` referencesc the rules of `pages`, so modifying the latter is sufficient.)
This commit is contained in:
parent
e286061df4
commit
5bc76c7d07
1 changed files with 6 additions and 2 deletions
|
|
@ -276,6 +276,7 @@ container_ubuntu:
|
|||
extends:
|
||||
- .ubuntu
|
||||
- .fdo.container-build@ubuntu
|
||||
- .not_coverity
|
||||
stage: container
|
||||
variables:
|
||||
GIT_STRATEGY: none # no need to pull the whole tree for rebuilding the image
|
||||
|
|
@ -285,6 +286,7 @@ container_debian:
|
|||
- .debian
|
||||
- .debian-archictectures
|
||||
- .fdo.container-build@debian
|
||||
- .not_coverity
|
||||
stage: container
|
||||
variables:
|
||||
GIT_STRATEGY: none # no need to pull the whole tree for rebuilding the image
|
||||
|
|
@ -296,6 +298,7 @@ container_fedora:
|
|||
extends:
|
||||
- .fedora
|
||||
- .fdo.container-build@fedora
|
||||
- .not_coverity
|
||||
stage: container
|
||||
variables:
|
||||
GIT_STRATEGY: none # no need to pull the whole tree for rebuilding the image
|
||||
|
|
@ -304,6 +307,7 @@ container_alpine:
|
|||
extends:
|
||||
- .alpine
|
||||
- .fdo.container-build@alpine
|
||||
- .not_coverity
|
||||
stage: container
|
||||
variables:
|
||||
GIT_STRATEGY: none # no need to pull the whole tree for rebuilding the image
|
||||
|
|
@ -733,8 +737,6 @@ check_missing_headers:
|
|||
- ./.gitlab/ci/check_missing_headers.sh
|
||||
|
||||
pages:
|
||||
extends:
|
||||
- .not_coverity
|
||||
stage: pages
|
||||
needs:
|
||||
- job: build_on_fedora_html_docs
|
||||
|
|
@ -751,4 +753,6 @@ pages:
|
|||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $COVERITY != null
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH == 'master'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue