You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUILDER_IMAGE_REPO: "registry.ddbuild.io/images/mirror/dd-trace-java-docker-build"# images are pinned in images/mirror.lock.yaml in the DataDog/images repo
@@ -228,6 +229,11 @@ default:
228
229
- export GRADLE_USER_HOME=$(pwd)/.gradle
229
230
# replace maven central part by MAVEN_REPOSITORY_PROXY in .mvn/wrapper/maven-wrapper.properties
230
231
- sed -i "s|https://repo.maven.apache.org/maven2/|$MAVEN_REPOSITORY_PROXY|g" .mvn/wrapper/maven-wrapper.properties
232
+
# Route Gradle distribution download through MASS pull-through cache
233
+
- |
234
+
mass_read_host="${MASS_READ_URL#https://}"
235
+
mass_read_host="${mass_read_host%/}"
236
+
sed -i "/^distributionUrl=/ s|services.gradle.org|${mass_read_host}/internal/artifact/services.gradle.org|" gradle/wrapper/gradle-wrapper.properties
231
237
- mkdir -p .mvn/caches
232
238
# Redirect Spotless's Equo/Solstice P2 cache into the project tree so it is captured by the GitLab cache.
233
239
# Solstice (https://github.com/equodev/equo-ide) defaults to ~/.m2/repository/dev/equo/p2-data, which is outside $CI_PROJECT_DIR.
0 commit comments