forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-pipeline-nightly.yaml
107 lines (107 loc) · 2.9 KB
/
release-pipeline-nightly.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
apiVersion: tekton.dev/v1alpha1
kind: Pipeline
metadata:
name: pipeline-release-nightly
spec:
params:
- name: package
description: package to release
default: github.com/tektoncd/pipeline
- name: imageRegistry
default: gcr.io/tekton-nightly
- name: versionTag
description: The X.Y.Z version that the artifacts should be tagged with
resources:
- name: source-repo
type: git
- name: bucket
type: storage
- name: builtBaseImage
type: image
- name: builtEntrypointImage
type: image
- name: builtNopImage
type: image
- name: builtKubeconfigWriterImage
type: image
- name: builtCredsInitImage
type: image
- name: builtGitInitImage
type: image
- name: builtControllerImage
type: image
- name: builtWebhookImage
type: image
- name: builtDigestExporterImage
type: image
- name: builtPullRequestInitImage
type: image
- name: builtGcsFetcherImage
type: image
- name: notification
type: cloudEvent
tasks:
- name: unit-tests
taskRef:
name: golang-test
params:
- name: package
value: $(params.package)
resources:
inputs:
- name: source
resource: source-repo
- name: build
taskRef:
name: golang-build
params:
- name: package
value: $(params.package)
resources:
inputs:
- name: source
resource: source-repo
- name: publish-images
runAfter: [build, unit-tests]
taskRef:
name: publish-tekton-pipelines
params:
- name: pathToProject
value: $(params.package)
- name: versionTag
value: $(params.versionTag)
- name: imageRegistry
value: $(params.imageRegistry)
resources:
inputs:
- name: source
resource: source-repo
- name: bucket
resource: bucket
outputs:
- name: bucket
resource: bucket
- name: builtBaseImage
resource: builtBaseImage
- name: builtEntrypointImage
resource: builtEntrypointImage
- name: builtNopImage
resource: builtNopImage
- name: builtKubeconfigWriterImage
resource: builtKubeconfigWriterImage
- name: builtCredsInitImage
resource: builtCredsInitImage
- name: builtGitInitImage
resource: builtGitInitImage
- name: builtControllerImage
resource: builtControllerImage
- name: builtWebhookImage
resource: builtWebhookImage
- name: builtDigestExporterImage
resource: builtDigestExporterImage
- name: builtPullRequestInitImage
resource: builtPullRequestInitImage
- name: builtGcsFetcherImage
resource: builtGcsFetcherImage
- name: notification
resource: notification