Skip to content

Commit dd069ad

Browse files
authored
Merge pull request #225 from redhat-appstudio/konflux-sa-migration-rhtap-task-runner-1-5
Konflux build pipeline service account migration
2 parents 3f716ee + dea0d4c commit dd069ad

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:
@@ -604,7 +600,8 @@ spec:
604600
optional: true
605601
- name: netrc
606602
optional: true
607-
taskRunTemplate: {}
603+
taskRunTemplate:
604+
serviceAccountName: build-pipeline-rhtap-task-runner-1-5
608605
workspaces:
609606
- name: git-auth
610607
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:
@@ -601,7 +597,8 @@ spec:
601597
optional: true
602598
- name: netrc
603599
optional: true
604-
taskRunTemplate: {}
600+
taskRunTemplate:
601+
serviceAccountName: build-pipeline-rhtap-task-runner-1-5
605602
workspaces:
606603
- name: git-auth
607604
secret:

0 commit comments

Comments
 (0)