Skip to content
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

Merged
merged 7 commits into from
Oct 11, 2019

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Oct 9, 2019

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
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

@rjernst
Copy link
Member Author

rjernst commented Oct 10, 2019

@elasticmachine run elasticsearch-ci/oss-distro-docs

Copy link
Contributor

@mark-vieira mark-vieira left a 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.

@rjernst
Copy link
Member Author

rjernst commented Oct 11, 2019

@elasticmachine run elasticsearch-ci/2

@rjernst
Copy link
Member Author

rjernst commented Oct 11, 2019

@elasticmachine run elasticsearch-ci/1

@rjernst rjernst merged commit 0cb8cc7 into elastic:master Oct 11, 2019
@rjernst rjernst deleted the distro_download_snapshots branch October 11, 2019 22:22
rjernst added a commit that referenced this pull request Oct 11, 2019
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
howardhuanghua pushed a commit to TencentCloudES/elasticsearch that referenced this pull request Oct 14, 2019
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
@dweiss
Copy link
Contributor

dweiss commented Dec 16, 2019

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).

@rjernst
Copy link
Member Author

rjernst commented Dec 17, 2019

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.

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure >enhancement Team:Delivery Meta label for Delivery team v7.5.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for external (snapshot) distributions for the distribution download plugin
5 participants