-
Notifications
You must be signed in to change notification settings - Fork 1
/
2-sequence-pipeline.yml
49 lines (48 loc) · 1.34 KB
/
2-sequence-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
38
39
40
41
42
43
44
45
46
47
48
49
apiVersion: pipeline.1eedaegon.github.io/v1
kind: Pipeline
metadata:
name: pipeline-chain-test
spec:
volumes:
- name: yennefer-something # 이미 있으면 생성하지 않고 사용
capacity: 2G # 최대값 # Requests: 2Gi 최소값, csi드라이버 마다 구현이 달라서 통제가 어려움
storage: standard
resource:
cpu: 200m
memory: 100Mi
tasks:
- name: pipeline-1 # import task type without image version
image: amazon/aws-cli
trigger: false
args:
- --version
- if [ -z "$SAMPLE" ]; then echo "no" else echo $SAMPLE fi
inputs:
- yennefer-something/input # RO
outputs:
- yennefer-something/init-output # RWX
runBefore: []
- name: pipeline-2 # import task type without image version
image: amazon/aws-cli
trigger: false
args:
- --version
- if [ -z "$SAMPLE" ]; then echo "no" else echo $SAMPLE fi
inputs:
- yennefer-something/input # RO
outputs:
- yennefer-something/init-output # RWX
runBefore:
- pipeline-1
- name: pipeline-3 # import task type without image version
image: amazon/aws-cli
trigger: false
args:
- --version
- if [ -z "$SAMPLE" ]; then echo "no" else echo $SAMPLE fi
inputs:
- yennefer-something/input # RO
outputs:
- yennefer-something/init-output # RWX
runBefore:
- pipeline-2