Skip to content

Commit 57f5296

Browse files
Add timeout and resources
1 parent a33c783 commit 57f5296

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.tekton/runtime-cuda-pytorch-kpoc-push.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ metadata:
2121
name: runtime-cuda-pytorch-kpoc-on-push
2222
namespace: open-data-hub-tenant
2323
spec:
24+
timeouts:
25+
pipeline: 8h
2426
params:
2527
- name: git-url
2628
value: '{{source_url}}'
@@ -43,6 +45,17 @@ spec:
4345
limits:
4446
cpu: '16'
4547
memory: 32Gi
48+
taskRunSpecs:
49+
- pipelineTaskName: build-container
50+
stepSpecs:
51+
- name: build
52+
computeResources:
53+
requests:
54+
cpu: '8'
55+
memory: 16Gi
56+
limits:
57+
cpu: '16'
58+
memory: 32Gi
4659
pipelineSpec:
4760
description: |
4861
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.

0 commit comments

Comments
 (0)