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

Download source v8.9.0 not available #3324

Open
1 task
sammetb opened this issue Dec 3, 2024 · 8 comments
Open
1 task

Download source v8.9.0 not available #3324

sammetb opened this issue Dec 3, 2024 · 8 comments

Comments

@sammetb
Copy link

sammetb commented Dec 3, 2024

Please fill out the issue checklist below and provide ALL the requested information.

  • [ x] I reviewed open and closed github issues that may be related to my problem.
  • [ x] I tried updating to the latest version of the CF CLI to see if it fixed my problem.
  • I attempted to run the command with CF_TRACE=1 to help debug the issue.
  • [ x] I am reporting a bug that others will be able to reproduce.

Describe the bug and the command you saw an issue with
We are downloading during our deployment always the newest version and we are getting this information by calling that url
https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=github
This results now in that page
https://github.com/cloudfoundry/cli/releases/download/v8.9.0/cf8-cli_8.9.0_linux_x86-64.tgz

But this page is not available and we are getting a 404

What happened
Maybe there was a release published and retracted but the forwarding still points to the newest version.

Expected behavior
Publish the newest version or fix the link to point to the latest published version

Exact Steps To Reproduce
Steps to reproduce the behavior; include the exact CLI commands and verbose output:

  1. Go to the page: https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v8&source=github
  2. Face the 404 error in the browser

image

@STAB-maschaefer
Copy link

I have the same issue, I've been trying to build a ci/cd pipeline and at the moment it fails at downloading the cloud foundry cli.

@rlindner81
Copy link

This seems to be the release of v8.9.0 by @a-b
https://github.com/cloudfoundry/cli/actions/runs/12128033182

The action ran successfully, so it was deleted afterwards. Unfortunately this really breaks cf-cli installer actions that relied on the stable links.

@drvup
Copy link

drvup commented Dec 3, 2024

Same here. CF-CLI installers not working due to missing artifact.

@rlindner81
Copy link

rlindner81 commented Dec 3, 2024

For other people running into this problem, if you can change the version part of the url that is used in the cf-cli installer, or code your own GH action.

The version v8.8.3 with the following link still works fine. (no v prefix in the version)
https://packages.cloudfoundry.org/stable?source=github&release=linux64-binary&version=8.8.3

@drvup
Copy link

drvup commented Dec 3, 2024

For these people who are using "https://packages.cloudfoundry.org/stable?release=debian64" to derive the latest cf-cli version, it's the same issue as the origin of this topic. just as fyi ;)

@AnnaDinaburgVulikh
Copy link

@okkays @ilodidoj The merge of #1968 didn't resolve this issue FYI

@okkays
Copy link

okkays commented Dec 3, 2024

@AnnaDinaburgVulikh ah, it certainly wasn't supposed to - we are consumers of this library, I'd just mentioned it in our downstream PR and github linked the two. We worked around it in our CI/CD by referring directly to the 8.8.3 hosted on github (what the cloudfoundry URL is supposed to redirect to)

if it helps you, our workaround is:

curl -A "" -L -o cf8.deb 'https://github.com/cloudfoundry/cli/releases/download/v8.8.3/cf8-cli-installer_8.8.3_x86-64.deb'
sudo dpkg -i cf8.deb
rm cf8.deb
cf8 api https://api.fr.cloud.gov

but I'll be keeping an eye on this ticket for a fix, so we don't have to pin 8.8.3!

@ryanwoldatwork
Copy link

ryanwoldatwork commented Dec 5, 2024

this appears to be resolved now.
8.9.0 downloads successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants