-
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
Automating Docker Release for Opensearch and Opensearch Dashboards #801
Comments
Can this be made generic to support #726 as well? |
It is. |
Create a bot account as part of the prod automation. |
Adding a EC2 image builder to create Jenkins Docker Build AMI. |
V458352478 |
Some issues pop up as x64 host not able to run logstash-plugin on arm64 through buildx. The command timed out and even failed with logstash-plugin --help.
|
Trying to see if running on arm64 host would help. |
See an issue:
This only shows after running buildx on arm64 host and the amd64 shows this, errors shows opposite on the buildx docker based on the host arch. Assuming this is related to binary translation issues with qemu. |
Seems common issue: docker/for-mac#5123 |
Seems like the best building platform for issues with this is still on docker desktop on macOS x64. |
Seems like this is specific to Ubuntu2004 which is the one I am using. |
Tried qemu 5 installation but doesnt seems resolving the issue: |
Multiple comments have indicate the switching back from 11 to 10 debian, aka 20 to 19 Ubuntu would fix the issue:
However, Ubuntu 19 is already out of support. |
Debian10 has docker 18 which does not recognize the cli plugin buildx, despite it is running API over 1.25 version.
https://docs.docker.com/engine/reference/commandline/plugin/ |
Also, Ubuntu 1804 despite is using Debian 10 it is not possible as binfmt-support version 2.1.43 or later is required. |
After manually install docker to the higher version on Debian 10 I am able to see docker buildx:
https://download.docker.com/linux/debian/dists/buster/pool/stable/amd64/
|
After a long battle with all the combinations between debian 10 x64/arm64, ubuntu 2004 x64/arm64, the conclusion is, you need to properly upgrade Ubuntu 2004 x64 host qemu to 5.0 (not available on any other 3 combination):
It works:
|
|
More improvements:
|
Create #952 for the improvements, we can close this issue for now. |
Is your feature request related to a problem? Please describe
https://github.com/opensearch-project/opensearch-build/blob/main/docker/release/README.md
Currently the docker release build process is manual and is done on the server. This needs to be automated and added to the Jenkins workflow.
Describe the solution you'd like
Adding the automated build release for docker to the Jenkins workflow.
Describe alternatives you've considered
No response
Additional context
No response
Outstanding Tasks(Outdated):The text was updated successfully, but these errors were encountered: