-
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
[Enhancement] Adding TYPE Support With archives/packages/dirs Options #2571
Comments
Initially we think running In 1.3.0 it failed as well and turns out it is using the same
This is really a blocker now if we cannot fix it in the core. |
It's not easy to retain the files before the rpm package, because packaging process is controlled by Gradle nebula ospackage plugin. |
I agree with @xuezhou25. We're building RPM in core, but then we want to add things to RPM and rebuild RPM again for the bundle build. I think if we want directory output, or some other output we need to add a different distribution target. |
@peterzhuamazon what is your thought on the suggested approach? |
@dblock @saratvemulapalli This PR #2602 is raised to resolve #2517 temporarily. Thanks. |
Closing this in favor of #2665 to track a longer term solution here |
This issue is a expansion of #2517.
We want to add a TYPE parameter (
-Dbuild.type
?) during core build, TYPE=archives/packages/dirs.User can do distribution=rpm;type=dirs and they will be provided with directory of files that is built for rpm, instead of rpm pkg as a final result.
This is specifically useful when we want to install additional plugins, more changes, extra tweaks before packaging them into final release artifacts, without the need to untar/unzip/extract rpm before repackaging them back.
This would also avoid many issues during the extraction phase and we can completely remove the extraction out of the code base of opensearch-build repo.
Thanks.
The text was updated successfully, but these errors were encountered: