You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .tekton/operator-index-pipeline.yaml
+30-46Lines changed: 30 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -2,25 +2,21 @@ apiVersion: tekton.dev/v1
2
2
kind: Pipeline
3
3
metadata:
4
4
name: operator-index-pipeline
5
-
6
5
spec:
7
-
8
6
description: |
9
7
This pipeline builds and verifies ACS operator [file-based catalogs](https://konflux-ci.dev/docs/advanced-how-tos/building-olm.adoc#building-the-file-based-catalog).
10
8
Modified from the generic Konflux pipeline by adding an OpenShift version parameter.
11
9
12
10
_Uses `buildah` to create a container image. Its build-time tests are limited to verifying the included catalog and do not scan the image._
13
-
14
11
finally:
15
-
16
12
- name: slack-notification
17
13
params:
18
14
- name: message
19
15
value: ':x: `{{event_type}}` pipeline for <https://console.redhat.com/application-pipeline/ns/$(context.pipelineRun.namespace)/pipelinerun/$(context.pipelineRun.name)|$(context.pipelineRun.name)> (`$(params.output-image-repo)`, revision <$(params.git-url)/commit/$(params.revision)|$(params.revision)>) has failed.'
20
16
- name: key-name
21
17
value: 'acs-konflux-notifications'
22
18
when:
23
-
# Run when any task has Failed
19
+
# Run when any task has Failed
24
20
- input: $(tasks.status)
25
21
operator: in
26
22
values: ["Failed"]
@@ -33,7 +29,6 @@ spec:
33
29
- name: kind
34
30
value: task
35
31
resolver: bundles
36
-
37
32
- name: show-sbom
38
33
params:
39
34
- name: IMAGE_URL
@@ -47,7 +42,6 @@ spec:
47
42
- name: kind
48
43
value: task
49
44
resolver: bundles
50
-
51
45
- name: show-summary
52
46
params:
53
47
- name: pipelinerun-name
@@ -67,7 +61,6 @@ spec:
67
61
- name: kind
68
62
value: task
69
63
resolver: bundles
70
-
71
64
- name: post-metric-end
72
65
params:
73
66
- name: AGGREGATE_TASKS_STATUS
@@ -81,7 +74,6 @@ spec:
81
74
- name: kind
82
75
value: task
83
76
resolver: bundles
84
-
85
77
params:
86
78
- description: Source Repository URL
87
79
name: git-url
@@ -127,12 +119,11 @@ spec:
127
119
description: Build dependencies to be prefetched by Cachi2
128
120
name: prefetch-input
129
121
type: string
130
-
- description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and
131
-
weeks, respectively.
122
+
- description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
132
123
name: image-expires-after
133
-
# Image expiry disabled because it sets quay.expires-after label on the image which fails Conforma at release time.
134
-
# A downside is that FBC images will stay in our Quay forever while certainly they become unneeded as time passes.
135
-
# TODO(ROX-27836): find a way to garbage-collect FBC images.
124
+
# Image expiry disabled because it sets quay.expires-after label on the image which fails Conforma at release time.
125
+
# A downside is that FBC images will stay in our Quay forever while certainly they become unneeded as time passes.
126
+
# TODO(ROX-27836): find a way to garbage-collect FBC images.
136
127
default: ''
137
128
- default: "false"
138
129
description: Build a source image.
@@ -143,20 +134,21 @@ spec:
143
134
name: build-image-index
144
135
type: string
145
136
- default: "1d"
146
-
description: This sets the expiration time for intermediate OCI artifacts produced and used during builds after
147
-
which they can be garbage collected.
137
+
description: This sets the expiration time for intermediate OCI artifacts produced and used during builds after which they can be garbage collected.
148
138
name: oci-artifact-expires-after
149
139
type: string
150
140
- default:
151
141
- linux/x86_64
152
142
- linux/arm64
153
143
- linux/ppc64le
154
144
- linux/s390x
155
-
description: List of platforms to build the container images for. The available
156
-
set of values is determined by the configuration of the multi-platform-controller.
145
+
description: List of platforms to build the container images for. The available set of values is determined by the configuration of the multi-platform-controller.
157
146
name: build-platforms
158
147
type: array
159
-
148
+
- name: buildah-format
149
+
default: oci
150
+
type: string
151
+
description: The format for the resulting image's mediaType. Valid values are oci or docker.
0 commit comments