Skip to content

Commit 97338b8

Browse files
committed
Create inputset split_evaluator
1 parent 42e118b commit 97338b8

File tree

1 file changed

+110
-0
lines changed

1 file changed

+110
-0
lines changed
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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: BuildAndPush
79+
type: BuildAndPushDockerRegistry
80+
spec:
81+
repo: <+trigger.payload.repository.name>
82+
tags:
83+
- $VERSION
84+
- latest
85+
when:
86+
condition: "true"
87+
strategy:
88+
matrix:
89+
service:
90+
- <+trigger.payload.repository.name>
91+
- stage:
92+
identifier: ECR_Multi_Arch
93+
type: CI
94+
spec:
95+
execution:
96+
steps:
97+
- step:
98+
identifier: BuildAndPushECR
99+
type: BuildAndPushECR
100+
spec:
101+
imageName: <+trigger.payload.repository.name>
102+
tags:
103+
- $VERSION
104+
- latest
105+
when:
106+
condition: "true"
107+
strategy:
108+
matrix:
109+
service:
110+
- <+trigger.payload.repository.name>

0 commit comments

Comments
 (0)