Skip to content

Commit 54104ef

Browse files
author
serverless-qe
committed
[release-1.37] Sync Konflux configurations
1 parent dd03951 commit 54104ef

26 files changed

Lines changed: 285 additions & 281 deletions

.github/workflows/dependabot-deps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: ${{ github.actor == 'dependabot[bot]' }}
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
with:
1919
ref: ${{ github.head_ref }}
2020
path: ./src/github.com/${{ github.repository }}

.tekton/bundle-build.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ spec:
2626
name: build-source-image
2727
type: string
2828
- default: "false"
29-
description: 'Enable in-development package managers. WARNING: the behavior may change at any time without notice. Use at your own risk.'
29+
description: 'Enable in-development package managers. WARNING: the behavior may
30+
change at any time without notice. Use at your own risk.'
3031
name: prefetch-input-dev-package-managers
3132
- default: []
3233
description: Additional image tags
@@ -43,11 +44,13 @@ spec:
4344
name: output-image
4445
type: string
4546
- default: .
46-
description: Path to the source code of an application's component from where to build image.
47+
description: Path to the source code of an application's component from where
48+
to build image.
4749
name: path-context
4850
type: string
4951
- default: Dockerfile
50-
description: Path to the Dockerfile inside the context specified by parameter path-context
52+
description: Path to the Dockerfile inside the context specified by parameter
53+
path-context
5154
name: dockerfile
5255
type: string
5356
- default: "false"
@@ -63,11 +66,13 @@ spec:
6366
name: prefetch-input
6467
type: string
6568
- default: ""
66-
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
69+
description: Image tag expiration time, time values could be something like 1h,
70+
2d, 3w for hours, days, and weeks, respectively.
6771
name: image-expires-after
6872
type: string
6973
- default: docker
70-
description: The format for the resulting image's mediaType. Valid values are oci or docker.
74+
description: The format for the resulting image's mediaType. Valid values are
75+
oci or docker.
7176
name: buildah-format
7277
type: string
7378
- default: "false"
@@ -82,12 +87,14 @@ spec:
8287
name: build-args-file
8388
type: string
8489
- default: "false"
85-
description: Whether to enable privileged mode, should be used only with remote VMs
90+
description: Whether to enable privileged mode, should be used only with remote
91+
VMs
8692
name: privileged-nested
8793
type: string
8894
- default:
8995
- linux/x86_64
90-
description: List of platforms to build the container images on. The available set of values is determined by the configuration of the multi-platform-controller.
96+
description: List of platforms to build the container images on. The available
97+
set of values is determined by the configuration of the multi-platform-controller.
9198
name: build-platforms
9299
type: array
93100
results:

.tekton/docker-build.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ spec:
1818
- linux/arm64
1919
- linux/ppc64le
2020
- linux/s390x
21-
description: List of platforms to build the container images on. The available set of values is determined by the configuration of the multi-platform-controller.
21+
description: List of platforms to build the container images on. The available
22+
set of values is determined by the configuration of the multi-platform-controller.
2223
name: build-platforms
2324
type: array
2425
- default: --all-projects --org=3e1a4cca-ebfb-495f-b64c-3cc960d566b4 --exclude=test*,vendor,third_party
@@ -30,7 +31,8 @@ spec:
3031
name: build-source-image
3132
type: string
3233
- default: "false"
33-
description: 'Enable in-development package managers. WARNING: the behavior may change at any time without notice. Use at your own risk.'
34+
description: 'Enable in-development package managers. WARNING: the behavior may
35+
change at any time without notice. Use at your own risk.'
3436
name: prefetch-input-dev-package-managers
3537
- default: []
3638
description: Additional image tags
@@ -47,11 +49,13 @@ spec:
4749
name: output-image
4850
type: string
4951
- default: .
50-
description: Path to the source code of an application's component from where to build image.
52+
description: Path to the source code of an application's component from where
53+
to build image.
5154
name: path-context
5255
type: string
5356
- default: Dockerfile
54-
description: Path to the Dockerfile inside the context specified by parameter path-context
57+
description: Path to the Dockerfile inside the context specified by parameter
58+
path-context
5559
name: dockerfile
5660
type: string
5761
- default: "false"
@@ -67,15 +71,17 @@ spec:
6771
name: prefetch-input
6872
type: string
6973
- default: ""
70-
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
74+
description: Image tag expiration time, time values could be something like 1h,
75+
2d, 3w for hours, days, and weeks, respectively.
7176
name: image-expires-after
7277
type: string
7378
- default: "true"
7479
description: Add built image into an OCI image index
7580
name: build-image-index
7681
type: string
7782
- default: docker
78-
description: The format for the resulting image's mediaType. Valid values are oci or docker.
83+
description: The format for the resulting image's mediaType. Valid values are
84+
oci or docker.
7985
name: buildah-format
8086
type: string
8187
- default: "false"
@@ -90,7 +96,8 @@ spec:
9096
name: build-args-file
9197
type: string
9298
- default: "false"
93-
description: Whether to enable privileged mode, should be used only with remote VMs
99+
description: Whether to enable privileged mode, should be used only with remote
100+
VMs
94101
name: privileged-nested
95102
type: string
96103
results:

