-
Notifications
You must be signed in to change notification settings - Fork 8
/
input.yaml
43 lines (43 loc) · 1.31 KB
/
input.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
apiVersion: devops.kubesphere.io/v1alpha3
kind: ClusterStepTemplate
metadata:
name: input
labels:
step.devops.kubesphere.io/category: "Review"
annotations:
devops.kubesphere.io/displayNameZH: "审核"
devops.kubesphere.io/descriptionZH: "流水线运行至此任务将会暂停,审核后可选择继续或终止"
devops.kubesphere.io/displayNameEN: "input"
devops.kubesphere.io/descriptionEN: "When the pipeline runs here, this task will be suspended, and you can choose to continue or terminate after the review"
step.devops.kubesphere.io/icon: "rocket"
step.devops.kubesphere.io/tip: "When the pipeline runs here, the task will be suspended, and the creator and @somebody can choose to continue or terminate the pipeline."
spec:
runtime: dsl
parameters:
- name: message
type: text
display: 'Message'
required: true
- name: submitter
type: string
display: 'Submitter'
template: |
{
"arguments": [
{
"key": "message",
"value": {
"isLiteral": true,
"value": "{{.param.message}}"
}
},
{
"key": "submitter",
"value": {
"isLiteral": true,
"value": "{{.param.submitter}}"
}
}
],
"name": "input"
}