-
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
[BUG] SymbolicLinkPreservingUntarTransform fails on Windows #1433
Conversation
Can one of the admins verify this patch? |
✅ DCO Check Passed 4eb348a415f735d4b2f1c6cd860a8e0659ec6c13 |
✅ Gradle Wrapper Validation success 4eb348a415f735d4b2f1c6cd860a8e0659ec6c13 |
❌ Gradle Precommit failure 4eb348a415f735d4b2f1c6cd860a8e0659ec6c13 |
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
✅ Gradle Wrapper Validation success 009a089 |
✅ DCO Check Passed 009a089 |
✅ Gradle Precommit success 009a089 |
start gradle check |
if (OperatingSystem.current().isWindows()) { | ||
// On Windows, include only Windows distributions and integTestZip | ||
final String nameLowerCased = name.toLowerCase(); | ||
final boolean skip = !(nameLowerCased.contains("windows") || nameLowerCased.contains("integtest")); |
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.
gross, but I will take it
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.
Not sure how to handle it better, we have only compound name like freebsdTar
, linuxArm64Tar
, ... , to make it a bit cleaner we could skip integtestZip
fe (I don't think this is a big deal), what do you think?
final boolean skip = !nameLowerCased.contains("windows");
@dblock thanks for merging, do you have a chance to verify |
…rch-project#1433) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@reta worked on my machine
Thanks a lot for this! |
Signed-off-by: Andriy Redko andriy.redko@aiven.io
Description
When building distribution on Windows, the
./gradle assemble
task fails on attempt to build Linux/MacOS distributions. The cause was identified (see please #1430) and after discussion with @dblock , we have concluded that the best plan for action in this case is to build only Windows distributions on Windows platform.The Docker images building task is also impacted since it reuses the Linux-based distributions in order to prepare the images. Since those are not built anymore on Windows, its execution becomes conditional.
Issues Resolved
Fixes #1430
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.