-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add snapshot support to distribution download plugin #47837
Conversation
The distribution download plugin which handles finding built distributions for testing currently only knows how to find locally built snapshots. When an external Elasticsearch plugin uses build-tools, these snapshots do not exist. This commit extends the download plugin so it pulls from the Elastic snapshots service when used outside of the Elasticsearch repository. closes elastic#47123
Pinging @elastic/es-core-infra (:Core/Infra/Build) |
@elasticmachine run elasticsearch-ci/oss-distro-docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple minor comments, otherwise LGTM.
buildSrc/src/main/java/org/elasticsearch/gradle/DistributionDownloadPlugin.java
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/org/elasticsearch/gradle/ElasticsearchDistribution.java
Outdated
Show resolved
Hide resolved
buildSrc/src/main/java/org/elasticsearch/gradle/DistributionDownloadPlugin.java
Show resolved
Hide resolved
@elasticmachine run elasticsearch-ci/2 |
@elasticmachine run elasticsearch-ci/1 |
The distribution download plugin which handles finding built distributions for testing currently only knows how to find locally built snapshots. When an external Elasticsearch plugin uses build-tools, these snapshots do not exist. This commit extends the download plugin so it pulls from the Elastic snapshots service when used outside of the Elasticsearch repository. closes #47123
The distribution download plugin which handles finding built distributions for testing currently only knows how to find locally built snapshots. When an external Elasticsearch plugin uses build-tools, these snapshots do not exist. This commit extends the download plugin so it pulls from the Elastic snapshots service when used outside of the Elasticsearch repository. closes elastic#47123
Would be nice to port it back to 7.4.x - 7.4.2 doesn't contain it and prevents the build from even starting (bails on bwcVersions lookup in DistributionDownloadPlugin). |
7.4 likely will not see another release since 7.5 is the current minor release. And we don't ever re-release a version, so at best it would be 7.4.3. |
The distribution download plugin which handles finding built
distributions for testing currently only knows how to find locally built
snapshots. When an external Elasticsearch plugin uses build-tools, these
snapshots do not exist. This commit extends the download plugin so it
pulls from the Elastic snapshots service when used outside of the
Elasticsearch repository.
closes #47123