]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop ccache support from CI 12130/head
authorMichal Nowak <mnowak@isc.org>
Thu, 28 May 2026 10:24:14 +0000 (12:24 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 28 May 2026 12:47:19 +0000 (14:47 +0200)
The population of the compile cache is so slow, that a BIND 9 build can
take 20 minutes.

Assisted-by: Claude:claude-opus-4-7
(cherry picked from commit cbc8664567e374dc305c88f8ffd55c8597e14155)

.gitlab-ci.yml

index 6688bd95ca27eff99bc80d8e081aa5924961ad21..dd4a4a84f865c8b1af11444ddadc49860688a90e 100644 (file)
@@ -8,7 +8,6 @@ variables:
   LC_ALL: C
 
   CI_REGISTRY_IMAGE: registry.gitlab.isc.org/isc-projects/images/bind9
-  CCACHE_DIR: "/ccache"
   SOFTHSM2_CONF: "/var/tmp/softhsm2/softhsm2.conf"
 
   # VirtualBox driver needs to set build_dir to "/builds" in gitlab-runner.toml
@@ -197,7 +196,6 @@ stages:
   <<: *default_triggering_rules
   stage: build
   before_script:
-    - test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}"
     - test -n "${OOT_BUILD_WORKSPACE}" && mkdir "${OOT_BUILD_WORKSPACE}" && cd "${OOT_BUILD_WORKSPACE}"
   script:
     - *configure
@@ -423,7 +421,6 @@ docs:
   <<: *base_image
   stage: docs
   before_script:
-    - test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}"
     - test -n "${OOT_BUILD_WORKSPACE}" && mkdir "${OOT_BUILD_WORKSPACE}" && cd "${OOT_BUILD_WORKSPACE}"
   script:
     - *configure