Skip to content

Commit

Permalink
update cel expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonPowr committed Dec 3, 2024
1 parent 491d96f commit aa8b5e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .tekton/fetch-tsa-certs-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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/fetch-tsa-certs-pull-request.yaml".pathChanged() || "cmd/fetch-tsa-certs".pathChanged() || "pkg".pathChanged() || "Build.mak".pathChanged() || "Dockerfile.fetch_tsa_certs.rh".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() )
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && (".tekton/fetch-tsa-certs-pull-request.yaml".pathChanged() || "cmd/fetch-tsa-certs/***".pathChanged() || "pkg/***".pathChanged() || "Build.mak".pathChanged() || "Dockerfile.fetch_tsa_certs.rh".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: cli
Expand Down
2 changes: 1 addition & 1 deletion .tekton/fetch-tsa-certs-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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" && (".tekton/fetch-tsa-certs-push.yaml".pathChanged() || "cmd/fetch-tsa-certs".pathChanged() || "pkg".pathChanged() || "Build.mak".pathChanged() || "Dockerfile.fetch_tsa_certs.rh".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() )
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && (".tekton/fetch-tsa-certs-push.yaml".pathChanged() || "cmd/fetch-tsa-certs/***".pathChanged() || "pkg/***".pathChanged() || "Build.mak".pathChanged() || "Dockerfile.fetch_tsa_certs.rh".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: cli
Expand Down
2 changes: 1 addition & 1 deletion .tekton/timestamp-authority-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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/timestamp-authority-pull-request.yaml".pathChanged() || "cmd/timestamp-server".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() || "Dockerfile.tsa.rh".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() )
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && (".tekton/timestamp-authority-pull-request.yaml".pathChanged() || "cmd/timestamp-server/***".pathChanged() || "pkg/***".pathChanged() || "Makefile".pathChanged() || "Dockerfile.tsa.rh".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: timestamp-authority
Expand Down
2 changes: 1 addition & 1 deletion .tekton/timestamp-authority-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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" && (".tekton/timestamp-authority-push.yaml".pathChanged() || "cmd/timestamp-server".pathChanged() || "pkg".pathChanged() || "Makefile".pathChanged() || "Dockerfile.tsa.rh".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() )
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && (".tekton/timestamp-authority-push.yaml".pathChanged() || "cmd/timestamp-server/***".pathChanged() || "pkg/***".pathChanged() || "Makefile".pathChanged() || "Dockerfile.tsa.rh".pathChanged() || "go.mod".pathChanged() || "go.sum".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: timestamp-authority
Expand Down

0 comments on commit aa8b5e4

Please sign in to comment.