]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Run Coverity Scan only when specific variables are present
authorMichal Nowak <mnowak@isc.org>
Wed, 12 Feb 2020 14:58:10 +0000 (14:58 +0000)
committerMichal Nowak <mnowak@isc.org>
Wed, 12 Feb 2020 14:58:10 +0000 (14:58 +0000)
Submissions to Coverity Scan should be limited to those originated from
release branches and only from a specific schedule which holds
COVERITY_SCAN_PROJECT_NAME and COVERITY_SCAN_TOKEN variables.

(cherry picked from commit 48530aa21395414b0f9788ea5ab158b2b09ab977)

.gitlab-ci.yml

index 5098d83f2b6e4dac122d157d39c6ce262b7d3596..7e321eaa703a6cac4d3e8bbef800dfc69bb8303d 100644 (file)
@@ -1137,8 +1137,9 @@ build:coverity:sid:amd64:
     expire_in: "1 week"
     when: on_failure
   only:
-    - schedules
-    - web
+    variables:
+      - $COVERITY_SCAN_PROJECT_NAME
+      - $COVERITY_SCAN_TOKEN
   cache:
     key: cov-analysis-linux64-2019.03
     paths: