diff --git a/.tekton/backfill-redis-pull-request.yaml b/.tekton/backfill-redis-pull-request.yaml index e420e9484..d06dc9f71 100644 --- a/.tekton/backfill-redis-pull-request.yaml +++ b/.tekton/backfill-redis-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" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( "Dockerfile.backfill-redis.rh".pathChanged() || ".tekton/backfill-redis-pull-request.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() || "cmd/backfill-redis".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rekor diff --git a/.tekton/backfill-redis-push.yaml b/.tekton/backfill-redis-push.yaml index af664c9f2..fbab43896 100644 --- a/.tekton/backfill-redis-push.yaml +++ b/.tekton/backfill-redis-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" && + ( "Dockerfile.backfill-redis.rh".pathChanged() || ".tekton/backfill-redis-push.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() || "cmd/backfill-redis".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() ) build.appstudio.openshift.io/build-nudge-files: "controllers/constants/*" creationTimestamp: null labels: diff --git a/.tekton/rekor-cli-pull-request.yaml b/.tekton/rekor-cli-pull-request.yaml index 2a6684107..0683bad23 100644 --- a/.tekton/rekor-cli-pull-request.yaml +++ b/.tekton/rekor-cli-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" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( "Dockerfile.rekor-cli.rh".pathChanged() || ".tekton/rekor-cli-pull-request.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() || "cmd/rekor-cli".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() || "Build.mak".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rekor diff --git a/.tekton/rekor-cli-push.yaml b/.tekton/rekor-cli-push.yaml index dca8f701d..94399da0d 100644 --- a/.tekton/rekor-cli-push.yaml +++ b/.tekton/rekor-cli-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" && + ( "Dockerfile.rekor-cli.rh".pathChanged() || ".tekton/rekor-cli-push.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() || "cmd/rekor-cli".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() || "Build.mak".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rekor diff --git a/.tekton/rekor-server-pull-request.yaml b/.tekton/rekor-server-pull-request.yaml index e297cfab9..9eae328c7 100644 --- a/.tekton/rekor-server-pull-request.yaml +++ b/.tekton/rekor-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" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && + ( "Dockerfile.rekor-server.rh".pathChanged() || ".tekton/rekor-server-pull-request.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() || "cmd/rekor-server".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rekor diff --git a/.tekton/rekor-server-push.yaml b/.tekton/rekor-server-push.yaml index 3764da42a..a67384168 100644 --- a/.tekton/rekor-server-push.yaml +++ b/.tekton/rekor-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" && + ( "Dockerfile.rekor-server.rh".pathChanged() || ".tekton/rekor-server-push.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() || "cmd/rekor-server".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() ) build.appstudio.openshift.io/build-nudge-files: "controllers/constants/*" creationTimestamp: null labels: