Skip to content

Commit 816cedc

Browse files
authored
[CI] Do not cache any es distros when creating ci images (#110742)
1 parent 3f9fea2 commit 816cedc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

qa/packaging/build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ tasks.register('destructivePackagingTest') {
3838
}
3939

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

0 commit comments

Comments
 (0)