forked from erda-project/erda-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipeline.yml
37 lines (37 loc) · 955 Bytes
/
pipeline.yml
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
version: "1.1"
stages:
- stage:
- git-checkout:
alias: repo
params:
depth: 1
- stage:
- custom-script:
alias: metrics
commands:
- cd ..
- repo/build.sh analyzer-metrics
- custom-script:
alias: alert
commands:
- cd ..
- repo/build.sh analyzer-alert
- custom-script:
alias: error-insight
commands:
- cd ..
- repo/build.sh analyzer-error-insight
- stage:
- release:
alias: dicehub
params:
check_diceyml: false
dice_yml: ${repo}/dice.yml
release_id_path: dicehub
image:
analyzer-metrics: ${metrics:OUTPUT:image}
analyzer-metrics-task: ${metrics:OUTPUT:image}
analyzer-alert: ${alert:OUTPUT:image}
analyzer-alert-task: ${alert:OUTPUT:image}
analyzer-error-insight: ${error-insight:OUTPUT:image}
analyzer-error-insight-task: ${error-insight:OUTPUT:image}