Skip to content

Commit c06d105

Browse files
committed
debug: merge pipelines
Signed-off-by: Cagri Yonca <cagri@ibm.com>
1 parent bbd8661 commit c06d105

2 files changed

Lines changed: 33 additions & 47 deletions

File tree

Lines changed: 3 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,3 @@
1-
apiVersion: tekton.dev/v1beta1
2-
kind: Pipeline
3-
metadata:
4-
name: python-currency-pipeline
5-
spec:
6-
params:
7-
- name: revision
8-
type: string
9-
workspaces:
10-
- name: currency-pvc
11-
tasks:
12-
- name: clone-repo
13-
params:
14-
- name: revision
15-
value: $(params.revision)
16-
taskRef:
17-
name: git-clone-task
18-
workspaces:
19-
- name: task-pvc
20-
workspace: currency-pvc
21-
- name: generate-currency-report
22-
runAfter:
23-
- update-version-tracker
24-
taskRef:
25-
name: generate-currency-report-task
26-
workspaces:
27-
- name: task-pvc
28-
workspace: currency-pvc
29-
- name: upload-currency-report
30-
runAfter:
31-
- generate-currency-report
32-
taskRef:
33-
name: upload-currency-report-task
34-
workspaces:
35-
- name: task-pvc
36-
workspace: currency-pvc
37-
- name: update-version-tracker
38-
runAfter:
39-
- clone-repo
40-
params:
41-
- name: revision
42-
value: $(params.revision)
43-
taskRef:
44-
name: update-version-tracker-task
45-
workspaces:
46-
- name: task-pvc
47-
workspace: currency-pvc
1+
# Currency report flow has been merged into .tekton/pipeline.yaml.
2+
# Keep task definitions in .tekton/.currency/currency-tasks.yaml and invoke them
3+
# from the main python-tracer-ci-pipeline after the CI test tasks complete.

.tekton/pipeline.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,33 @@ spec:
8585
workspaces:
8686
- name: task-pvc
8787
workspace: python-tracer-ci-pipeline-pvc
88+
- name: update-version-tracker
89+
runAfter:
90+
- unittest-default
91+
- unittest-cassandra
92+
- unittest-gevent-starlette
93+
- unittest-kafka
94+
params:
95+
- name: revision
96+
value: $(params.revision)
97+
taskRef:
98+
name: update-version-tracker-task
99+
workspaces:
100+
- name: task-pvc
101+
workspace: python-tracer-ci-pipeline-pvc
102+
- name: generate-currency-report
103+
runAfter:
104+
- update-version-tracker
105+
taskRef:
106+
name: generate-currency-report-task
107+
workspaces:
108+
- name: task-pvc
109+
workspace: python-tracer-ci-pipeline-pvc
110+
- name: upload-currency-report
111+
runAfter:
112+
- generate-currency-report
113+
taskRef:
114+
name: upload-currency-report-task
115+
workspaces:
116+
- name: task-pvc
117+
workspace: python-tracer-ci-pipeline-pvc

0 commit comments

Comments
 (0)