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

Commit 78aad13

Browse files
mtarngbnookala
authored andcommitted
Updating all other pipelines to install helm2 prior to runnin steps
1 parent f3e0b9b commit 78aad13

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

src/lib/fileutils.ts

+18
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,12 @@ export const serviceBuildAndUpdatePipeline = (
209209
vmImage: VM_IMAGE
210210
},
211211
steps: [
212+
{
213+
task: "HelmInstaller@1",
214+
inputs: {
215+
helmVersionToInstall: "2.16.3"
216+
}
217+
},
212218
{
213219
script: generateYamlScript([
214220
`echo "az login --service-principal --username $(SP_APP_ID) --password $(SP_PASS) --tenant $(SP_TENANT)"`,
@@ -267,6 +273,12 @@ export const serviceBuildAndUpdatePipeline = (
267273
vmImage: VM_IMAGE
268274
},
269275
steps: [
276+
{
277+
task: "HelmInstaller@1",
278+
inputs: {
279+
helmVersionToInstall: "2.16.3"
280+
}
281+
},
270282
{
271283
script: generateYamlScript([
272284
`# Download build.sh`,
@@ -681,6 +693,12 @@ const hldLifecyclePipelineYaml = (): string => {
681693
vmImage: VM_IMAGE
682694
},
683695
steps: [
696+
{
697+
task: "HelmInstaller@1",
698+
inputs: {
699+
helmVersionToInstall: "2.16.3"
700+
}
701+
},
684702
{
685703
script: generateYamlScript([
686704
`# Download build.sh`,

src/test/mockFactory.ts

+18
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ export const createTestServiceBuildAndUpdatePipelineYaml = (
4040
vmImage: VM_IMAGE
4141
},
4242
steps: [
43+
{
44+
task: "HelmInstaller@1",
45+
inputs: {
46+
helmVersionToInstall: "2.16.3"
47+
}
48+
},
4349
{
4450
script: generateYamlScript([
4551
`echo "az login --service-principal --username $(SP_APP_ID) --password $(SP_PASS) --tenant $(SP_TENANT)"`,
@@ -98,6 +104,12 @@ export const createTestServiceBuildAndUpdatePipelineYaml = (
98104
vmImage: VM_IMAGE
99105
},
100106
steps: [
107+
{
108+
task: "HelmInstaller@1",
109+
inputs: {
110+
helmVersionToInstall: "2.16.3"
111+
}
112+
},
101113
{
102114
script: generateYamlScript([
103115
`# Download build.sh`,
@@ -300,6 +312,12 @@ export const createTestHldLifecyclePipelineYaml = (
300312
vmImage: VM_IMAGE
301313
},
302314
steps: [
315+
{
316+
task: "HelmInstaller@1",
317+
inputs: {
318+
helmVersionToInstall: "2.16.3"
319+
}
320+
},
303321
{
304322
script: generateYamlScript([
305323
`# Download build.sh`,

src/types.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ export interface AzurePipelinesYaml {
112112
REPO?: string;
113113
};
114114
condition?: string;
115+
inputs?: {
116+
helmVersionToInstall?: string;
117+
};
118+
task?: string;
115119
}>;
116120
}>;
117121
}>;

0 commit comments

Comments
 (0)