Fix rosa asset naming for v1.2.65 - #1283
Conversation
v1.2.65 changed asset names from rosa_Linux_x86_64.tar.gz to rosa_linux_amd64.zip - lowercase OS, amd64 instead of x86_64, and zip instead of tar.gz. Update the template and tests, and verify the generated URLs against the actual release assets. Naming change queried upstream in openshift/rosa#3499 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
AI Pull Request OverviewDisclaimer: This review was generated by automated AI and may contain errors. Do not trust its outputs without human verification. Summary
Approval rating (1-10)6/10. The current release path is addressed, but the change regresses explicit downloads of older ROSA versions. Summary per fileSummary per file
Overall AssessmentThe PR appears to fix ROSA URL generation for v1.2.65, but it does so by replacing the template globally. Since Detailed ReviewDetailed ReviewFindingsMedium: Older explicit ROSA versions now resolve to the wrong asset names
The updated This matters because AI agent details. |
rosa v1.2.65 changed asset naming:
rosa_Linux_x86_64.tar.gz→rosa_linux_amd64.zip(lowercase OS, amd64 instead of x86_64, zip instead of tar.gz). Updates the template and tests to the new naming.Naming change queried upstream in openshift/rosa#3499 - pending their answer on whether it's intentional, this fixes our URLs against the current assets.
Verified:
go run . get rosa --os linux --arch x86_64 --version v1.2.65downloads a valid ELF binary; unit test updated to v1.2.65 asset names.Linked issue filed upstream: openshift/rosa#3499