]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop scan-build CI job
authorMichal Nowak <mnowak@isc.org>
Fri, 16 Feb 2024 09:30:21 +0000 (10:30 +0100)
committerMichal Nowak <mnowak@isc.org>
Fri, 16 Feb 2024 10:08:32 +0000 (11:08 +0100)
This job won't pass without a BIND 9 code change. Something we must
avoid to prevent delivering security patches that might not apply
cleanly for someone without this purely CI-related code change.

.gitlab-ci.yml

index 303e72c11dca9d2865723df817d00befbbbf6da3..0b0596fe81fe937d7e2cb5ef63703821036d2934 100644 (file)
@@ -19,7 +19,6 @@ variables:
 
   CONFIGURE: ./configure
   CLANG: clang-17
-  SCAN_BUILD: scan-build-17
   ASAN_SYMBOLIZER_PATH: /usr/lib/llvm-17/bin/llvm-symbolizer
 
   CFLAGS_COMMON: -fno-omit-frame-pointer -fno-optimize-sibling-calls -O1 -g -Wall -Wextra 
@@ -658,36 +657,6 @@ unit:gcc:bullseye:amd64:
     - job: gcc:bullseye:amd64
       artifacts: true
 
-# Jobs for scan-build builds on Debian 11 "bullseye" (amd64)
-
-.scan_build: &scan_build
-  - ${SCAN_BUILD} --html-title="BIND 9 ($CI_COMMIT_SHORT_SHA)"
-                  --keep-cc
-                  --status-bugs
-                  --keep-going
-                  -o scan-build.reports make -j${BUILD_PARALLEL_JOBS:-1} all V=1
-
-scan-build:
-  <<: *default_triggering_rules
-  <<: *base_image
-  stage: postcheck
-  variables:
-    CC: "${CLANG}"
-    CFLAGS: "${CFLAGS_COMMON}"
-    CONFIGURE: "${SCAN_BUILD} ./configure"
-    EXTRA_CONFIGURE: "--with-libidn2"
-  script:
-    - *configure
-    - *scan_build
-  needs:
-    - job: autoreconf
-      artifacts: true
-  artifacts:
-    paths:
-      - scan-build.reports/
-    expire_in: "1 day"
-    when: on_failure
-
 # Job for out-of-tree GCC build on Debian 11 "bullseye" (amd64)
 # Also tests configration option: --with-lmdb.