Skip to content

Commit fc6a347

Browse files
authored
Merge pull request #707 from eqrx/dashpko
Let tekton use correct image
2 parents ac4f098 + 91a0fe7 commit fc6a347

4 files changed

Lines changed: 6 additions & 14 deletions

File tree

.tekton/addon-operator-pko-pull-request.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/cancel-in-progress: 'true'
99
pipelinesascode.tekton.dev/max-keep-runs: '3'
10-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
11-
== "main"
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main"
1211
labels:
1312
appstudio.openshift.io/application: addon-operator
14-
appstudio.openshift.io/component: addon-operator
13+
appstudio.openshift.io/component: addon-operator-pko
1514
pipelines.appstudio.openshift.io/type: build
1615
name: addon-operator-pko-on-pull-request
1716
namespace: addon-operator-tenant

.tekton/addon-operator-pko-push.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ 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
11-
== "main"
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main"
1211
labels:
1312
appstudio.openshift.io/application: addon-operator
14-
appstudio.openshift.io/component: addon-operator
13+
appstudio.openshift.io/component: addon-operator-pko
1514
pipelines.appstudio.openshift.io/type: build
1615
name: addon-operator-pko-on-push
1716
namespace: addon-operator-tenant

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ 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\" \n&&\
12-
\ target_branch == \"main\"\n&& (\"**/*.go\".pathChanged() ||\n \"**/go.*\"\
13-
.pathChanged() ||\n \"build/Dockerfile\".pathChanged() ||\n \".tekton/addon-operator-pull-request.yaml\"\
14-
.pathChanged() )\n"
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main"
1512
creationTimestamp: null
1613
labels:
1714
appstudio.openshift.io/application: addon-operator

.tekton/addon-operator-push.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ 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\" \n&& target_branch\
11-
\ == \"main\"\n&& (\"**/*.go\".pathChanged() ||\n \"**/go.*\".pathChanged()\
12-
\ ||\n \"build/Dockerfile\".pathChanged() ||\n \".tekton/addon-operator-push.yaml\"\
13-
.pathChanged() )\n"
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main"
1411
creationTimestamp: null
1512
labels:
1613
appstudio.openshift.io/application: addon-operator

0 commit comments

Comments
 (0)