Skip to content

Commit a6ae99e

Browse files
committed
Create inputset split_evaluator
1 parent ee0f59e commit a6ae99e

File tree

1 file changed

+124
-0
lines changed

1 file changed

+124
-0
lines changed
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
inputSet:
2+
name: split_evaluator
3+
identifier: split_evaluator
4+
orgIdentifier: PROD
5+
projectIdentifier: Harness_Split
6+
pipeline:
7+
identifier: deploy_qos_v3
8+
properties:
9+
ci:
10+
codebase:
11+
build:
12+
type: branch
13+
spec:
14+
branch: <+trigger.branch>
15+
stages:
16+
- parallel:
17+
- stage:
18+
identifier: CI
19+
type: CI
20+
spec:
21+
execution:
22+
steps:
23+
- step:
24+
identifier: custom_tag
25+
type: Run
26+
spec:
27+
command: VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
28+
when:
29+
condition: "true"
30+
- step:
31+
identifier: BuildAndPush
32+
type: BuildAndPushDockerRegistry
33+
spec:
34+
repo: <+trigger.payload.repository.name>
35+
tags:
36+
- $VERSION
37+
- latest
38+
dockerfile: ""
39+
context: ""
40+
strategy:
41+
matrix:
42+
service:
43+
- <+trigger.payload.repository.name>
44+
- stage:
45+
identifier: ECR
46+
type: CI
47+
spec:
48+
execution:
49+
steps:
50+
- step:
51+
identifier: custom_tag
52+
type: Run
53+
spec:
54+
command: VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
55+
when:
56+
condition: "true"
57+
- step:
58+
identifier: BuildAndPushECR
59+
type: BuildAndPushECR
60+
spec:
61+
imageName: <+trigger.payload.repository.name>
62+
tags:
63+
- $VERSION
64+
- latest
65+
dockerfile: ""
66+
context: ""
67+
strategy:
68+
matrix:
69+
service:
70+
- <+trigger.payload.repository.name>
71+
- stage:
72+
identifier: CI_Multi_Arch
73+
type: CI
74+
spec:
75+
execution:
76+
steps:
77+
- step:
78+
identifier: custom_tag
79+
type: Run
80+
spec:
81+
command: VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
82+
when:
83+
condition: "true"
84+
- step:
85+
identifier: BuildAndPush
86+
type: BuildAndPushDockerRegistry
87+
spec:
88+
repo: <+trigger.payload.repository.name>
89+
tags:
90+
- $VERSION
91+
- latest
92+
when:
93+
condition: "true"
94+
strategy:
95+
matrix:
96+
service:
97+
- <+trigger.payload.repository.name>
98+
- stage:
99+
identifier: ECR_Multi_Arch
100+
type: CI
101+
spec:
102+
execution:
103+
steps:
104+
- step:
105+
identifier: custom_tag
106+
type: Run
107+
spec:
108+
command: VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
109+
when:
110+
condition: "true"
111+
- step:
112+
identifier: BuildAndPushECR
113+
type: BuildAndPushECR
114+
spec:
115+
imageName: <+trigger.payload.repository.name>
116+
tags:
117+
- $VERSION
118+
- latest
119+
when:
120+
condition: "true"
121+
strategy:
122+
matrix:
123+
service:
124+
- <+trigger.payload.repository.name>

0 commit comments

Comments
 (0)