Skip to content

Commit

Permalink
Merge pull request #169 from vbelouso/pipeline-cel-dashboard
Browse files Browse the repository at this point in the history
chore: exclude configuration folders from pipeline
  • Loading branch information
vbelouso authored Oct 16, 2023
2 parents 9b3ece0 + a9d2d1d commit ee8ec6f
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 ee8ec6f

Please sign in to comment.