.tekton/fbc-builder.yaml

Lines changed: 48 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ spec:
1515
params:
1616
- default:
1717
- linux/x86_64
18-
# - linux/arm64
19-
# - linux/ppc64le
20-
# - linux/s390x
18+
- linux/arm64
19+
- linux/ppc64le
20+
- linux/s390x
2121
description: List of platforms to build the container images on. The available
2222
set of values is determined by the configuration of the multi-platform-controller.
2323
name: build-platforms
@@ -26,6 +26,23 @@ spec:
2626
description: Build a source image.
2727
name: build-source-image
2828
type: string
29+
- default: []
30+
description: Array of opm command arguments
31+
name: opm-args
32+
type: array
33+
- default: ""
34+
description: OPM output path
35+
name: opm-output-path
36+
type: string
37+
- default: ""
38+
description: Optional. Relative path to a file (e.g., catalog-template.yml) in
39+
which pullspecs should be updated before running opm.
40+
name: file-to-update-pullspec
41+
type: string
42+
- default: .tekton/images-mirror-set.yaml
43+
description: Optional, path for ImageDigestMirrorSet file. It defaults to '.tekton/images-mirror-set.yaml'.
44+
name: idms-path
45+
type: string
2946
- default: []
3047
description: Additional image tags
3148
name: additional-tags
@@ -96,6 +113,34 @@ spec:
96113
name: CHAINS-GIT_COMMIT
97114
value: $(tasks.clone-repository.results.commit)
98115
tasks:
116+
- name: run-opm-command
117+
params:
118+
- name: OPM_ARGS
119+
value:
120+
- $(params.opm-args[*])
121+
- name: OPM_OUTPUT_PATH
122+
value: $(params.opm-output-path)
123+
- name: FILE_TO_UPDATE_PULLSPEC
124+
value: $(params.file-to-update-pullspec)
125+
- name: IDMS_PATH
126+
value: $(params.idms-path)
127+
- name: SOURCE_ARTIFACT
128+
value: $(tasks.clone-repository.results.SOURCE_ARTIFACT)
129+
- name: ociStorage
130+
value: $(params.output-image).opm
131+
- name: ociArtifactExpiresAfter
132+
value: $(params.image-expires-after)
133+
runAfter:
134+
- clone-repository
135+
taskRef:
136+
params:
137+
- name: name
138+
value: run-opm-command-oci-ta
139+
- name: bundle
140+
value: quay.io/konflux-ci/tekton-catalog/task-run-opm-command-oci-ta:0.1@sha256:c79858b867713e44927438f6193c49004bf40bfd9248682f20c5a83ea2a9d2f1
141+
- name: kind
142+
value: task
143+
resolver: bundles
99144
- name: apply-tags
100145
params:
101146
- name: ADDITIONAL_TAGS
@@ -152,31 +197,6 @@ spec:
152197
workspaces:
153198
- name: basic-auth
154199
workspace: git-auth
155-
- name: run-opm-command
156-
params:
157-
- name: SOURCE_ARTIFACT
158-
value: $(tasks.clone-repository.results.SOURCE_ARTIFACT)
159-
- name: ociStorage
160-
value: $(params.output-image).opm
161-
- name: ociArtifactExpiresAfter
162-
value: $(params.image-expires-after)
163-
- name: OPM_ARGS
164-
value: []
165-
- name: OPM_OUTPUT_PATH
166-
value: ""
167-
- name: IDMS_PATH
168-
value: ""
169-
runAfter:
170-
- clone-repository
171-
taskRef:
172-
params:
173-
- name: name
174-
value: run-opm-command-oci-ta
175-
- name: bundle
176-
value: quay.io/konflux-ci/tekton-catalog/task-run-opm-command-oci-ta:0.1@sha256:c79858b867713e44927438f6193c49004bf40bfd9248682f20c5a83ea2a9d2f1
177-
- name: kind
178-
value: task
179-
resolver: bundles
180200
- name: prefetch-dependencies
181201
params:
182202
- name: input

.tekton/serverless-index-137-fbc-412-pull-request.yaml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.tekton/serverless-index-137-fbc-412-push.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)