Skip to content

Commit 1cb8b3b

Browse files
committed
Adjust build pipelines
Signed-off-by: Luiz Carvalho <[email protected]>
1 parent 60ae0c6 commit 1cb8b3b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.tekton/rhtap-task-runner-pull-request.yaml renamed to .tekton/tssc-task-runner-pull-request.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
1010
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
11-
== "main" && ( ".tekton/rhtap-task-runner-pull-request.yaml".pathChanged() ||
11+
== "release-v1.7.x" && ( ".tekton/tssc-task-runner-pull-request.yaml".pathChanged() ||
1212
"Dockerfile".pathChanged() || "rhtap/***".pathChanged() || "tools/***".pathChanged()
1313
)
1414
creationTimestamp: null
1515
labels:
16-
appstudio.openshift.io/application: rhtap-task-runner
17-
appstudio.openshift.io/component: rhtap-task-runner
16+
appstudio.openshift.io/application: tssc-task-runner-1-7
17+
appstudio.openshift.io/component: tssc-task-runner-1-7
1818
pipelines.appstudio.openshift.io/type: build
19-
name: rhtap-task-runner-on-pull-request
19+
name: tssc-task-runner-1-7-on-pull-request
2020
namespace: rhtap-shared-team-tenant
2121
spec:
2222
params:
@@ -25,7 +25,7 @@ spec:
2525
- name: revision
2626
value: '{{revision}}'
2727
- name: output-image
28-
value: quay.io/redhat-user-workloads/rhtap-shared-team-tenant/rhtap-task-runner:on-pr-{{revision}}
28+
value: quay.io/redhat-user-workloads/rhtap-shared-team-tenant/tssc-task-runner-1-7:on-pr-{{revision}}
2929
- name: image-expires-after
3030
value: 5d
3131
- name: dockerfile
@@ -543,7 +543,7 @@ spec:
543543
- name: netrc
544544
optional: true
545545
taskRunTemplate:
546-
serviceAccountName: build-pipeline-rhtap-task-runner
546+
serviceAccountName: build-pipeline-tssc-task-runner-1-7
547547
workspaces:
548548
- name: git-auth
549549
secret:

.tekton/rhtap-task-runner-push.yaml renamed to .tekton/tssc-task-runner-push.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/max-keep-runs: "3"
99
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
10-
== "main" && ( ".tekton/rhtap-task-runner-push.yaml".pathChanged() || "Dockerfile".pathChanged()
10+
== "release-v1.7.x" && ( ".tekton/tssc-task-runner-push.yaml".pathChanged() || "Dockerfile".pathChanged()
1111
|| "rhtap/***".pathChanged() || "tools/***".pathChanged() )
1212
creationTimestamp: null
1313
labels:
14-
appstudio.openshift.io/application: rhtap-task-runner
15-
appstudio.openshift.io/component: rhtap-task-runner
14+
appstudio.openshift.io/application: tssc-task-runner-1-7
15+
appstudio.openshift.io/component: tssc-task-runner-1-7
1616
pipelines.appstudio.openshift.io/type: build
17-
name: rhtap-task-runner-on-push
17+
name: tssc-task-runner-1-7-on-push
1818
namespace: rhtap-shared-team-tenant
1919
spec:
2020
params:
@@ -23,7 +23,7 @@ spec:
2323
- name: revision
2424
value: '{{revision}}'
2525
- name: output-image
26-
value: quay.io/redhat-user-workloads/rhtap-shared-team-tenant/rhtap-task-runner:{{revision}}
26+
value: quay.io/redhat-user-workloads/rhtap-shared-team-tenant/tssc-task-runner-1-7:{{revision}}
2727
- name: dockerfile
2828
value: Dockerfile
2929
- name: path-context
@@ -539,7 +539,7 @@ spec:
539539
- name: netrc
540540
optional: true
541541
taskRunTemplate:
542-
serviceAccountName: build-pipeline-rhtap-task-runner
542+
serviceAccountName: build-pipeline-tssc-task-runner-1-7
543543
workspaces:
544544
- name: git-auth
545545
secret:

0 commit comments

Comments
 (0)