forked from tensorflow/build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-pipeline-run.yaml
71 lines (56 loc) · 1.16 KB
/
build-pipeline-run.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
name: repo-perfinion-build
namespace: sig-build
spec:
type: git
params:
- name: revision
value: master
- name: url
value: https://github.com/perfinion/build.git
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
name: image-linuxcpu
namespace: sig-build
spec:
type: image
params:
- name: url
value: gcr.io/tensorflow-build-224104/tensorflow-build/linux/cpu:latest
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
name: image-webhook
namespace: sig-build
spec:
type: image
params:
- name: url
value: gcr.io/tensorflow-build-224104/tensorflow-build/webhook:latest
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineRun
metadata:
name: build-pipeline-run
namespace: sig-build
spec:
pipelineRef:
name: build-pipeline
serviceAccountName: kaniko-push
resources:
- name: source-repo
resourceRef:
name: repo-perfinion-build
- name: image-webhook
resourceRef:
name: image-webhook
- name: image-linuxcpu
resourceRef:
name: image-linuxcpu
---