redhat-cop / rhel-edge-automation-arch

RHEL for Edge Automation Deployment Architecture
Apache License 2.0
44 stars 33 forks source link

Fixes wrong content type for ISO image in Nexus #177

Closed jordigilh closed 2 years ago

jordigilh commented 2 years ago

Splits the upload task for ISO and non-ISO files. ISO files have a content-type of application/x-iso9660-image, according to Nexus. Nexus will fail the upload when using application/octet-stream as content type for ISO images.

@nasx @sabre1041 please review. Let me know if you know of a better way of implementing this.

jordigilh commented 2 years ago

Still didn't work. I put this PR on hold for now, but if you have any ideas let me know.

jordigilh commented 2 years ago

Do we need the .iso file? I can only find references for the .qcow2 file in the image-builder-vm.yaml file. Can we skip the .iso @nasx?