Skip to content

Commit dbc6fb1

Browse files
committed
ci: fix tekton on-cell-expression
Change target_branch expressio value to release-1.3 Signed-off-by: Tomas Turek <[email protected]>
1 parent 8536fce commit dbc6fb1

File tree

7 files changed

+4
-97
lines changed

7 files changed

+4
-97
lines changed

.tekton/project_resources/devstream.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.tekton/project_resources/project.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.tekton/project_resources/template.yaml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.tekton/rhtas-operator-bundle-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main"
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.3"
1111
&& (".tekton/rhtas-operator-bundle-pull-request.yaml".pathChanged() || ".tekton/rhtas-operator-pull-request.yaml".pathChanged()
1212
|| "bundle.Dockerfile".pathChanged() || "Dockerfile.rhtas-operator.rh".pathChanged()
1313
|| "config/***".pathChanged() || "hack/***".pathChanged()

.tekton/rhtas-operator-bundle-push.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ apiVersion: tekton.dev/v1
22
kind: PipelineRun
33
metadata:
44
annotations:
5-
build.appstudio.openshift.io/build-nudge-files: internal/controller/constants/*
65
build.appstudio.openshift.io/repo: https://github.com/securesign/secure-sign-operator?rev={{revision}}
76
build.appstudio.redhat.com/commit_sha: '{{revision}}'
87
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
98
pipelinesascode.tekton.dev/max-keep-runs: "3"
109
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11-
== "main" && (".tekton/rhtas-operator-bundle-push.yaml".pathChanged() || ".tekton/rhtas-operator-push.yaml".pathChanged()
10+
== "release-1.3" && (".tekton/rhtas-operator-bundle-push.yaml".pathChanged() || ".tekton/rhtas-operator-push.yaml".pathChanged()
1211
|| "bundle.Dockerfile".pathChanged() || "Dockerfile.rhtas-operator.rh".pathChanged()
1312
|| "config/***".pathChanged() || "hack/***".pathChanged()
1413
|| "api/***".pathChanged() || "internal/***".pathChanged() || "cmd/***".pathChanged()

.tekton/rhtas-operator-pull-request.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ apiVersion: tekton.dev/v1
22
kind: PipelineRun
33
metadata:
44
annotations:
5-
build.appstudio.openshift.io/build-nudge-files: controllers/constants/*
65
build.appstudio.openshift.io/repo: https://github.com/securesign/secure-sign-operator?rev={{revision}}
76
build.appstudio.redhat.com/commit_sha: '{{revision}}'
87
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
98
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
109
pipelinesascode.tekton.dev/max-keep-runs: "3"
1110
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "main" && (".tekton/rhtas-operator-bundle-pull-request.yaml".pathChanged() || ".tekton/rhtas-operator-pull-request.yaml".pathChanged()
11+
== "release-1.3" && (".tekton/rhtas-operator-bundle-pull-request.yaml".pathChanged() || ".tekton/rhtas-operator-pull-request.yaml".pathChanged()
1312
|| "bundle.Dockerfile".pathChanged() || "Dockerfile.rhtas-operator.rh".pathChanged()
1413
|| "config/***".pathChanged() || "hack/***".pathChanged()
1514
|| "api/***".pathChanged() || "internal/***".pathChanged() || "cmd/***".pathChanged()

.tekton/rhtas-operator-push.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ apiVersion: tekton.dev/v1
22
kind: PipelineRun
33
metadata:
44
annotations:
5-
build.appstudio.openshift.io/build-nudge-files: controllers/constants/*
65
build.appstudio.openshift.io/repo: https://github.com/securesign/secure-sign-operator?rev={{revision}}
76
build.appstudio.redhat.com/commit_sha: '{{revision}}'
87
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
98
pipelinesascode.tekton.dev/max-keep-runs: "3"
109
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11-
== "main" && (".tekton/rhtas-operator-bundle-push.yaml".pathChanged() || ".tekton/rhtas-operator-push.yaml".pathChanged()
10+
== "release-1.3" && (".tekton/rhtas-operator-bundle-push.yaml".pathChanged() || ".tekton/rhtas-operator-push.yaml".pathChanged()
1211
|| "bundle.Dockerfile".pathChanged() || "Dockerfile.rhtas-operator.rh".pathChanged()
1312
|| "config/***".pathChanged() || "hack/***".pathChanged()
1413
|| "api/***".pathChanged() || "internal/***".pathChanged() || "cmd/***".pathChanged()

0 commit comments

Comments
 (0)