@@ -6,13 +6,6 @@ inputSet:
66 projectIdentifier : Harness_Split
77 pipeline :
88 identifier : deploy_qos_v3
9- properties :
10- ci :
11- codebase :
12- build :
13- type : branch
14- spec :
15- branch : <+trigger.branch>
169 stages :
1710 - parallel :
1811 - stage :
@@ -38,6 +31,8 @@ inputSet:
3831 - latest
3932 dockerfile : " "
4033 context : " "
34+ envVariables :
35+ PLUGIN_PLATFORM : linux/amd64,linux/arm64
4136 strategy :
4237 matrix :
4338 service :
@@ -65,61 +60,16 @@ inputSet:
6560 - latest
6661 dockerfile : " "
6762 context : " "
63+ envVariables :
64+ PLUGIN_PLATFORM : linux/amd64,linux/arm64
6865 strategy :
6966 matrix :
7067 service :
7168 - <+trigger.payload.repository.name>
72- - stage :
73- identifier : CI_Multi_Arch
74- type : CI
75- spec :
76- execution :
77- steps :
78- - step :
79- identifier : custom_tag
80- type : Run
81- spec :
82- command : VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
83- when :
84- condition : " true"
85- - step :
86- identifier : BuildAndPush
87- type : BuildAndPushDockerRegistry
88- spec :
89- repo : <+trigger.payload.repository.name>
90- tags :
91- - <+pipeline.stages.CI_Multi_Arch_split_evaluator.spec.execution.steps.custom_tag.output.outputVariables.VERSION>
92- - latest
93- when :
94- condition : " true"
95- strategy :
96- matrix :
97- service :
98- - <+trigger.payload.repository.name>
99- - stage :
100- identifier : ECR_Multi_Arch
101- type : CI
102- spec :
103- execution :
104- steps :
105- - step :
106- identifier : custom_tag
107- type : Run
108- spec :
109- command : VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
110- when :
111- condition : " true"
112- - step :
113- identifier : BuildAndPushECR
114- type : BuildAndPushECR
115- spec :
116- imageName : <+trigger.payload.repository.name>
117- tags :
118- - <+pipeline.stages.ECR_Multi_Arch_split_evaluator.spec.execution.steps.custom_tag.output.outputVariables.VERSION>
119- - latest
120- when :
121- condition : " true"
122- strategy :
123- matrix :
124- service :
125- - <+trigger.payload.repository.name>
69+ properties :
70+ ci :
71+ codebase :
72+ build :
73+ type : branch
74+ spec :
75+ branch : <+trigger.branch>
0 commit comments