Skip to content

Commit f52c9fc

Browse files
move timeouts to pipelineSpec
1 parent fa423fe commit f52c9fc

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.tekton/odh-training-rocm64-torch29-py312-rhel9-pull-request.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ metadata:
1919
namespace: open-data-hub-tenant
2020
spec:
2121
timeouts:
22-
pipeline: "24h"
23-
tasks: "20h"
22+
pipeline: 24h
23+
tasks: 20h
2424
params:
2525
- name: git-url
2626
value: '{{source_url}}'
@@ -38,6 +38,9 @@ spec:
3838
- name: path-context
3939
value: images/universal/training/rocm64-torch290-py312
4040
pipelineSpec:
41+
timeouts:
42+
pipeline: 24h
43+
tasks: 20h
4144
description: |
4245
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
4346
_Uses `buildah` to create a multi-platform container image leveraging [trusted artifacts](https://konflux-ci.dev/architecture/ADR/0036-trusted-artifacts.html). It also optionally creates a source image and runs some build-time tests. This pipeline requires that the [multi platform controller](https://github.com/konflux-ci/multi-platform-controller) is deployed and configured on your Konflux instance. Information is shared between tasks using OCI artifacts instead of PVCs. EC will pass the [`trusted_task.trusted`](https://conforma.dev/docs/policy/packages/release_trusted_task.html#trusted_task__trusted) policy as long as all data used to build the artifact is generated from trusted tasks.
@@ -213,6 +216,7 @@ spec:
213216
value:
214217
- $(params.build-platforms)
215218
name: build-images
219+
timeout: 20h
216220
params:
217221
- name: IMAGE
218222
value: $(params.output-image)

.tekton/odh-training-rocm64-torch29-py312-rhel9-push.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ metadata:
1818
namespace: open-data-hub-tenant
1919
spec:
2020
timeouts:
21-
pipeline: "24h"
22-
tasks: "20h"
21+
pipeline: 24h
22+
tasks: 20h
2323
params:
2424
- name: git-url
2525
value: '{{source_url}}'
@@ -35,6 +35,9 @@ spec:
3535
- name: path-context
3636
value: images/universal/training/rocm64-torch290-py312
3737
pipelineSpec:
38+
timeouts:
39+
pipeline: 24h
40+
tasks: 20h
3841
description: |
3942
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
4043
_Uses `buildah` to create a multi-platform container image leveraging [trusted artifacts](https://konflux-ci.dev/architecture/ADR/0036-trusted-artifacts.html). It also optionally creates a source image and runs some build-time tests. This pipeline requires that the [multi platform controller](https://github.com/konflux-ci/multi-platform-controller) is deployed and configured on your Konflux instance. Information is shared between tasks using OCI artifacts instead of PVCs. EC will pass the [`trusted_task.trusted`](https://conforma.dev/docs/policy/packages/release_trusted_task.html#trusted_task__trusted) policy as long as all data used to build the artifact is generated from trusted tasks.
@@ -210,6 +213,7 @@ spec:
210213
value:
211214
- $(params.build-platforms)
212215
name: build-images
216+
timeout: 20h
213217
params:
214218
- name: IMAGE
215219
value: $(params.output-image)

0 commit comments

Comments
 (0)