Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken odo download link #1656

Open
michael-valdron opened this issue Dec 10, 2024 · 2 comments
Open

Broken odo download link #1656

michael-valdron opened this issue Dec 10, 2024 · 2 comments
Assignees
Labels
area/ci area/registry Devfile registry for stacks and infrastructure kind/bug Something isn't working

Comments

@michael-valdron
Copy link
Member

/kind bug

Which area is this bug related to?

/area ci
/area registry

Bug Summary

Describe the bug:

Check devfile registry odo V3 build & deploy is failing due to a broken download URL for the checksum file within the redhat-actions/openshift-tools-installer action.

To Reproduce:

To reproduce on the URL:

curl -OL https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.15.0/sha256sum.txt

Rerun the check to trigger the same result with the action.

Expected behavior

redhat-actions/openshift-tools-installer action should be able to download both the checksum file and the binary tar to perform the hash comparison for file integrity and install odo.

Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable

🔎 Searching for a version of odo satisfying the range "3.15.0" that was input as "3.15.0"
Download directory for odo is https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/
Max odo version satisfying 3.15.0 is 3.15.0
Current operating system is linux
Current architecture is amd64
Selecting odo-linux-amd64.tar.gz
Using temporary directory for storage
📁 CLIs will be downloaded to /home/runner/work/_temp/openshift-bin
Added /home/runner/work/_temp/openshift-bin to PATH
Checking the cache for odo v3.15.0...
odo v3.15.0 was not found in the cache.
⬇️ Downloading 28.18MB https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.15.0/odo-linux-amd64.tar.gz ...
Downloaded odo-linux-amd64.tar.gz in 0.5s
⬇️ Downloading hash file https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/v3.15.0/sha256sum.txt
Error: Error: Error: Did not find file "odo-linux-amd64.tar.gz" in the given hash file

Additional context

Any workaround?

Switch to downloading the odo build manually instead of the action.

Suggestion on how to fix the bug

Update the redhat-actions/openshift-tools-installer action if there's a patch available, fall back on the workaround if there's none.

@openshift-ci openshift-ci bot added kind/bug Something isn't working area/ci area/registry Devfile registry for stacks and infrastructure labels Dec 10, 2024
@michael-valdron michael-valdron moved this to Refinement in Devfile Project Dec 10, 2024
@michael-valdron
Copy link
Member Author

Update the redhat-actions/openshift-tools-installer action if there's a patch available, fall back on the workaround if there's none.

Also fall back on workaround if the available patch does not fix this issue.

@michael-valdron
Copy link
Member Author

Looks like an open issue on the action's side: redhat-actions/openshift-tools-installer#113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci area/registry Devfile registry for stacks and infrastructure kind/bug Something isn't working
Projects
Status: In Progress 🚧
Development

No branches or pull requests

1 participant