ci: use default_distro for coverity job

Previously, the coverity scheduled job seemed to fail
randomly because the image that it expected to use was
not available, due to not depending on the "prep" job.

This commit resolves the problem by making sure
the image is always built when coverity runs.
This commit is contained in:
Jan Vaclav
2025-01-13 12:36:15 +01:00
parent 7633b5e493
commit 9ed9037465
2 changed files with 17 additions and 13 deletions

View File

@@ -60,11 +60,11 @@ variables:
#
# This is done by running `ci-fairy generate-template` and possibly bumping
# ".default_tag".
ALPINE_TAG: 'tag-490e97b0b9c7'
CENTOS_TAG: 'tag-4a2c52092329'
DEBIAN_TAG: 'tag-aef8f2fd2198'
FEDORA_TAG: 'tag-4a2c52092329'
UBUNTU_TAG: 'tag-aef8f2fd2198'
ALPINE_TAG: 'tag-28624746b6b1'
CENTOS_TAG: 'tag-ca7bb4b2cd94'
DEBIAN_TAG: 'tag-37f5e32f6021'
FEDORA_TAG: 'tag-ca7bb4b2cd94'
UBUNTU_TAG: 'tag-37f5e32f6021'
ALPINE_EXEC: 'bash .gitlab-ci/alpine-install.sh'
CENTOS_EXEC: 'bash .gitlab-ci/fedora-install.sh'
@@ -112,7 +112,7 @@ tier1:fedora:41@prep:
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
FDO_DISTRIBUTION_EXEC: $FEDORA_EXEC
rules:
- if: $CI_PIPELINE_SOURCE != 'schedule'
- if: $CI_PIPELINE_SOURCE != 'schedule' || $SCHEDULED_PIPELINE_NAME == "weekly"
tier2:fedora:rawhide@prep:
extends:
@@ -674,10 +674,11 @@ coverity:
extends:
- .fdo.distribution-image@fedora
variables:
FDO_DISTRIBUTION_VERSION: '40'
FDO_DISTRIBUTION_VERSION: '41'
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
stage: coverity
needs: []
needs:
- "tier1:fedora:41@prep"
rules:
- if: $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_PIPELINE_NAME == "weekly"
script: