Skip to content

Commit d861105

Browse files
authored
Merge pull request #48 from moulalis/onrd_ray_rocm
onboard ray rocm on konflux
2 parents c64b687 + 4c7ab5c commit d861105

File tree

2 files changed

+19
-11
lines changed

2 files changed

+19
-11
lines changed

.tekton/ray-rocm-pull-request.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ metadata:
77
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
11-
== "main"
10+
pipelinesascode.tekton.dev/on-cel-expression: |
11+
event == "pull_request"
12+
&& target_branch == "main"
13+
&& ( !".tekton/**".pathChanged() || ".tekton/ray-rocm-pull-request.yaml".pathChanged() )
1214
creationTimestamp: null
1315
labels:
1416
appstudio.openshift.io/application: runtime-ray
@@ -27,7 +29,9 @@ spec:
2729
- name: image-expires-after
2830
value: 5d
2931
- name: dockerfile
30-
value: images/runtime/ray/rocm/Dockerfile
32+
value: Dockerfile
33+
- name: path-context
34+
value: images/runtime/ray/rocm
3135
pipelineSpec:
3236
finally:
3337
- name: show-sbom
@@ -233,9 +237,9 @@ spec:
233237
taskRef:
234238
params:
235239
- name: name
236-
value: buildah
240+
value: buildah-8gb
237241
- name: bundle
238-
value: quay.io/konflux-ci/tekton-catalog/task-buildah:0.2@sha256:a523f60203d90e149f96ec776b47ce85a7acfd6d634ddfc18f4a03f14e08ea0e
242+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-8gb:0.2
239243
- name: kind
240244
value: task
241245
resolver: bundles

.tekton/ray-rocm-push.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ metadata:
66
build.appstudio.redhat.com/commit_sha: '{{revision}}'
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/max-keep-runs: "3"
9-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
10-
== "main"
9+
pipelinesascode.tekton.dev/on-cel-expression: |
10+
event == "pull_request"
11+
&& target_branch == "main"
12+
&& ( !".tekton/**".pathChanged() || ".tekton/ray-rocm-push.yaml".pathChanged() )
1113
creationTimestamp: null
1214
labels:
1315
appstudio.openshift.io/application: runtime-ray
@@ -22,9 +24,11 @@ spec:
2224
- name: revision
2325
value: '{{revision}}'
2426
- name: output-image
25-
value: quay.io/redhat-user-workloads/rhoai-tenant/runtime-ray/ray-rocm:{{revision}}
27+
value: quay.io/modh/ray:2.35.0-py39-rocm61
2628
- name: dockerfile
27-
value: images/runtime/ray/rocm/Dockerfile
29+
value: Dockerfile
30+
- name: path-context
31+
value: images/runtime/ray/rocm
2832
pipelineSpec:
2933
finally:
3034
- name: show-sbom
@@ -230,9 +234,9 @@ spec:
230234
taskRef:
231235
params:
232236
- name: name
233-
value: buildah
237+
value: buildah-8gb
234238
- name: bundle
235-
value: quay.io/konflux-ci/tekton-catalog/task-buildah:0.2@sha256:a523f60203d90e149f96ec776b47ce85a7acfd6d634ddfc18f4a03f14e08ea0e
239+
value: quay.io/konflux-ci/tekton-catalog/task-buildah-8gb:0.2
236240
- name: kind
237241
value: task
238242
resolver: bundles

0 commit comments

Comments
 (0)