gitlab-ci: ensure coverity job runs weekly
Currently, the condition is not strict enough, and so the job runs every time a scheduled task is triggered - which is currently daily. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1979
This commit is contained in:
@@ -60,11 +60,11 @@ variables:
|
|||||||
#
|
#
|
||||||
# This is done by running `ci-fairy generate-template` and possibly bumping
|
# This is done by running `ci-fairy generate-template` and possibly bumping
|
||||||
# ".default_tag".
|
# ".default_tag".
|
||||||
ALPINE_TAG: 'tag-f0b648c04526'
|
ALPINE_TAG: 'tag-21203a6f1da4'
|
||||||
CENTOS_TAG: 'tag-c2d500e0391f'
|
CENTOS_TAG: 'tag-15f80c990684'
|
||||||
DEBIAN_TAG: 'tag-7687baa06688'
|
DEBIAN_TAG: 'tag-1ce75d18715e'
|
||||||
FEDORA_TAG: 'tag-c2d500e0391f'
|
FEDORA_TAG: 'tag-15f80c990684'
|
||||||
UBUNTU_TAG: 'tag-7687baa06688'
|
UBUNTU_TAG: 'tag-1ce75d18715e'
|
||||||
|
|
||||||
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
|
||||||
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
|
||||||
@@ -649,7 +649,7 @@ coverity:
|
|||||||
stage: coverity
|
stage: coverity
|
||||||
needs: []
|
needs: []
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == 'schedule'
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_PIPELINE_NAME == "weekly"
|
||||||
script:
|
script:
|
||||||
- dnf install -y curl
|
- dnf install -y curl
|
||||||
- BUILD_TYPE=meson CC=gcc CONFIGURE_ONLY=1 contrib/scripts/nm-ci-run.sh
|
- BUILD_TYPE=meson CC=gcc CONFIGURE_ONLY=1 contrib/scripts/nm-ci-run.sh
|
||||||
|
@@ -258,7 +258,7 @@ coverity:
|
|||||||
stage: coverity
|
stage: coverity
|
||||||
needs: []
|
needs: []
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == 'schedule'
|
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_PIPELINE_NAME == "weekly"
|
||||||
script:
|
script:
|
||||||
- dnf install -y curl
|
- dnf install -y curl
|
||||||
- BUILD_TYPE=meson CC=gcc CONFIGURE_ONLY=1 contrib/scripts/nm-ci-run.sh
|
- BUILD_TYPE=meson CC=gcc CONFIGURE_ONLY=1 contrib/scripts/nm-ci-run.sh
|
||||||
|
Reference in New Issue
Block a user