-
Notifications
You must be signed in to change notification settings - Fork 277
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
DEB packages build #2526
DEB packages build #2526
Conversation
0a0f268
to
725ac9d
Compare
4466a6f
to
6bdba5d
Compare
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.
Looking good. Finish it up.
Codecov Report
@@ Coverage Diff @@
## main opensearch-project/OpenSearch-Dashboards#2526 +/- ##
==========================================
- Coverage 93.72% 93.17% -0.55%
==========================================
Files 158 167 +9
Lines 4414 4602 +188
==========================================
+ Hits 4137 4288 +151
- Misses 277 314 +37
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
b0d4c7f
to
c6d952b
Compare
c6d952b
to
a95cd00
Compare
Hi @dblock @bbarani @peterzhuamazon , requesting PR review on behalf of @mnin. Thanks! |
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.
Solid work.
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.
Thanks. After a more careful review I think there's a temp folder and a bit of a class hierarchy problem where it's easily fixable, see below, please.
a86ff6d
to
02322b8
Compare
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.
Potential conflict right here due to we added a change to support windows. |
Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
…ntrol.tar.zst issue when building on Ubuntu and trying installing the deb package on Debian Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
…file Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
# By Peter Zhu (8) and others # Via GitHub * upstream/main: (24 commits) Updated manifests. (opensearch-project#2894) Update ref for 2.4.0 with tags (opensearch-project#2906) Fix status syntax for gradle check (opensearch-project#2907) Add the consolidated release notes for 2.4.0 release (opensearch-project#2887) Revert set output command (opensearch-project#2903) Fix status code for gradle check with retry (opensearch-project#2902) Upgrade actions and remove deprecated set ouput commands (opensearch-project#2901) Update opensearch-2.4.0.yml (opensearch-project#2896) Resolve Window IntegTest copy and startup issues (opensearch-project#2892) Update IM ref to include fix (opensearch-project#2890) Fix manifest workflow failure (opensearch-project#2889) Install twine on clients image (opensearch-project#2884) Freeze the ref with commit ID (opensearch-project#2882) Add latest url update toggle on distribution workflows (opensearch-project#2881) Update promoteArtifacts to support win/zip and add timer for gradle check windows (opensearch-project#2869) Fix signing the artifacts for .asc signatures (opensearch-project#2850) Update the ref with 2.4 branch for OSD. (opensearch-project#2855) Update the OSD manifest with commit ID (opensearch-project#2862) Add gradle check support for windows agent (opensearch-project#2860) Add default copy for opensearch-dashboards yml and docker entrypoint (opensearch-project#2861) ... # Conflicts: # scripts/components/OpenSearch-Dashboards/install.sh
Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
146e93e
to
6af7f23
Compare
@mnin I am running into some assemble error here:
|
The argument `—output` can’t be used in the binutils which are delivered for the Amazon Linux distribution. The `cwd=dest` are enough to extract the data.tar.gz file into the right directory. Signed-off-by: Martin Wilhelmi <mnin@mnin.de>
c704057
to
efcd9ba
Compare
Assuming this is because debmake does not install by default on AL2, will install and check again soon:
|
As we discussed via Slack, we need to have a build system based on Debian or Ubuntu to build the DEB package, because |
I will need to have a new PR adding debian/ubuntu build image before this PR can be tested again. Thanks. |
New issue. As I have some issues with deb11 on docker (still fixing), I use an older image of ubuntu2004. See this error:
|
And install the package |
There are a few output that is not clear but overall the build is success, we can fix the nitpik parts in new PRs.
Thanks @mnin we are happy to merge this code. PS: also confirm that RPM is not touched and still runs well. Thanks. |
Seems like a new line is causing build failures: #2942 |
We should look at getting rid of |
@dblock would make sense to me to move this stuff into the official repository. |
Hey everyone, this is great and thanks a lot for pushing it up to also distribute deb packages. Was this already part of the release? Or it will come only within the next release? I'm getting:
when I try to install it usign APT repository:
Also, based on the convention I also can't access: https://artifacts.opensearch.org/releases/bundle/opensearch-build/deb/dist/opensearch/opensearch-2.4.0-linux-x64.deb -- it says Once again thanks a lot and looking forward to having it. |
Hi @GezimSejdiu this is only the python code to build on your local host. We are trying to see if we can get it up for a release but it takes time to get it properly automated on our system. Thanks. |
Description
Introduce deb package build.
Issues Resolved
#2460
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.