-
Epic
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
Consolidate upload code to osbuild/images
-
Done
-
image-builder-1
-
0% To Do, 0% In Progress, 100% Done
-
False
After the split of image definitions out from osbuild-composer to osbuild/images, we ended up in a state where we have two copies of the code that uploads images to the target environment, in both repositories. These copies are getting out of sync, and the majority of the code in osbuild/image is not used at all.
The long-term plan is for the upload code to live in osbuild/images and be imported and used by all of our implementations that upload images (currently image-builder CLI and osbuild-composer). The uploader code will most probably be refactored and changed in the future, but the first step is to move it to a single place and make all projects consolidate on this single implementation.
Acceptance criteria:
- The internal/upload and internal/cloud directories are deleted from osbuild-composer.
- osbuild-composer worker job implementations use the upload code from osbuild/images.