2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

Drop coverity cache feature

The coverity CI job cache feature is used to ensure that the 1 GB
cov-analysis-linux64.tgz file is being cached on GitLab CI runner, where
it was downloaded in the past. This feature does not seem to work
anymore; given that the proper solution to creating distributed cache is
complicated, better to drop the feature altogether.
This commit is contained in:
Michal Nowak 2022-02-14 21:06:31 +01:00
parent 8b48172d82
commit c966304e90
No known key found for this signature in database
GPG Key ID: 24A3E8463AEE5E56

View File

@ -1174,16 +1174,14 @@ release:
# Coverity Scan analysis upload # Coverity Scan analysis upload
.coverity_cache_prep: &coverity_cache_prep .coverity_prep: &coverity_prep
- test -f cov-analysis-linux64.md5 && test -f cov-analysis-linux64.tgz || ( - curl --output cov-analysis-linux64.md5 https://scan.coverity.com/download/linux64
curl --output cov-analysis-linux64.md5 https://scan.coverity.com/download/linux64
--form project=$COVERITY_SCAN_PROJECT_NAME --form project=$COVERITY_SCAN_PROJECT_NAME
--form token=$COVERITY_SCAN_TOKEN --form token=$COVERITY_SCAN_TOKEN
--form md5=1; --form md5=1
curl --output cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 - curl --output cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64
--form project=$COVERITY_SCAN_PROJECT_NAME --form project=$COVERITY_SCAN_PROJECT_NAME
--form token=$COVERITY_SCAN_TOKEN; --form token=$COVERITY_SCAN_TOKEN
)
- test "$(md5sum cov-analysis-linux64.tgz | awk '{ print $1 }')" = "$(cat cov-analysis-linux64.md5)" - test "$(md5sum cov-analysis-linux64.tgz | awk '{ print $1 }')" = "$(cat cov-analysis-linux64.md5)"
- tar --extract --gzip --file=cov-analysis-linux64.tgz - tar --extract --gzip --file=cov-analysis-linux64.tgz
- test -d cov-analysis-linux64-2021.12.1 - test -d cov-analysis-linux64-2021.12.1
@ -1208,7 +1206,7 @@ coverity:
CFLAGS: "${CFLAGS_COMMON} -Og" CFLAGS: "${CFLAGS_COMMON} -Og"
EXTRA_CONFIGURE: "--with-libidn2" EXTRA_CONFIGURE: "--with-libidn2"
script: script:
- *coverity_cache_prep - *coverity_prep
- *configure - *configure
- *coverity_build - *coverity_build
needs: needs:
@ -1224,11 +1222,6 @@ coverity:
variables: variables:
- $COVERITY_SCAN_PROJECT_NAME - $COVERITY_SCAN_PROJECT_NAME
- $COVERITY_SCAN_TOKEN - $COVERITY_SCAN_TOKEN
cache:
key: cov-analysis-linux64-2021.12.1
paths:
- cov-analysis-linux64.md5
- cov-analysis-linux64.tgz
# Respdiff tests # Respdiff tests