Skip to content

Commit 353da73

Browse files
author
konflux
committed
Konflux build pipeline service account migration for cert-manager-operator-index-4-15
Signed-off-by: konflux <[email protected]>
1 parent ce14709 commit 353da73

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.tekton/cert-manager-operator-index-4-15-pull-request.yaml

Lines changed: 6 additions & 4 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 == "main" &&
12-
( "./catalogs/v4.15/***".pathChanged() || ".tekton/cert-manager-operator-index-4-15-pull-request.yaml".pathChanged() )
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12+
== "main" && ( "./catalogs/v4.15/***".pathChanged() || ".tekton/cert-manager-operator-index-4-15-pull-request.yaml".pathChanged()
13+
)
1314
creationTimestamp: null
1415
labels:
1516
appstudio.openshift.io/application: cert-manager-operator-index-4-15
@@ -32,10 +33,11 @@ spec:
3233
- name: path-context
3334
value: catalogs/v4.15
3435
- name: build-args
35-
value: [ ]
36+
value: []
3637
pipelineRef:
3738
name: fbc-build-pipeline
38-
taskRunTemplate: {}
39+
taskRunTemplate:
40+
serviceAccountName: build-pipeline-cert-manager-operator-index-4-15
3941
workspaces:
4042
- name: git-auth
4143
secret:

.tekton/cert-manager-operator-index-4-15-push.yaml

Lines changed: 6 additions & 4 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 == "main" &&
11-
( "./catalogs/v4.15/***".pathChanged() || ".tekton/cert-manager-operator-index-4-15-push.yaml".pathChanged() )
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11+
== "main" && ( "./catalogs/v4.15/***".pathChanged() || ".tekton/cert-manager-operator-index-4-15-push.yaml".pathChanged()
12+
)
1213
creationTimestamp: null
1314
labels:
1415
appstudio.openshift.io/application: cert-manager-operator-index-4-15
@@ -29,10 +30,11 @@ spec:
2930
- name: path-context
3031
value: catalogs/v4.15
3132
- name: build-args
32-
value: [ ]
33+
value: []
3334
pipelineRef:
3435
name: fbc-build-pipeline
35-
taskRunTemplate: {}
36+
taskRunTemplate:
37+
serviceAccountName: build-pipeline-cert-manager-operator-index-4-15
3638
workspaces:
3739
- name: git-auth
3840
secret:

0 commit comments

Comments
 (0)