diff --git a/.tekton/createctconfig-pull-request.yaml b/.tekton/createctconfig-pull-request.yaml index fbbd60629..93646475e 100644 --- a/.tekton/createctconfig-pull-request.yaml +++ b/.tekton/createctconfig-pull-request.yaml @@ -7,7 +7,8 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' 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 == "main" && ( ".tekton/createctconfig-pull-request.yaml".pathChanged() || "Dockerfile.createctconfig.rh".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() || "cmd/ctlog/createctconfig/*".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( ".tekton/createctconfig-pull-request.yaml".pathChanged() || "Dockerfile.createctconfig.rh".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() || "cmd/ctlog/createctconfig/*".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/createctconfig-push.yaml b/.tekton/createctconfig-push.yaml index c69078327..f3b59d5f1 100644 --- a/.tekton/createctconfig-push.yaml +++ b/.tekton/createctconfig-push.yaml @@ -6,7 +6,8 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' 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 == "main" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && + ( ".tekton/createctconfig-push.yaml".pathChanged() || "Dockerfile.createctconfig.rh".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() || "cmd/ctlog/createctconfig/*".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/ctlog-managectroots-pull-request.yaml b/.tekton/ctlog-managectroots-pull-request.yaml index 6c22aa0f7..446b9e511 100644 --- a/.tekton/ctlog-managectroots-pull-request.yaml +++ b/.tekton/ctlog-managectroots-pull-request.yaml @@ -7,7 +7,8 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' 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 == "main" && ( "cmd/ctlog/managectroots/*".pathChanged() || ".tekton/ctlog-managectroots-pull-request.yaml".pathChanged() || "Dockerfile.ctlog-managectroots.rh".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( "cmd/ctlog/managectroots/*".pathChanged() || ".tekton/ctlog-managectroots-pull-request.yaml".pathChanged() || "Dockerfile.ctlog-managectroots.rh".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/ctlog-managectroots-push.yaml b/.tekton/ctlog-managectroots-push.yaml index b4875d105..fd9c03abd 100644 --- a/.tekton/ctlog-managectroots-push.yaml +++ b/.tekton/ctlog-managectroots-push.yaml @@ -6,7 +6,8 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' 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 == "main" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && + ( "cmd/ctlog/managectroots/*".pathChanged() || ".tekton/ctlog-managectroots-push.yaml".pathChanged() || "Dockerfile.ctlog-managectroots.rh".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/fulcio-createcerts-pull-request.yaml b/.tekton/fulcio-createcerts-pull-request.yaml index a901d0b1f..a63de11db 100644 --- a/.tekton/fulcio-createcerts-pull-request.yaml +++ b/.tekton/fulcio-createcerts-pull-request.yaml @@ -7,7 +7,8 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' 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 == "main" && ( ".tekton/fulcio-createcerts-pull-request.yaml".pathChanged() || "cmd/fulcio/createcerts/*".pathChanged() || "Dockerfile.fulcio-createcerts.rh".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( ".tekton/fulcio-createcerts-pull-request.yaml".pathChanged() || "cmd/fulcio/createcerts/*".pathChanged() || "Dockerfile.fulcio-createcerts.rh".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/fulcio-createcerts-push.yaml b/.tekton/fulcio-createcerts-push.yaml index 079c3c93b..8277f5aa0 100644 --- a/.tekton/fulcio-createcerts-push.yaml +++ b/.tekton/fulcio-createcerts-push.yaml @@ -6,7 +6,8 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' 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 == "main" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && + ( ".tekton/fulcio-createcerts-push.yaml".pathChanged() || "cmd/fulcio/createcerts/*".pathChanged() || "Dockerfile.fulcio-createcerts.rh".pathChanged() || "Makefile".pathChanged() || "go.mod".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/trillian-createdb-pull-request.yaml b/.tekton/trillian-createdb-pull-request.yaml index 84666904d..8991465e7 100644 --- a/.tekton/trillian-createdb-pull-request.yaml +++ b/.tekton/trillian-createdb-pull-request.yaml @@ -7,7 +7,8 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' 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 == "main" && ( "cmd/trillian/createdb/***".pathChanged() || ".tekton/trillian-createdb-pull-request.yaml".pathChanged() || "Dockerfile.trillian-createdb.rh".pathChanged() || "config/trillian/createdb/***".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( "cmd/trillian/createdb/***".pathChanged() || ".tekton/trillian-createdb-pull-request.yaml".pathChanged() || "Dockerfile.trillian-createdb.rh".pathChanged() || "config/trillian/createdb/***".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/trillian-createdb-push.yaml b/.tekton/trillian-createdb-push.yaml index a079ef715..32642c0dd 100644 --- a/.tekton/trillian-createdb-push.yaml +++ b/.tekton/trillian-createdb-push.yaml @@ -6,7 +6,8 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' 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 == "main" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && + ( "cmd/trillian/createdb/***".pathChanged() || ".tekton/trillian-createdb-push.yaml".pathChanged() || "Dockerfile.trillian-createdb.rh".pathChanged() || "config/trillian/createdb/***".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/trillian-createtree-pull-request.yaml b/.tekton/trillian-createtree-pull-request.yaml index f258ee377..ab24bc2e5 100644 --- a/.tekton/trillian-createtree-pull-request.yaml +++ b/.tekton/trillian-createtree-pull-request.yaml @@ -7,7 +7,8 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' 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 == "main" && ( "cmd/trillian/createtree/*".pathChanged() || ".tekton/trillian-createtree-pull-request.yaml".pathChanged() || "Dockerfile.trillian-createtree.rh".pathChanged() || "config/rekor/createtree/*".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( "cmd/trillian/createtree/*".pathChanged() || ".tekton/trillian-createtree-pull-request.yaml".pathChanged() || "Dockerfile.trillian-createtree.rh".pathChanged() || "config/rekor/createtree/*".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/trillian-createtree-push.yaml b/.tekton/trillian-createtree-push.yaml index 2a4553cf6..539c5a83f 100644 --- a/.tekton/trillian-createtree-push.yaml +++ b/.tekton/trillian-createtree-push.yaml @@ -6,7 +6,8 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' 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 == "main" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && + ( "cmd/trillian/createtree/*".pathChanged() || ".tekton/trillian-createtree-push.yaml".pathChanged() || "Dockerfile.trillian-createtree.rh".pathChanged() || "config/rekor/createtree/*".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/tuf-server-pull-request.yaml b/.tekton/tuf-server-pull-request.yaml index 2577df0e2..bfe5dd5c2 100644 --- a/.tekton/tuf-server-pull-request.yaml +++ b/.tekton/tuf-server-pull-request.yaml @@ -7,7 +7,8 @@ metadata: build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}' 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 == "main" && ( "cmd/tuf/server/*".pathChanged() || ".tekton/tuf-server-pull-request.yaml".pathChanged() || "Dockerfile.tuf-server.rh".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( "cmd/tuf/server/*".pathChanged() || ".tekton/tuf-server-pull-request.yaml".pathChanged() || "Dockerfile.tuf-server.rh".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: scaffold diff --git a/.tekton/tuf-server-push.yaml b/.tekton/tuf-server-push.yaml index 2e99df49b..fe3fc0f86 100644 --- a/.tekton/tuf-server-push.yaml +++ b/.tekton/tuf-server-push.yaml @@ -6,7 +6,8 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' 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 == "main" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && + ( "cmd/tuf/server/*".pathChanged() || ".tekton/tuf-server-push.yaml".pathChanged() || "Dockerfile.tuf-server.rh".pathChanged() || "go.mod".pathChanged() || "Makefile".pathChanged() || "trigger-konflux-builds.txt".pathChanged() ) build.appstudio.openshift.io/build-nudge-files: "controllers/constants/*" creationTimestamp: null labels: