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

Fix extraction of notarized Elasticsearch release distribution #49511

Merged
merged 1 commit into from
Nov 23, 2019

Conversation

mark-vieira
Copy link
Contributor

This commit introduces a workaround for an issue related to our recent
notarization of distributions starting with the 6.8.5 release. An
unintended side effect of notarization was that the file entries of the
release tar all have a ./ prefix in the path. This causes a number of
issues, not least of which is that our Gradle extract tasks end up
copying an empty fileset to the destination directory. The workaround
here is imply to remove the leading ./ path segment from each file
when performing the extraction. For more details see this issue:
#49417

This commit introduces a workaround for an issue related to our recent
notarization of distributions starting with the 6.8.5 release. An
unintended side effect of notarization was that the file entries of the
release tar all have a `./` prefix in the path. This causes a number of
issues, not least of which is that our Gradle extract tasks end up
copying an empty fileset to the destination directory. The workaround
here is imply to remove the leading `./` path segment from each file
when performing the extraction. For more details see this issue:
elastic#49417
@mark-vieira mark-vieira added :Delivery/Build Build or test infrastructure v7.6.0 v7.5.1 labels Nov 23, 2019
@mark-vieira mark-vieira requested a review from rjernst November 23, 2019 00:37
@elasticmachine
Copy link
Collaborator

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

@mark-vieira
Copy link
Contributor Author

I'm going to go ahead and merge this to sort out the CI failures.

@mark-vieira mark-vieira merged commit 777f6d5 into elastic:7.x Nov 23, 2019
mark-vieira added a commit that referenced this pull request Nov 23, 2019
This commit introduces a workaround for an issue related to our recent
notarization of distributions starting with the 6.8.5 release. An
unintended side effect of notarization was that the file entries of the
release tar all have a `./` prefix in the path. This causes a number of
issues, not least of which is that our Gradle extract tasks end up
copying an empty fileset to the destination directory. The workaround
here is imply to remove the leading `./` path segment from each file
when performing the extraction. For more details see this issue:
#49417
@mark-vieira mark-vieira deleted the distro-extract-fix-7.x branch December 2, 2019 19:28
@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 Team:Delivery Meta label for Delivery team v7.5.1 v7.6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants