Skip to content

Commit 833e4b8

Browse files
Revert "remove fallback keys and note"
This reverts commit ae8f7ce.
1 parent ae8f7ce commit 833e4b8

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.gitlab-ci.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ default:
150150
- .gradle/notifications
151151
policy: $DEPENDENCY_CACHE_POLICY
152152
unprotect: true
153+
fallback_keys: # Use fallback keys because all cache types are not populated. See note under: populate_dep_cache
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
@@ -281,12 +284,14 @@ populate_dep_cache:
281284
CACHE_TYPE: "base"
282285
- GRADLE_TARGET: ":profilingTest"
283286
CACHE_TYPE: "profiling"
284-
- GRADLE_TARGET: ":instrumentationTest"
285-
CACHE_TYPE: "inst"
286-
- GRADLE_TARGET: ":instrumentationLatestDepTest"
287-
CACHE_TYPE: "latestdep"
288-
- GRADLE_TARGET: ":smokeTest"
289-
CACHE_TYPE: "smoke"
287+
# FIXME: Gitlab doesn't support s3 based caches >5GB. Fixed in Gitlab 17.5
288+
# See: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/26921#note_2132307223
289+
# - GRADLE_TARGET: ":instrumentationTest"
290+
# CACHE_TYPE: "inst"
291+
# - GRADLE_TARGET: ":instrumentationLatestDepTest"
292+
# CACHE_TYPE: "latestdep"
293+
# - GRADLE_TARGET: ":smokeTest"
294+
# CACHE_TYPE: "smoke"
290295

291296
publish-artifacts-to-s3:
292297
image: registry.ddbuild.io/images/mirror/amazon/aws-cli:2.4.29

0 commit comments

Comments
 (0)