Skip to content

Commit 1b6b538

Browse files
Roshan-Rjoelcapitao
authored andcommitted
fix(tekton) temp-commit: change to files.all for checking whether to run other pipelines other than fcos-buildroot
1 parent 2aca5e9 commit 1b6b538

31 files changed

Lines changed: 45 additions & 45 deletions

.tekton/base/base/fedora-coreos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
pipelineRef:
4141
params:
4242
- name: bundle
43-
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
43+
value: quay.io/jcapitao/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:0f64dd11e4ac99b2cc6508a95c3ffb9d37d0ef441e52bddb42305be2088c2465
4444
- name: name
4545
value: buildah-build-bootc-multi-platform-oci-ta
4646
- name: kind

.tekton/base/on-pull-request/fedora-coreos-on-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
pipelineRef:
4343
params:
4444
- name: bundle
45-
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
45+
value: quay.io/jcapitao/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:0f64dd11e4ac99b2cc6508a95c3ffb9d37d0ef441e52bddb42305be2088c2465
4646
- name: name
4747
value: buildah-build-bootc-multi-platform-oci-ta
4848
- name: kind

.tekton/base/on-push/fedora-coreos-on-push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ spec:
3939
pipelineRef:
4040
params:
4141
- name: bundle
42-
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
42+
value: quay.io/jcapitao/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:0f64dd11e4ac99b2cc6508a95c3ffb9d37d0ef441e52bddb42305be2088c2465
4343
- name: name
4444
value: buildah-build-bootc-multi-platform-oci-ta
4545
- name: kind

.tekton/branched/on-pull-request/fedora-coreos-branched-on-pull-request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
1515
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
1616
pipelinesascode.tekton.dev/max-keep-runs: "3"
17-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "branched" && !("ci/buildroot/**".pathChanged())
17+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "branched" && !(files.all.all(f, f.matches("ci/buildroot/")))
1818
creationTimestamp: null
1919
spec:
2020
params:
@@ -43,7 +43,7 @@ spec:
4343
pipelineRef:
4444
params:
4545
- name: bundle
46-
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
46+
value: quay.io/jcapitao/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:0f64dd11e4ac99b2cc6508a95c3ffb9d37d0ef441e52bddb42305be2088c2465
4747
- name: name
4848
value: buildah-build-bootc-multi-platform-oci-ta
4949
- name: kind

.tekton/branched/on-pull-request/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ patches:
2626
value: 'fedora-coreos-branched-on-pull-request'
2727
- op: replace
2828
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
29-
value: 'event == "pull_request" && target_branch == "branched" && !("ci/buildroot/**".pathChanged())'
29+
value: 'event == "pull_request" && target_branch == "branched" && !(files.all.all(f, f.matches("ci/buildroot/")))'
3030

.tekton/branched/on-push/fedora-coreos-branched-on-push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ metadata:
1313
build.appstudio.redhat.com/commit_sha: '{{revision}}'
1414
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
1515
pipelinesascode.tekton.dev/max-keep-runs: "3"
16-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "branched" && !("ci/buildroot/**".pathChanged())
16+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "branched" && !(files.all.all(f, f.matches("ci/buildroot/")))
1717
creationTimestamp: null
1818
spec:
1919
params:
@@ -40,7 +40,7 @@ spec:
4040
pipelineRef:
4141
params:
4242
- name: bundle
43-
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
43+
value: quay.io/jcapitao/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:0f64dd11e4ac99b2cc6508a95c3ffb9d37d0ef441e52bddb42305be2088c2465
4444
- name: name
4545
value: buildah-build-bootc-multi-platform-oci-ta
4646
- name: kind

.tekton/branched/on-push/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ patches:
2626
value: 'fedora-coreos-branched-on-push'
2727
- op: replace
2828
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
29-
value: 'event == "push" && target_branch == "branched" && !("ci/buildroot/**".pathChanged())'
29+
value: 'event == "push" && target_branch == "branched" && !(files.all.all(f, f.matches("ci/buildroot/")))'
3030

.tekton/next-devel/on-pull-request/fedora-coreos-next-devel-on-pull-request.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ metadata:
1414
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
1515
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
1616
pipelinesascode.tekton.dev/max-keep-runs: "3"
17-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "next-devel" && !("ci/buildroot/**".pathChanged())
17+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "next-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))
1818
creationTimestamp: null
1919
spec:
2020
params:
@@ -43,7 +43,7 @@ spec:
4343
pipelineRef:
4444
params:
4545
- name: bundle
46-
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
46+
value: quay.io/jcapitao/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:0f64dd11e4ac99b2cc6508a95c3ffb9d37d0ef441e52bddb42305be2088c2465
4747
- name: name
4848
value: buildah-build-bootc-multi-platform-oci-ta
4949
- name: kind

.tekton/next-devel/on-pull-request/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ patches:
2626
value: 'fedora-coreos-next-devel-on-pull-request'
2727
- op: replace
2828
path: /metadata/annotations/pipelinesascode.tekton.dev~1on-cel-expression
29-
value: 'event == "pull_request" && target_branch == "next-devel" && !("ci/buildroot/**".pathChanged())'
29+
value: 'event == "pull_request" && target_branch == "next-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))'
3030
3131

.tekton/next-devel/on-push/fedora-coreos-next-devel-on-push.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ metadata:
1313
build.appstudio.redhat.com/commit_sha: '{{revision}}'
1414
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
1515
pipelinesascode.tekton.dev/max-keep-runs: "3"
16-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "next-devel" && !("ci/buildroot/**".pathChanged())
16+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "next-devel" && !(files.all.all(f, f.matches("ci/buildroot/")))
1717
creationTimestamp: null
1818
spec:
1919
params:
@@ -40,7 +40,7 @@ spec:
4040
pipelineRef:
4141
params:
4242
- name: bundle
43-
value: quay.io/bootc-devel/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:ea80d0ab92471fd4ad5bcaa6961781c3c66ce043e9fc4af7c6cc2b734e8499ca
43+
value: quay.io/jcapitao/tekton-catalog/pipeline-buildah-build-bootc-multi-platform-oci-ta@sha256:0f64dd11e4ac99b2cc6508a95c3ffb9d37d0ef441e52bddb42305be2088c2465
4444
- name: name
4545
value: buildah-build-bootc-multi-platform-oci-ta
4646
- name: kind

0 commit comments

Comments
 (0)