Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Now that YUNIKORN-1215 is complete, we need to document the new process for producing Docker images.
A couple things needed in addition to the documentation of the scripts themselves:
1. When building on linux, builds will fail if QEMU is not configured or installed properly. At least on Debian, this requires the `qemu-user-static` package.
2. After the release, we traditionally update the `{image}-latest` tags to point to the new build. Now that these are multi-arch builds, this is a little tricky. We need to copy the manifest, which is not as simple as a re-tag and push.
We could use this tool: https://github.com/regclient/regclient.
I verified that this works on a personal account (changing username of course):
regctl registry login regctl image copy apache/yunikorn:scheduler-1.1.0-test apache/yunikorn:scheduler-latest regctl image copy apache/yunikorn:scheduler-plugin-1.1.0-test apache/yunikorn:scheduler-plugin-latest regctl image copy apache/yunikorn:admission-1.1.0-test apache/yunikorn:admission-latest regctl image copy apache/yunikorn:web-1.1.0-test apache/yunikorn:web-latest
Doing something similar for all four images would allow us to maintain the "latest" images as before.
Attachments
Issue Links
- is related to
-
YUNIKORN-1215 Enable multi-arch release builds
- Closed
-
YUNIKORN-1243 Build replacement web UI image for e2e tests
- Closed
- links to