-
Notifications
You must be signed in to change notification settings - Fork 0
/
new-pipeline.yaml
52 lines (49 loc) · 1.32 KB
/
new-pipeline.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
apiVersion: tekton.dev/v1
kind: Pipeline
metadata:
name: build-pipeline
spec:
params:
- name: platform
type: string
default: "linux/amd64"
- name: git-url
type: string
- name: revision
type: string
default: main
tasks:
- name: clone-repository
params:
- name: url
value: "$(params.git-url)"
- name: revision
value: "$(params.revision)"
- name: ociStorage
value: "quay.io/redhat-user-workloads/brianwcook-tenant/trusted-artifacts/$(context.pipelineRun.name).git"
- name: ociArtifactExpiresAfter
value: 5d
taskRef:
resolver: bundles
params:
- name: name
value: git-clone-oci-ta
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-git-clone-oci-ta:0.1@sha256:e3490635200600da4a6b2997b0cf8e65e012155e7795824aa36d858a890ad31f
- name: kind
value: task
- name: mpc-run-test
params:
- name: PLATFORM
value: $(params.platform)
runAfter:
- clone-repository
taskRef:
resolver: git
params:
- name: url
value: https://github.com/brianwcook/konflux-mpc-test-runner
- name: revision
value: main
- name: pathInRepo
value: test-runner.yaml