Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit ef615d5

Browse files
authored
Adding helm2 install step (#406)
1 parent e65bde1 commit ef615d5

File tree

4 files changed

+25
-207
lines changed

4 files changed

+25
-207
lines changed

src/lib/fileutils.ts

+6
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,12 @@ const manifestGenerationPipelineYaml = (): string => {
546546
persistCredentials: true,
547547
clean: true
548548
},
549+
{
550+
task: "HelmInstaller@1",
551+
inputs: {
552+
helmVersionToInstall: "2.16.3"
553+
}
554+
},
549555
{
550556
script: generateYamlScript([
551557
`# Download build.sh`,

src/test/mockFactory.ts

+6
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,12 @@ export const createTestHldAzurePipelinesYaml = (
399399
persistCredentials: true,
400400
clean: true
401401
},
402+
{
403+
task: "HelmInstaller@1",
404+
inputs: {
405+
helmVersionToInstall: "2.16.3"
406+
}
407+
},
402408
{
403409
script: generateYamlScript([
404410
`# Download build.sh`,

src/types.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ export interface AzurePipelinesYaml {
130130
VERIFY_ONLY?: number;
131131
};
132132
inputs?: {
133-
scriptPath: string;
133+
scriptPath?: string;
134+
helmVersionToInstall?: string;
134135
};
135136
persistCredentials?: boolean;
136137
script?: string;

0 commit comments

Comments
 (0)