Skip to content

Commit

Permalink
chore: exclude dashboard and deploy folders from pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Belousov <[email protected]>
  • Loading branch information
vbelouso committed Oct 16, 2023
1 parent 9b3ece0 commit a9d2d1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .tekton/exhort-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-event: '[pull_request]'
pipelinesascode.tekton.dev/on-target-branch: '[stable]'
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" && target_branch == "stable" && !("dashboard/*".pathChanged() || "deploy/*".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: exhort-alpha
Expand Down
3 changes: 2 additions & 1 deletion .tekton/exhort-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-event: '[push]'
pipelinesascode.tekton.dev/on-target-branch: '[stable]'
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" && target_branch == "stable" && !("dashboard/*".pathChanged() || "deploy/*".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: exhort-alpha
Expand Down

0 comments on commit a9d2d1d

Please sign in to comment.