Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions .tekton/training-py311-rocm62-torch241-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ metadata:
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push"
&& target_branch == "main"
&& ( "images/runtime/training/py311-rocm62-torch241/**".pathChanged() || ".tekton/training-py311-rocm62-torch241-push.yaml".pathChanged() )
pipelinesascode.tekton.dev/on-cel-expression: "event == \"push\" \n&& target_branch
== \"main\" \n&& ( \"images/runtime/training/py311-rocm62-torch241/**\".pathChanged()
|| \".tekton/training-py311-rocm62-torch241-push.yaml\".pathChanged() )\n"
creationTimestamp: null
labels:
appstudio.openshift.io/application: runtime-training
Expand All @@ -19,8 +18,6 @@ metadata:
name: training-py311-rocm62-torch241-on-push
namespace: rhoai-tenant
spec:
timeouts:
pipeline: 10h
params:
- name: git-url
value: '{{source_url}}'
Expand Down Expand Up @@ -58,9 +55,9 @@ spec:
value: task
resolver: bundles
params:
- name: additional-tag
- description: Additional fixed tag for the image
name: additional-tag
type: string
description: Additional fixed tag for the image
- description: Source Repository URL
name: git-url
type: string
Expand Down Expand Up @@ -214,9 +211,7 @@ spec:
workspace: git-auth
- name: netrc
workspace: netrc
- name: build-images
timeout: 5h
matrix:
- matrix:
params:
- name: PLATFORM
value:
Expand Down Expand Up @@ -261,6 +256,7 @@ spec:
- name: kind
value: task
resolver: bundles
timeout: 5h0m0s
when:
- input: $(tasks.init.results.build)
operator: in
Expand Down Expand Up @@ -368,7 +364,6 @@ spec:
values:
- "false"
- name: ecosystem-cert-preflight-checks
timeout: 2h
params:
- name: image-url
value: $(tasks.build-image-index.results.IMAGE_URL)
Expand All @@ -383,6 +378,7 @@ spec:
- name: kind
value: task
resolver: bundles
timeout: 2h0m0s
when:
- input: $(params.skip-checks)
operator: in
Expand Down Expand Up @@ -415,7 +411,6 @@ spec:
values:
- "false"
- name: clamav-scan
timeout: 2h
params:
- name: image-digest
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
Expand All @@ -432,6 +427,7 @@ spec:
- name: kind
value: task
resolver: bundles
timeout: 2h0m0s
when:
- input: $(params.skip-checks)
operator: in
Expand Down Expand Up @@ -561,7 +557,7 @@ spec:
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: ADDITIONAL_TAGS
value:
- "$(params.additional-tag)"
- $(params.additional-tag)
runAfter:
- build-image-index
taskRef:
Expand Down Expand Up @@ -623,7 +619,10 @@ spec:
optional: true
- name: netrc
optional: true
taskRunTemplate: {}
taskRunTemplate:
serviceAccountName: build-pipeline-training-py311-rocm62-torch241
timeouts:
pipeline: 10h0m0s
workspaces:
- name: git-auth
secret:
Expand Down