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] Update Helm repo url + default version to 2.9.1 #7859

Merged
merged 3 commits into from
Aug 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Tasks/HelmInstallerV0/src/helminstaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import * as util from "util";
const uuidV4 = require('uuid/v4');
import downloadutility = require("utility-common/downloadutility");
const helmToolName = "helm"
const helmLatestReleaseUrl = "https://api.github.com/repos/kubernetes/helm/releases/latest";
const stableHelmVersion = "v2.8.2"
const helmLatestReleaseUrl = "https://api.github.com/repos/helm/helm/releases/latest";
const stableHelmVersion = "v2.9.1"

export async function getHelmVersion(): Promise<string> {
var checkLatestHelmVersion = tl.getBoolInput('checkLatestHelmVersion', false);
Expand Down Expand Up @@ -73,7 +73,7 @@ async function getStableHelmVersion() : Promise<string>{
var options = {
hostname: 'api.github.com',
port: 443,
path: '/repos/kubernetes/helm/releases/latest',
path: '/repos/helm/helm/releases/latest',
method: 'GET',
secureProtocol: "TLSv1_2_method",
headers: {
Expand Down Expand Up @@ -114,4 +114,4 @@ function getReleaseVersion(jsonFilePath): Promise<string> {
fulfill(latestVersionInfo.tag_name);
})
});
}
}
6 changes: 3 additions & 3 deletions Tasks/HelmInstallerV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 0,
"Minor": 1,
"Patch": 6
"Patch": 7
},
"demands": [],
"satisfies": ["Helm"],
Expand All @@ -32,7 +32,7 @@
"type": "string",
"required": true,
"helpMarkDown": "Specify the version of Helm to install",
"defaultValue": "2.8.2"
"defaultValue": "2.9.1"
},
{
"name": "checkLatestHelmVersion",
Expand Down Expand Up @@ -85,4 +85,4 @@
"HelmDownloadFailed": "Failed to download Helm from location %s. Error %s",
"HelmLatestNotKnown": "Cannot get the latest Helm info from %s. Error %s. Using default Helm version %s."
}
}
}
6 changes: 3 additions & 3 deletions Tasks/HelmInstallerV0/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 0,
"Minor": 1,
"Patch": 6
"Patch": 7
},
"demands": [],
"satisfies": [
Expand All @@ -34,7 +34,7 @@
"type": "string",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.helmVersion",
"defaultValue": "2.8.2"
"defaultValue": "2.9.1"
},
{
"name": "checkLatestHelmVersion",
Expand Down Expand Up @@ -91,4 +91,4 @@
"HelmDownloadFailed": "ms-resource:loc.messages.HelmDownloadFailed",
"HelmLatestNotKnown": "ms-resource:loc.messages.HelmLatestNotKnown"
}
}
}