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
50 changes: 25 additions & 25 deletions .tekton/training-py311-cuda124-torch251-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ metadata:
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push"
&& target_branch == "main"
&& ( "images/runtime/training/py311-cuda124-torch251/**".pathChanged() || ".tekton/training-py311-cuda124-torch251-push.yaml".pathChanged() )
pipelinesascode.tekton.dev/on-cel-expression: "event == \"push\" \n&& target_branch
== \"main\" \n&& ( \"images/runtime/training/py311-cuda124-torch251/**\".pathChanged()
|| \".tekton/training-py311-cuda124-torch251-push.yaml\".pathChanged() )\n"
creationTimestamp: null
labels:
appstudio.openshift.io/application: runtime-training
Expand All @@ -31,22 +30,6 @@ spec:
value: Dockerfile
- name: path-context
value: images/runtime/training/py311-cuda124-torch251
taskRunSpecs:
- pipelineTaskName: build-container
stepSpecs:
- name: build
computeResources:
requests:
memory: 10Gi
limits:
memory: 10Gi
- pipelineTaskName: prefetch-dependencies
computeResources:
requests:
cpu: '1'
memory: 2Gi
limits:
memory: 2Gi
pipelineSpec:
description: |
This pipeline is ideal for building container images from a Containerfile while maintaining trust after pipeline customization.
Expand All @@ -68,9 +51,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 @@ -554,7 +537,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 @@ -616,9 +599,26 @@ spec:
optional: true
- name: netrc
optional: true
taskRunTemplate: {}
taskRunSpecs:
- pipelineTaskName: build-container
stepSpecs:
- computeResources:
limits:
memory: 10Gi
requests:
memory: 10Gi
name: build
- computeResources:
limits:
memory: 2Gi
requests:
cpu: "1"
memory: 2Gi
pipelineTaskName: prefetch-dependencies
taskRunTemplate:
serviceAccountName: build-pipeline-training-py311-cuda124-torch251
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
status: {}