Skip to content

Commit dea0d4c

Browse files
author
konflux
committed
Konflux build pipeline service account migration for rhtap-task-runner-1-5
Signed-off-by: konflux <[email protected]>
1 parent b0658db commit dea0d4c

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

.tekton/rhtap-task-runner-1-5-pull-request.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ metadata:
99
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
1111
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "release-v1.5.x" &&
13-
(
14-
".tekton/rhtap-task-runner-1-5-pull-request.yaml".pathChanged() ||
15-
"Dockerfile".pathChanged() ||
16-
"rhtap/***".pathChanged() ||
17-
"tools/***".pathChanged()
12+
== "release-v1.5.x" && ( ".tekton/rhtap-task-runner-1-5-pull-request.yaml".pathChanged()
13+
|| "Dockerfile".pathChanged() || "rhtap/***".pathChanged() || "tools/***".pathChanged()
1814
)
1915
creationTimestamp: null
2016
labels:
@@ -602,7 +598,8 @@ spec:
602598
optional: true
603599
- name: netrc
604600
optional: true
605-
taskRunTemplate: {}
601+
taskRunTemplate:
602+
serviceAccountName: build-pipeline-rhtap-task-runner-1-5
606603
workspaces:
607604
- name: git-auth
608605
secret:

.tekton/rhtap-task-runner-1-5-push.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@ metadata:
88
pipelinesascode.tekton.dev/cancel-in-progress: "false"
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
1010
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11-
== "release-v1.5.x" &&
12-
(
13-
".tekton/rhtap-task-runner-1-5-push.yaml".pathChanged() ||
14-
"Dockerfile".pathChanged() ||
15-
"rhtap/***".pathChanged() ||
16-
"tools/***".pathChanged()
11+
== "release-v1.5.x" && ( ".tekton/rhtap-task-runner-1-5-push.yaml".pathChanged()
12+
|| "Dockerfile".pathChanged() || "rhtap/***".pathChanged() || "tools/***".pathChanged()
1713
)
1814
creationTimestamp: null
1915
labels:
@@ -599,7 +595,8 @@ spec:
599595
optional: true
600596
- name: netrc
601597
optional: true
602-
taskRunTemplate: {}
598+
taskRunTemplate:
599+
serviceAccountName: build-pipeline-rhtap-task-runner-1-5
603600
workspaces:
604601
- name: git-auth
605602
secret:

0 commit comments

Comments
 (0)