@@ -137,9 +137,12 @@ default:
137137 KUBERNETES_MEMORY_REQUEST : 8Gi
138138 KUBERNETES_MEMORY_LIMIT : 8Gi
139139 CACHE_TYPE : lib # default
140+ FF_USE_FASTZIP : " true"
141+ CACHE_COMPRESSION_LEVEL : " slowest"
142+
140143 RUNTIME_AVAILABLE_PROCESSORS_OVERRIDE : 4 # Runtime.getRuntime().availableProcessors() returns incorrect or very high values in Kubernetes
141144 cache :
142- - key : ' $CI_SERVER_VERSION-$ CACHE_TYPE' # Dependencies cache. Reset the cache every time gitlab is upgraded. ~Every couple months
145+ - key : ' $CACHE_TYPE' # Dependencies cache
143146 paths :
144147 # Cached dependencies and wrappers for gradle
145148 - .gradle/wrapper
@@ -148,8 +151,8 @@ default:
148151 policy : $DEPENDENCY_CACHE_POLICY
149152 unprotect : true
150153 fallback_keys : # Use fallback keys because all cache types are not populated. See note under: populate_dep_cache
151- - ' $CI_SERVER_VERSION- base'
152- - ' $CI_SERVER_VERSION- lib'
154+ - ' base'
155+ - ' lib'
153156 - key : $CI_PIPELINE_ID-$CACHE_TYPE # Incremental build cache. Shared by all jobs in the pipeline of the same type
154157 paths :
155158 - .gradle/caches/$GRADLE_VERSION
@@ -283,12 +286,12 @@ populate_dep_cache:
283286 CACHE_TYPE : " profiling"
284287# FIXME: Gitlab doesn't support s3 based caches >5GB. Fixed in Gitlab 17.5
285288# See: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26921#note_2132307223
286- # - GRADLE_TARGET: ":instrumentationTest"
287- # CACHE_TYPE: "inst"
288- # - GRADLE_TARGET: ":instrumentationLatestDepTest"
289- # CACHE_TYPE: "latestdep"
290- # - GRADLE_TARGET: ":smokeTest"
291- # CACHE_TYPE: "smoke"
289+ - GRADLE_TARGET : " :instrumentationTest"
290+ CACHE_TYPE : " inst"
291+ - GRADLE_TARGET : " :instrumentationLatestDepTest"
292+ CACHE_TYPE : " latestdep"
293+ - GRADLE_TARGET : " :smokeTest"
294+ CACHE_TYPE : " smoke"
292295
293296publish-artifacts-to-s3 :
294297 image : registry.ddbuild.io/images/mirror/amazon/aws-cli:2.4.29
0 commit comments