-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpayment-service-trigger.yaml
72 lines (72 loc) · 1.82 KB
/
payment-service-trigger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
inputSet:
name: payment-service-trigger
tags: {}
identifier: paymentservicetrigger
orgIdentifier: default
projectIdentifier: DevX_Demo
pipeline:
identifier: paymentserviceweb
properties:
ci:
codebase:
build:
type: PR
spec:
number: <+trigger.prNumber>
stages:
- stage:
identifier: DeployDev
type: Deployment
spec:
service:
serviceInputs:
serviceDefinition:
type: Kubernetes
spec:
artifacts:
primary:
primaryArtifactRef: payment-service
- stage:
identifier: DeployProd
type: Deployment
spec:
service:
serviceRef: paymentservice
serviceInputs:
serviceDefinition:
type: Kubernetes
spec:
artifacts:
primary:
primaryArtifactRef: payment-service
sources: <+input>
variables:
- name: mavenversion
type: String
value: "3.8"
default: "3.8"
- name: javaversion
type: String
value: "8"
default: "8"
- name: seusername
type: String
value: <+trigger.payload.pull_request.user.login>
- name: verify_fail
type: String
value: "false"
default: "false"
- name: run_owasp_scan
type: String
value: "false"
default: "false"
- name: autostopping
type: String
value: "false"
default: "false"
- name: hosted
type: String
value: "false"
- name: chaosexperiments
type: String
value: "false"