redhat-actions / openshift-tools-installer

Download, install and cache OpenShift binaries into your GitHub Actions runners.
https://github.com/marketplace/actions/openshift-tools-installer
MIT License
22 stars 21 forks source link

[BUG] Invalid URL for tkn #57

Closed pcarney8 closed 2 years ago

pcarney8 commented 2 years ago

Version

redhat-actions/openshift-tools-installer@v1

Describe the bug

Error: Invalid URL: /pub/openshift-v4/x86_64/clients/pipeline/0.13.1/ it appears the openshift-tools-installer has an invalid URL to where the tools are. it appears https://mirror.openshift.com/pub/openshift-v4/clients/pipeline/0.13.1/ shows the tarballs but i'm not seeing an x86_64 in the path

Steps to reproduce, workflow links, screenshots

Run redhat-actions/openshift-tools-installer@v1
Installing tkn matching version "0.13.1"
ℹī¸ Tools will be installed from "mirror".

🔎 Searching for a version of tkn satisfying the range "0.13.1" that was input as "0.13.1"
Download directory for tkn is https://mirror.openshift.com/pub/openshift-v4/clients/pipeline/
Max tkn version satisfying 0.13.1 is 0.13.1
Error: Invalid URL: /pub/openshift-v4/x86_64/clients/pipeline/0.13.1/

❌ Failed to install tkn.

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
Wrote out installed versions to /home/runner/work/_temp/openshift-bin/openshift-clients-installed.json
divyansh42 commented 2 years ago

Thanks for reporting this. We are investigating this problem and update you as soon as possible. If your use case satisfies please feel free to use input source: github to download and install binaries from GitHub instead of OpenShift Mirror.

divyansh42 commented 2 years ago

Related issue https://github.com/redhat-actions/openshift-tools-installer/issues/58

divyansh42 commented 2 years ago

@pcarney8 We have fixed this issue, could you please re-run your workflows and confirm.

divyansh42 commented 2 years ago

Resolved in #59 Feel free to re-open if you find this not working.