Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1240

Document changes required for RM multi-arch release builds

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              wilfreds Wilfred Spiegelenburg
              ccondit Craig Condit
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: