Skip to content

Commit d16d3ab

Browse files
Pradnya-Chikhaleandrewschoen
authored andcommitted
keepalived: test konflux pipeline
1 parent 014f7dd commit d16d3ab

File tree

2 files changed

+42
-34
lines changed

2 files changed

+42
-34
lines changed

.tekton/keepalived-pull-request.yaml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
11-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-9.0"
12-
creationTimestamp:
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12+
== "release-9.0"
13+
creationTimestamp: null
1314
labels:
1415
appstudio.openshift.io/application: ceph-9-0
1516
appstudio.openshift.io/component: keepalived-9-0
@@ -68,11 +69,13 @@ spec:
6869
name: output-image
6970
type: string
7071
- default: .
71-
description: Path to the source code of an application's component from where to build image.
72+
description: Path to the source code of an application's component from where
73+
to build image.
7274
name: path-context
7375
type: string
7476
- default: Dockerfile
75-
description: Path to the Dockerfile inside the context specified by parameter path-context
77+
description: Path to the Dockerfile inside the context specified by parameter
78+
path-context
7679
name: dockerfile
7780
type: string
7881
- default: "false"
@@ -92,7 +95,8 @@ spec:
9295
name: prefetch-input
9396
type: string
9497
- default: ""
95-
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
98+
description: Image tag expiration time, time values could be something like
99+
1h, 2d, 3w for hours, days, and weeks, respectively.
96100
name: image-expires-after
97101
type: string
98102
- default: "false"
@@ -112,12 +116,14 @@ spec:
112116
name: build-args-file
113117
type: string
114118
- default: "false"
115-
description: Whether to enable privileged mode, should be used only with remote VMs
119+
description: Whether to enable privileged mode, should be used only with remote
120+
VMs
116121
name: privileged-nested
117122
type: string
118123
- default:
119124
- linux/x86_64
120-
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.
125+
description: List of platforms to build the container images on. The available
126+
set of values is determined by the configuration of the multi-platform-controller.
121127
name: build-platforms
122128
type: array
123129
results:
@@ -197,7 +203,7 @@ spec:
197203
- name: name
198204
value: prefetch-dependencies-oci-ta
199205
- name: bundle
200-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:f10a4841e6f75fbb314b1d8cbf14f652499c1fe7f59e59aed59f7431c680aa17
206+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:5e15408f997557153b13d492aeccb51c01923bfbe4fbdf6f1e8695ce1b82f826
201207
- name: kind
202208
value: task
203209
resolver: bundles
@@ -247,7 +253,7 @@ spec:
247253
- name: name
248254
value: buildah-remote-oci-ta
249255
- name: bundle
250-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:5b8d51fa889cdac873750904c3fccc0cca1c4f65af16902ebb2b573151f80657
256+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:ae87472f60dbbf71e4980cd478c92740c145fd9e44acbb9b164a21f1bcd61aa3
251257
- name: kind
252258
value: task
253259
resolver: bundles
@@ -288,21 +294,19 @@ spec:
288294
- name: build-source-image
289295
params:
290296
- name: BINARY_IMAGE
291-
value: $(tasks.build-image-index.results.IMAGE_URL)
297+
value: $(params.output-image)
292298
- name: SOURCE_ARTIFACT
293299
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
294300
- name: CACHI2_ARTIFACT
295301
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
296-
- name: BINARY_IMAGE_DIGEST
297-
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
298302
runAfter:
299303
- build-image-index
300304
taskRef:
301305
params:
302306
- name: name
303307
value: source-build-oci-ta
304308
- name: bundle
305-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b1eb49583b41872b27356fee20d5f0eb6ff7f5cdeacde7ffb39655f031104728
309+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.2@sha256:b424894fc8e806c12658daa565b835fd2d66e7f7608afc47529eb7b410f030d7
306310
- name: kind
307311
value: task
308312
resolver: bundles
@@ -370,7 +374,7 @@ spec:
370374
- name: name
371375
value: ecosystem-cert-preflight-checks
372376
- name: bundle
373-
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:abbe195626eec925288df6425679559025d1be4af5ae70ca6dbbcb49ad3bf08b
377+
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:b550ff4f0b634512ce5200074be7afd7a5a6c05b783620c626e2a3035cd56448
374378
- name: kind
375379
value: task
376380
resolver: bundles
@@ -463,7 +467,7 @@ spec:
463467
- name: name
464468
value: sast-coverity-check-oci-ta
465469
- name: bundle
466-
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:c926568ce63e4f63e18bb6a4178caca2e8192f6e3b830bbcd354e6485d29458c
470+
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:34ac8e9ddfaafedaa61a7c3c95d86e674556bfe3da488d94c3bf28fff9875b38
467471
- name: kind
468472
value: task
469473
resolver: bundles
@@ -536,7 +540,7 @@ spec:
536540
- name: name
537541
value: sast-unicode-check-oci-ta
538542
- name: bundle
539-
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.3@sha256:a2bde66f6b4164620298c7d709b8f08515409404000fa1dc2260d2508b135651
543+
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.2@sha256:24ad71fde435fc25abba2c4c550beb088b1530f738d3c377e2f635b5f320d57b
540544
- name: kind
541545
value: task
542546
resolver: bundles
@@ -613,7 +617,7 @@ spec:
613617
- name: netrc
614618
optional: true
615619
taskRunTemplate:
616-
serviceAccountName: build-pipeline-keepalived-9-0
620+
serviceAccountName: build-pipeline-keepalived
617621
workspaces:
618622
- name: git-auth
619623
secret:

.tekton/keepalived-push.yaml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/cancel-in-progress: "false"
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "release-9.0"
11-
creationTimestamp:
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11+
== "release-9.0"
12+
creationTimestamp: null
1213
labels:
1314
appstudio.openshift.io/application: ceph-9-0
1415
appstudio.openshift.io/component: keepalived-9-0
@@ -65,11 +66,13 @@ spec:
6566
name: output-image
6667
type: string
6768
- default: .
68-
description: Path to the source code of an application's component from where to build image.
69+
description: Path to the source code of an application's component from where
70+
to build image.
6971
name: path-context
7072
type: string
7173
- default: Dockerfile
72-
description: Path to the Dockerfile inside the context specified by parameter path-context
74+
description: Path to the Dockerfile inside the context specified by parameter
75+
path-context
7376
name: dockerfile
7477
type: string
7578
- default: "false"
@@ -89,7 +92,8 @@ spec:
8992
name: prefetch-input
9093
type: string
9194
- default: ""
92-
description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively.
95+
description: Image tag expiration time, time values could be something like
96+
1h, 2d, 3w for hours, days, and weeks, respectively.
9397
name: image-expires-after
9498
type: string
9599
- default: "false"
@@ -109,12 +113,14 @@ spec:
109113
name: build-args-file
110114
type: string
111115
- default: "false"
112-
description: Whether to enable privileged mode, should be used only with remote VMs
116+
description: Whether to enable privileged mode, should be used only with remote
117+
VMs
113118
name: privileged-nested
114119
type: string
115120
- default:
116121
- linux/x86_64
117-
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.
122+
description: List of platforms to build the container images on. The available
123+
set of values is determined by the configuration of the multi-platform-controller.
118124
name: build-platforms
119125
type: array
120126
results:
@@ -194,7 +200,7 @@ spec:
194200
- name: name
195201
value: prefetch-dependencies-oci-ta
196202
- name: bundle
197-
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:f10a4841e6f75fbb314b1d8cbf14f652499c1fe7f59e59aed59f7431c680aa17
203+
value: quay.io/konflux-ci/tekton-catalog/task-prefetch-dependencies-oci-ta:0.2@sha256:5e15408f997557153b13d492aeccb51c01923bfbe4fbdf6f1e8695ce1b82f826
198204
- name: kind
199205
value: task
200206
resolver: bundles
@@ -244,7 +250,7 @@ spec:
244250
- name: name
245251
value: buildah-remote-oci-ta
246252
- name: bundle
247-
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:5b8d51fa889cdac873750904c3fccc0cca1c4f65af16902ebb2b573151f80657
253+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta:0.4@sha256:ae87472f60dbbf71e4980cd478c92740c145fd9e44acbb9b164a21f1bcd61aa3
248254
- name: kind
249255
value: task
250256
resolver: bundles
@@ -285,21 +291,19 @@ spec:
285291
- name: build-source-image
286292
params:
287293
- name: BINARY_IMAGE
288-
value: $(tasks.build-image-index.results.IMAGE_URL)
294+
value: $(params.output-image)
289295
- name: SOURCE_ARTIFACT
290296
value: $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
291297
- name: CACHI2_ARTIFACT
292298
value: $(tasks.prefetch-dependencies.results.CACHI2_ARTIFACT)
293-
- name: BINARY_IMAGE_DIGEST
294-
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
295299
runAfter:
296300
- build-image-index
297301
taskRef:
298302
params:
299303
- name: name
300304
value: source-build-oci-ta
301305
- name: bundle
302-
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.3@sha256:b1eb49583b41872b27356fee20d5f0eb6ff7f5cdeacde7ffb39655f031104728
306+
value: quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta:0.2@sha256:b424894fc8e806c12658daa565b835fd2d66e7f7608afc47529eb7b410f030d7
303307
- name: kind
304308
value: task
305309
resolver: bundles
@@ -367,7 +371,7 @@ spec:
367371
- name: name
368372
value: ecosystem-cert-preflight-checks
369373
- name: bundle
370-
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:abbe195626eec925288df6425679559025d1be4af5ae70ca6dbbcb49ad3bf08b
374+
value: quay.io/konflux-ci/tekton-catalog/task-ecosystem-cert-preflight-checks:0.2@sha256:b550ff4f0b634512ce5200074be7afd7a5a6c05b783620c626e2a3035cd56448
371375
- name: kind
372376
value: task
373377
resolver: bundles
@@ -460,7 +464,7 @@ spec:
460464
- name: name
461465
value: sast-coverity-check-oci-ta
462466
- name: bundle
463-
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:c926568ce63e4f63e18bb6a4178caca2e8192f6e3b830bbcd354e6485d29458c
467+
value: quay.io/konflux-ci/tekton-catalog/task-sast-coverity-check-oci-ta:0.3@sha256:34ac8e9ddfaafedaa61a7c3c95d86e674556bfe3da488d94c3bf28fff9875b38
464468
- name: kind
465469
value: task
466470
resolver: bundles
@@ -533,7 +537,7 @@ spec:
533537
- name: name
534538
value: sast-unicode-check-oci-ta
535539
- name: bundle
536-
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.3@sha256:a2bde66f6b4164620298c7d709b8f08515409404000fa1dc2260d2508b135651
540+
value: quay.io/konflux-ci/tekton-catalog/task-sast-unicode-check-oci-ta:0.2@sha256:24ad71fde435fc25abba2c4c550beb088b1530f738d3c377e2f635b5f320d57b
537541
- name: kind
538542
value: task
539543
resolver: bundles
@@ -610,7 +614,7 @@ spec:
610614
- name: netrc
611615
optional: true
612616
taskRunTemplate:
613-
serviceAccountName: build-pipeline-keepalived-9-0
617+
serviceAccountName: build-pipeline-keepalived
614618
workspaces:
615619
- name: git-auth
616620
secret:

0 commit comments

Comments
 (0)