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

install-linux.sh 'latest' is producing a 404 error #2723

Closed
samjohnsonCF opened this issue Apr 12, 2023 · 4 comments · Fixed by #2725
Closed

install-linux.sh 'latest' is producing a 404 error #2723

samjohnsonCF opened this issue Apr 12, 2023 · 4 comments · Fixed by #2725
Assignees
Labels
bug Oops, sorry!

Comments

@samjohnsonCF
Copy link

Describe the bug

When grabbing the 'latest' version of porter from https://cdn.porter.sh/latest/install-linux.sh it is trying to pull v1.0.13. Which is producing a 404 error as it does not seem to exist. v1.0.11 I know works as is stated to be 'latest' right now.

To Reproduce

curl -L -f https://cdn.porter.sh/latest/install-linux.sh -O
less install-linux.sh

Expected behavior

Expected to install porter and not get a 404 error

Porter Command and Output

Installing [email protected] to /Users/sjohnson/.porter from https://cdn.porter.sh
curl: (22) The requested URL returned error: 404

Version

v1.0.13

@samjohnsonCF samjohnsonCF added the bug Oops, sorry! label Apr 12, 2023
@samjohnsonCF
Copy link
Author

samjohnsonCF commented Apr 12, 2023

Literally as I typed this up, it got updated to v1.0.13. I think we are too quick apparently.
Just a thought/update for the future. Is it possible to get the official version updated before the install script is updated? I saw a 5 to 10 min gap before that script worked.

@carolynvs
Copy link
Member

Yeah when we make the release, we shouldn't let it be flagged as latest. Then after all assets have been uploaded, then mark it as latest. I'm pretty sure that's what went wrong, there is this limbo period between when the gh cli creates the release and when all the assets are available.

@samjohnsonCF
Copy link
Author

@carolynvs That totally makes sense! Our pipelines are just too fast for ya'll then :-p.
I'll go ahead and close this out though as its no longer a bug.

@carolynvs
Copy link
Member

Let's leave this open since I didn't realize the lag was that bad. I think the fix is pretty straightforward and will try to sneak it in before our next release

@carolynvs carolynvs self-assigned this Apr 13, 2023
carolynvs added a commit to carolynvs/porter that referenced this issue Apr 13, 2023
Use the latest magefiles package which has a fix for the lag time between when a release is created and when the assets are uploaded. The release should stay in draft mode now until the release is successful.

Fixes getporter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
@carolynvs carolynvs mentioned this issue Apr 13, 2023
4 tasks
carolynvs added a commit to carolynvs/porter that referenced this issue Apr 13, 2023
Use the latest magefiles package which has a fix for the lag time between when a release is created and when the assets are uploaded. The release should stay in draft mode now until the release is successful.

Fixes getporter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/porter that referenced this issue Apr 13, 2023
Use the latest magefiles package which has a fix for the lag time between when a release is created and when the assets are uploaded. The release should stay in draft mode now until the release is successful.

Fixes getporter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/kubernetes-plugins that referenced this issue Apr 13, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are sucessfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/skeletor-mixin that referenced this issue Apr 13, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are sucessfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/azure-plugins that referenced this issue Apr 13, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/arm-mixin that referenced this issue Apr 14, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/aws-mixin that referenced this issue Apr 14, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/az-mixin that referenced this issue Apr 14, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/docker-compose-mixin that referenced this issue Apr 14, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/gcloud-mixin that referenced this issue Apr 14, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/docker-mixin that referenced this issue Apr 14, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/kubernetes-mixin that referenced this issue Apr 14, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
carolynvs added a commit to carolynvs/terraform-mixin that referenced this issue Apr 14, 2023
Update to magefiles v0.5.1 which ensures that releases stay in draft until the assets are successfully uploaded.

Related to getporter/porter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
bdegeeter pushed a commit to bdegeeter/porter that referenced this issue May 11, 2023
Use the latest magefiles package which has a fix for the lag time between when a release is created and when the assets are uploaded. The release should stay in draft mode now until the release is successful.

Fixes getporter#2723

Signed-off-by: Carolyn Van Slyck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Oops, sorry!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants