Skip to content

Commit

Permalink
chore(KFLUXMIG-57): Fix on-cel-expression release-2.7 (#1151)
Browse files Browse the repository at this point in the history
Signed-off-by: Ernesto González <[email protected]>
  • Loading branch information
ernesgonzalez33 authored Oct 30, 2024
1 parent 36c293b commit 198447d
Show file tree
Hide file tree
Showing 20 changed files with 88 additions and 20 deletions.
6 changes: 5 additions & 1 deletion .tekton/forklift-api-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/forklift-api-pull-request.yaml".pathChanged() ||
".tekton/forklift-api-push.yaml".pathChanged() ||
"build/forklift-api/Containerfile".pathChanged() ||
"pkg/forklift-api/***".pathChanged() ||
"cmd/forklift-api/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/forklift-api-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/forklift-api-pull-request.yaml".pathChanged() ||
".tekton/forklift-api-push.yaml".pathChanged() ||
"build/forklift-api/Containerfile".pathChanged() ||
"pkg/forklift-api/***".pathChanged() ||
"cmd/forklift-api/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/forklift-controller-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/forklift-controller-pull-request.yaml".pathChanged() ||
".tekton/forklift-controller-push.yaml".pathChanged() ||
"build/forklift-controller/Containerfile".pathChanged() ||
"pkg/controller/***".pathChanged() ||
"cmd/forklift-controller/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/forklift-controller-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/forklift-controller-pull-request.yaml".pathChanged() ||
".tekton/forklift-controller-push.yaml".pathChanged() ||
"build/forklift-controller/Containerfile".pathChanged() ||
"pkg/controller/***".pathChanged() ||
"cmd/forklift-controller/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/forklift-operator-bundle-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( "operator/config/manifests/***".pathChanged() ||
".tekton/forklift-operator-bundle-pull-request.yaml".pathChanged() ||
".tekton/forklift-operator-bundle-push.yaml".pathChanged() ||
"build/forklift-operator-bundle/Containerfile".pathChanged() ||
"operator/export-vars.sh".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/forklift-operator-bundle-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( "operator/config/manifests/***".pathChanged() ||
".tekton/forklift-operator-bundle-pull-request.yaml".pathChanged() ||
".tekton/forklift-operator-bundle-push.yaml".pathChanged() ||
"build/forklift-operator-bundle/Containerfile".pathChanged() ||
"operator/export-vars.sh".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/forklift-operator-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/forklift-operator-pull-request.yaml".pathChanged() ||
".tekton/forklift-operator-push.yaml".pathChanged() ||
"build/forklift-operator/Containerfile".pathChanged() ||
"operator/roles/***".pathChanged() ||
"operator/watches.yaml".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/forklift-operator-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/forklift-operator-pull-request.yaml".pathChanged() ||
".tekton/forklift-operator-push.yaml".pathChanged() ||
"build/forklift-operator/Containerfile".pathChanged() ||
"operator/roles/***".pathChanged() ||
"operator/watches.yaml".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
4 changes: 3 additions & 1 deletion .tekton/openstack-populator-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/openstack-populator-pull-request.yaml".pathChanged() ||
".tekton/openstack-populator-push.yaml".pathChanged() ||
"build/openstack-populator/Containerfile".pathChanged() || )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
4 changes: 3 additions & 1 deletion .tekton/openstack-populator-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/openstack-populator-pull-request.yaml".pathChanged() ||
".tekton/openstack-populator-push.yaml".pathChanged() ||
"build/openstack-populator/Containerfile".pathChanged() || )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
5 changes: 4 additions & 1 deletion .tekton/ova-provider-server-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/ova-provider-server-pull-request.yaml".pathChanged() ||
".tekton/ova-provider-server-push.yaml".pathChanged() ||
"build/ova-provider-server/Containerfile".pathChanged() ||
"cmd/ova-provider-server/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
5 changes: 4 additions & 1 deletion .tekton/ova-provider-server-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/ova-provider-server-pull-request.yaml".pathChanged() ||
".tekton/ova-provider-server-push.yaml".pathChanged() ||
"build/ova-provider-server/Containerfile".pathChanged() ||
"cmd/ova-provider-server/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
5 changes: 4 additions & 1 deletion .tekton/ovirt-populator-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/ovirt-populator-pull-request.yaml".pathChanged() ||
".tekton/ovirt-populator-push.yaml".pathChanged() ||
"build/ovirt-populator/Containerfile".pathChanged() ||
"cmd/ovirt-populator/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
5 changes: 4 additions & 1 deletion .tekton/ovirt-populator-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/ovirt-populator-pull-request.yaml".pathChanged() ||
".tekton/ovirt-populator-push.yaml".pathChanged() ||
"build/ovirt-populator/Containerfile".pathChanged() ||
"cmd/ovirt-populator/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
5 changes: 4 additions & 1 deletion .tekton/populator-controller-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/populator-controller-pull-request.yaml".pathChanged() ||
".tekton/populator-controller-push.yaml".pathChanged() ||
"build/populator-controller/Containerfile".pathChanged() ||
"cmd/populator-controller/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
5 changes: 4 additions & 1 deletion .tekton/populator-controller-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/populator-controller-pull-request.yaml".pathChanged() ||
".tekton/populator-controller-push.yaml".pathChanged() ||
"build/populator-controller/Containerfile".pathChanged() ||
"cmd/populator-controller/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
5 changes: 4 additions & 1 deletion .tekton/validation-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/validation-pull-request.yaml".pathChanged() ||
".tekton/validation-push.yaml".pathChanged() ||
"build/validation/Containerfile".pathChanged() ||
"validation/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
5 changes: 4 additions & 1 deletion .tekton/validation-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/validation-pull-request.yaml".pathChanged() ||
".tekton/validation-push.yaml".pathChanged() ||
"build/validation/Containerfile".pathChanged() ||
"validation/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/virt-v2v-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/virt-v2v-pull-request.yaml".pathChanged() ||
".tekton/virt-v2v-push.yaml".pathChanged() ||
"build/virt-v2v/Containerfile".pathChanged() ||
"virt-v2v/***".pathChanged() ||
"cmd/virt-v2v-monitor/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down
6 changes: 5 additions & 1 deletion .tekton/virt-v2v-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-2.7"
== "release-2.7" && ( ".tekton/virt-v2v-pull-request.yaml".pathChanged() ||
".tekton/virt-v2v-push.yaml".pathChanged() ||
"build/virt-v2v/Containerfile".pathChanged() ||
"virt-v2v/***".pathChanged() ||
"cmd/virt-v2v-monitor/***".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: forklift-operator-2-7
Expand Down

0 comments on commit 198447d

Please sign in to comment.