Skip to content

Commit

Permalink
Updating tekton file for kserv 210
Browse files Browse the repository at this point in the history
  • Loading branch information
moulalis committed May 21, 2024
1 parent c92c746 commit f25fc2e
Show file tree
Hide file tree
Showing 16 changed files with 44 additions and 3,157 deletions.
7 changes: 5 additions & 2 deletions .tekton/kserve-agent-210-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ 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
== "rhoai-2.10" && (!".tekton/*.*".pathChanged() || ".tekton/kserve-agent-210-pull-request.yaml".pathChanged()) && !"config/overlays/odh/params.env".pathChanged()
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request"
&& target_branch == "rhoai-2.10"
&& ( !".tekton/**".pathChanged() || ".tekton/kserve-agent-210-pull-request.yaml".pathChanged() )
&& !"config/overlays/odh/params.env".pathChanged()
creationTimestamp: null
labels:
appstudio.openshift.io/application: kserve-agent
Expand Down
8 changes: 6 additions & 2 deletions .tekton/kserve-agent-210-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ 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
== "rhoai-2.10" && (!".tekton/*.*".pathChanged() || ".tekton/kserve-agent-210-push.yaml".pathChanged()) && !"config/overlays/odh/params.env".pathChanged()
build.appstudio.openshift.io/build-nudge-files: ".*.env, .*.json"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push"
&& target_branch == "rhoai-2.10"
&& ( !".tekton/**".pathChanged() || ".tekton/kserve-agent-210-push.yaml".pathChanged() )
&& !"config/overlays/odh/params.env".pathChanged()
creationTimestamp: null
labels:
appstudio.openshift.io/application: kserve-agent
Expand Down
Loading

0 comments on commit f25fc2e

Please sign in to comment.