Browse Source

[CI] Do not cache any es distros when creating ci images (#110742)

Rene Groeschke 1 year ago
parent
commit
816cedc217
1 changed files with 2 additions and 7 deletions
  1. 2 7
      qa/packaging/build.gradle

+ 2 - 7
qa/packaging/build.gradle

@@ -38,11 +38,6 @@ tasks.register('destructivePackagingTest') {
 }
 
 tasks.named('resolveAllDependencies') {
-  // Don't try and resolve all distros but only the latest patch versions of each minor
-  def latestBugfixVersions = org.elasticsearch.gradle.internal.info.BuildParams.getBwcVersions().getIndexCompatible()
-      .groupBy { [it.major, it.minor] }
-      .collectEntries { key, value -> [key, value.max()] }
-      .values()
-
-  configs = configurations.matching { configName -> latestBugfixVersions.any { v -> configName.name.endsWith(v.toString()) } }
+  // avoid resolving all elasticsearch distros
+  enabled = false
 }