Skip to content

Commit a33c783

Browse files
Add timeout and resources
1 parent 5ddf200 commit a33c783

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

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

0 commit comments

Comments
 (0)