HADOOP-19840. Release hadoop-thirdparty 1.6.0: docker setup for mac and maven 3.9.12#53
Open
steveloughran wants to merge 1 commit intoapache:trunkfrom
Open
Conversation
…nd maven 3.9.12 Fix release tooling for macOS (Apple Silicon) support: - Dockerfile: install Maven 3.9.12 (Bionic ships 3.6.0, below the required 3.6.3 minimum) - Dockerfile: set JAVA_HOME via arch-aware symlink to support both amd64 and arm64 - Dockerfile: pin wrapt==1.11.2 and lazy-object-proxy==1.4.3 to avoid Python 2.7 incompatible setup.cfg attr: version parsing - create-release: fix JAVA_HOME to use arch-aware symlink (script overrides Dockerfile value) - create-release: mount ~/.gnupg read-only at /gnupg-source and provide a tmpfs at ~/.gnupg with correct uid/gid so gpg-agent can bind its Unix domain socket (macOS volume mounts do not support Unix domain sockets) - Validate Maven 3.9.12 tarball SHA-512 checksum in Dockerfile. - do the same for the existing .deb download. These will detect and fail if either of these files are tampered with. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
Note that some of this ends up copying my gpg release keys into the docker image for mac deployments. I don't like that. I think I'll do a release on an x86 box to keep secrets out of the image, therefore guaranteeing the secrets aren't in the release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix release tooling for macOS (Apple Silicon) support:
most of this was done with copilot + claude model; it works on the mac, but I need yetus
to see if it runs too. The fact that the maven upgrade was broken on docker is interesting, as it implies that yetus isn't building through docker.