Skip to content

Commit 7268500

Browse files
authored
Merge pull request #85 from moulalis/training-rocm-update
updating memory fo rtraining rocm
2 parents 5fad197 + 67ef8a6 commit 7268500

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ metadata:
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
1010
pipelinesascode.tekton.dev/on-cel-expression: |
1111
event == "pull_request"
12-
&& target_branch == "main"
13-
&& ( "images/runtime/training/rocm/**".pathChanged() || ".tekton/training-rocm-pull-request.yaml".pathChanged() )
12+
&& target_branch == "null"
1413
creationTimestamp: null
1514
labels:
1615
appstudio.openshift.io/application: runtime-ray
@@ -33,21 +32,22 @@ spec:
3332
- name: path-context
3433
value: images/runtime/training/rocm
3534
taskRunSpecs:
36-
- pipelineTaskName: build-container
37-
stepSpecs:
38-
- name: build
39-
computeResources:
40-
requests:
41-
memory: 10Gi
42-
limits:
43-
memory: 10Gi
44-
- pipelineTaskName: prefetch-dependencies
35+
- pipelineTaskName: ecosystem-cert-preflight-checks
4536
computeResources:
4637
requests:
47-
cpu: '1'
48-
memory: 2Gi
38+
cpu: '8'
39+
memory: 16Gi
4940
limits:
50-
memory: 2Gi
41+
cpu: '16'
42+
memory: 32Gi
43+
- pipelineTaskName: clair-scan
44+
computeResources:
45+
requests:
46+
cpu: '8'
47+
memory: 16Gi
48+
limits:
49+
cpu: '16'
50+
memory: 32Gi
5151
pipelineSpec:
5252
description: |
5353
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.

.tekton/training-rocm-push.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,22 @@ spec:
3232
- name: path-context
3333
value: images/runtime/training/rocm
3434
taskRunSpecs:
35-
- pipelineTaskName: build-container
36-
stepSpecs:
37-
- name: build
38-
computeResources:
39-
requests:
40-
memory: 10Gi
41-
limits:
42-
memory: 10Gi
43-
- pipelineTaskName: prefetch-dependencies
35+
- pipelineTaskName: ecosystem-cert-preflight-checks
4436
computeResources:
4537
requests:
46-
cpu: '1'
47-
memory: 2Gi
38+
cpu: '8'
39+
memory: 16Gi
4840
limits:
49-
memory: 2Gi
41+
cpu: '16'
42+
memory: 32Gi
43+
- pipelineTaskName: clair-scan
44+
computeResources:
45+
requests:
46+
cpu: '8'
47+
memory: 16Gi
48+
limits:
49+
cpu: '16'
50+
memory: 32Gi
5051
pipelineSpec:
5152
description: |
5253
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.

0 commit comments

Comments
 (0)