From 15d1a30204a2f7461817b51889b06b5032df3c1b Mon Sep 17 00:00:00 2001 From: tommyd450 Date: Mon, 13 Nov 2023 14:19:28 +0000 Subject: [PATCH] Updating tekton files for minimal builds --- .tekton/backfill-redis-pull-request.yaml | 1 + .tekton/backfill-redis-push.yaml | 1 + .tekton/rekor-cli-pull-request.yaml | 1 + .tekton/rekor-cli-push.yaml | 1 + .tekton/rekor-server-pull-request.yaml | 1 + .tekton/rekor-server-push.yaml | 1 + 6 files changed, 6 insertions(+) diff --git a/.tekton/backfill-redis-pull-request.yaml b/.tekton/backfill-redis-pull-request.yaml index 1ec866c29..753509b17 100644 --- a/.tekton/backfill-redis-pull-request.yaml +++ b/.tekton/backfill-redis-pull-request.yaml @@ -9,6 +9,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-event: '[pull_request]' pipelinesascode.tekton.dev/on-target-branch: '[redhat-v1.2.2]' + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "redhat-v1.2.2" && ( "cmd/backfill-redis*".pathChanged() || ".tekton/backfill-redis-pull-request.yaml".pathChanged() || "/Dockerfile.backfill-redis".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rhtas-stack-1-0-beta diff --git a/.tekton/backfill-redis-push.yaml b/.tekton/backfill-redis-push.yaml index 70afd081d..1efd66e1f 100644 --- a/.tekton/backfill-redis-push.yaml +++ b/.tekton/backfill-redis-push.yaml @@ -8,6 +8,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-event: '[push]' pipelinesascode.tekton.dev/on-target-branch: '[redhat-v1.2.2]' + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "redhat-v1.2.2" && ( "cmd/backfill-redis/*".pathChanged() || ".tekton/backfill-redis-push.yaml".pathChanged() || "/Dockerfile.backfill-redis".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rhtas-stack-1-0-beta diff --git a/.tekton/rekor-cli-pull-request.yaml b/.tekton/rekor-cli-pull-request.yaml index df7e01540..d858b5158 100644 --- a/.tekton/rekor-cli-pull-request.yaml +++ b/.tekton/rekor-cli-pull-request.yaml @@ -9,6 +9,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-event: '[pull_request]' pipelinesascode.tekton.dev/on-target-branch: '[redhat-v1.2.2]' + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "redhat-v1.2.2" && ( "cmd/rekor-cli/*".pathChanged() || ".tekton/rekor-cli-pull-request.yaml".pathChanged() || "/Dockerfile.cli".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rhtas-cli-1-0-beta diff --git a/.tekton/rekor-cli-push.yaml b/.tekton/rekor-cli-push.yaml index da04122e5..f8f5325cc 100644 --- a/.tekton/rekor-cli-push.yaml +++ b/.tekton/rekor-cli-push.yaml @@ -8,6 +8,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-event: '[push]' pipelinesascode.tekton.dev/on-target-branch: '[redhat-v1.2.2]' + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "redhat-v1.2.2" && ( "cmd/rekor-cli/*".pathChanged() || ".tekton/rekor-cli-push.yaml".pathChanged() || "/Dockerfile.cli".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rhtas-cli-1-0-beta diff --git a/.tekton/rekor-server-pull-request.yaml b/.tekton/rekor-server-pull-request.yaml index 1f7369c6d..40cf2aee2 100644 --- a/.tekton/rekor-server-pull-request.yaml +++ b/.tekton/rekor-server-pull-request.yaml @@ -9,6 +9,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-event: '[pull_request]' pipelinesascode.tekton.dev/on-target-branch: '[redhat-v1.2.2]' + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "redhat-v1.2.2" && ( "cmd/rekor-server/*".pathChanged() || ".tekton/rekor-server-pull-request.yaml".pathChanged() || "/Dockerfile".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rhtas-stack-1-0-beta diff --git a/.tekton/rekor-server-push.yaml b/.tekton/rekor-server-push.yaml index 08b6c65a7..85cfe372f 100644 --- a/.tekton/rekor-server-push.yaml +++ b/.tekton/rekor-server-push.yaml @@ -8,6 +8,7 @@ metadata: pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-event: '[push]' pipelinesascode.tekton.dev/on-target-branch: '[redhat-v1.2.2]' + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "redhat-v1.2.2" && ( "cmd/rekor-server/*".pathChanged() || ".tekton/rekor-server-push.yaml".pathChanged() || "/Dockerfile".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: rhtas-stack-1-0-beta