Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-10262

Add local config field to composer

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None

      Currently osbuild/images assume the container is in local storage and therefore uses containers-storage source. Make this configurable behavior, when a new flag "local" set to false, it would use skopeo source to download the container.

      This means the osbuild command on worker is self-sufficient and it can download all data, then we can tar it and copy to the executor like we do currently. No changes necessary.

      Make sure this option can be configured via runtime configuration, we will set this flag to false for insights cluster.

      The local storage field already exists in images, we just need to expose it so composer can use it and create a config option: https://github.com/osbuild/images/blob/7328a3efc2b79ed6a84bee5bdf18add18d07f13c/pkg/osbuild/source.go#L156-L166

              Unassigned Unassigned
              rhn-engineering-lzapletal Lukáš Zapletal
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: