-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 darwin-arm64-tar and no-jdk-darwin-arm64-tar archive distributions. #1668
Conversation
Can one of the admins verify this patch? |
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.
Nice, thanks!
✅ Gradle Wrapper Validation success 42864d2cf6e6d59ae4525005403647a709e417e0 |
start gradle check |
✅ Gradle Precommit success 42864d2cf6e6d59ae4525005403647a709e417e0 |
❌ Gradle Check failure 42864d2cf6e6d59ae4525005403647a709e417e0 |
❌ Gradle Check failure 42864d2cf6e6d59ae4525005403647a709e417e0 |
start gradle check |
❌ Gradle Check failure 42864d2cf6e6d59ae4525005403647a709e417e0 |
Looking at the build error, looks like an issue with networking.
Not sure how my changes could impact this. Or maybe an issue on GitHub's side |
I had a deeper look at what's happening by running locally and it looks like there is something wrong with tests around BWC:
I spent some time in these tests but I cannot understand where this comes from. Can anyone help here? Thanks |
@saratvemulapalli is familiar with this, help? |
❌ Gradle Check failure dbd35c49f41b0141aa756b11a81474cce18da221 |
This needs a rebase please. |
@sharp-pixel Do you want help with this? Want to finish it up? |
I somehow missed this. Will take a look. |
@sharp-pixel could you rebase this and merge from main? |
Signed-off-by: Cédric Pelvet <[email protected]>
Signed-off-by: Cédric Pelvet <[email protected]>
dbd35c4
to
d6ce60b
Compare
I rebased my changes. I did more debugging on my side from on an Apple Silicon Mac, and it looks like the BWC process is checking compatibility with previous versions (starting from 7.x) with the darwin-arm4 arch. The problem is that these distributions don't exist. I would need to explicitely say that the first darwin-arm64 version is this one for the backward compatibility checks, but couldn't find out how. |
Yes, sorry for the delay, was checking more things on my side + holidays |
Beware that even though all tests pass here, |
Yes, this is a step forward, but we have more work to do to CI/CD for Darwin. |
@sharp-pixel We have a parent item, opensearch-project/opensearch-build#38, so if there's something we can do here next to advance the big picture? |
Could you open an issue with the failures?
|
I'll let @sharp-pixel do that and describe it nicely ;) |
Hello, I was wondering if this could be applied to the 1.3.x branch as well? I would like to be able to install that version specifically on my Mac. |
@radar AFAIK there are no more 1.3.x releases except for high sev security patches, https://github.com/orgs/opensearch-project/projects/1. That said you can PR it manually into 1.x and 1.3 and we can probably merge it since it's just build scripts. |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.x 1.x
# Navigate to the new working tree
cd .worktrees/backport-1.x
# Create a new branch
git switch --create backport/backport-1668-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 1bb88641788abdbfd72b76c9741880cb3b1ae37a
# Push it to GitHub
git push --set-upstream origin backport/backport-1668-to-1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.x Then, create a pull request where the |
No problems @dblock, thank you for the headsup. |
Signed-off-by: Cédric Pelvet [email protected]
Description
Add darwin-arm64-tar and no-jdk-darwin-arm64-tar flavors for the archives distribution.
Issues Resolved
#1667
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.