]> 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:47:52 +0000 (14:47 +0000)
committerMichal Nowak <mnowak@isc.org>
Wed, 12 Feb 2020 14:47:52 +0000 (14:47 +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 8844bbd00f70b7b814b488727e15d13f9d01d5e7..3e980c8949a875ba03dbf04741e11dc4ed5c1398 100644 (file)
@@ -1243,8 +1243,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: