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

Package the JDK into jdk.app on macOS #48765

Merged
merged 3 commits into from
Oct 31, 2019
Merged

Conversation

jasontedor
Copy link
Member

This commit packages the bundled JDK into jdk.app on macOS to assist with notarization there.

This commit packages the bundled JDK into jdk.app on macOS to assist
with notarization there.
@jasontedor jasontedor added >enhancement :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts v8.0.0 v7.5.0 v7.6.0 labels Oct 31, 2019
@elasticmachine
Copy link
Collaborator

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

@jasontedor
Copy link
Member Author

@elasticmachine run elasticsearch-ci/bwc

@jasontedor
Copy link
Member Author

@elasticmachine update branch

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.

LGTM.

@jasontedor could you provide some context as to how this helps with notarization? It's not immediately obvious to me what exactly renaming the directory we put the jdk in accomplishes to that effect.

distribution/archives/build.gradle Show resolved Hide resolved
Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasontedor
Copy link
Member Author

@mark-vieira It puts the directory structure into the format that Apple expects for application bundles (${name}.app/Contents/MacOS). We're then signing and notarizing the jdk.app bundle the controller.app bundle (for machine learning binaries) separately.

@jasontedor jasontedor merged commit 9b73169 into elastic:master Oct 31, 2019
jasontedor added a commit that referenced this pull request Oct 31, 2019
This commit packages the bundled JDK into jdk.app on macOS to assist
with notarization there.
jasontedor added a commit that referenced this pull request Oct 31, 2019
This commit packages the bundled JDK into jdk.app on macOS to assist
with notarization there.
@jasontedor jasontedor deleted the jdk.app branch October 31, 2019 19:13
@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/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >enhancement Team:Delivery Meta label for Delivery team v7.5.0 v7.6.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants