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

Helm installer fails to get latest info from github #7794

Closed
vcorr opened this issue Jul 20, 2018 · 5 comments
Closed

Helm installer fails to get latest info from github #7794

vcorr opened this issue Jul 20, 2018 · 5 comments
Assignees

Comments

@vcorr
Copy link

vcorr commented Jul 20, 2018

Environment

  • Server - VSTS
  • Agent - Private (linux)

Issue Description

Helm tool installer (Preview)

Error logs

Cannot get the latest Helm info from https://api.github.com/repos/kubernetes/helm/releases/latest. Error Error: Failed to download file status code: 301. Using default Helm version v2.8.2.

This results in using whatever old helm version may be available. If the check mark "check for latest" is removed, then the installer does find latest (2.9.1) version just fine.

This problem to appear started yesterday without any changes in the build pipeline.

@vithati
Copy link
Member

vithati commented Jul 20, 2018

@vcorr, Thanks for reporting the issue. I looked at the task changes. There are no changes in task. Task downloads the lastest version from "https://api.github.com/repos/kubernetes/helm/releases/latest". I think there is a change in url. when i access"https://api.github.com/repos/kubernetes/helm/releases/latest" url it redirecting to "https://api.github.com/repositories/43723161/releases/latest", this causing issue. I will work on fix meanwhile please specify latest version number in 'helm version spec' field in task.

@mathieu-benoit
Copy link
Contributor

FYI @vithati @Anumita @vcorr, I just submitted this PR #7859 to fix that.

@bansalaseem
Copy link
Contributor

@mathieu-benoit can you please complete your PR?

@mathieu-benoit
Copy link
Contributor

@bansalaseem , I'm not able to do that by myself, I don't have access to this action.

@vithati
Copy link
Member

vithati commented Aug 14, 2018

@mathieu-benoit, i will push the changes.

@vithati vithati closed this as completed Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants