-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Support building without containers (docker) #7962
Comments
I believe we use to skip Docker dependent steps in build but not for distribution targets:
Should not be too difficult to fix that. Also, for |
@minalsha what's the suggestion exactly? To skip the tasks. I don't think that's a real solution. |
The current state is that the below sub-projects require docker to build due to tests:
The ideal solution would be to split tests to ones which require docker and the ones which don't, so when downstream projects building those are able to only execute tests which don't require docker with a command line flag (until podman is solved). |
I am going to say something controversial, but I think integration tests (that require docker) should not be required to produce the distribution build. IMO that is backwards in OpenSearch, I'd want to make sure all code compiles/builds/assembles, then I want to run integration tests with the output. Another far-fetched idea: we could go as far as removing these plugins from core repo 🤔 they bring a significant amount of annoying dependencies (e.g. AWS SDK for repository-s3). |
Agree
We POCed that :-) #1754 |
I agree with the above sentence 100%.
Would this |
AFAIK |
Is your feature request related to a problem? Please describe.
I'm a packager of OpenSearch in Arch Linux and would like to be able to build without docker since in our chroot environment we can't start docker.
Describe the solution you'd like
I'd like to have the ability to skip any docker steps which are not required for building the project even if it means skipping some tests
Describe alternatives you've considered
I tried using podman but it's not supported - I believe this is in discussion / progress. Even if podman is available as alternative the ability to build the project without containers would be beneficial and unblock me, then I can work on maybe enabling podman when it comes available.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: