Skip to content

Commit f2fc739

Browse files
update outputs and triggers
Signed-off-by: Brian Gallagher <[email protected]>
1 parent c3bbf12 commit f2fc739

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.tekton/universal-image-py312-cuda128-torch280-pull-request.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ metadata:
88
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
99
pipelinesascode.tekton.dev/cancel-in-progress: "true"
1010
pipelinesascode.tekton.dev/max-keep-runs: "3"
11-
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12-
== "main"
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" &&
12+
( "images/universal/training/py312-cuda128-torch280/***".pathChanged() || ".tekton/universal-image-py312-cuda128-torch280-pull-request.yaml".pathChanged() )
1313
creationTimestamp: null
1414
labels:
1515
appstudio.openshift.io/application: odh-universal-image
@@ -24,7 +24,7 @@ spec:
2424
- name: revision
2525
value: '{{revision}}'
2626
- name: output-image
27-
value: quay.io/redhat-user-workloads/open-data-hub-tenant/universal-image-py312-cuda128-torch280:on-pr-{{revision}}
27+
value: quay.io/opendatahub/odh-training-cuda128-torch28-py312-rhel9:on-pr-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: dockerfile

.tekton/universal-image-py312-cuda128-torch280-push.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ metadata:
77
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
88
pipelinesascode.tekton.dev/cancel-in-progress: "false"
99
pipelinesascode.tekton.dev/max-keep-runs: "3"
10-
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
11-
== "main"
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" &&
11+
( "images/universal/training/py312-cuda128-torch280/***".pathChanged() || ".tekton/universal-image-py312-cuda128-torch280-push.yaml".pathChanged() )
1212
creationTimestamp: null
1313
labels:
1414
appstudio.openshift.io/application: odh-universal-image
@@ -23,7 +23,7 @@ spec:
2323
- name: revision
2424
value: '{{revision}}'
2525
- name: output-image
26-
value: quay.io/redhat-user-workloads/open-data-hub-tenant/universal-image-py312-cuda128-torch280:{{revision}}
26+
value: quay.io/opendatahub/odh-training-cuda128-torch28-py312-rhel9:{{revision}}
2727
- name: dockerfile
2828
value: /images/universal/training/py312-cuda128-torch280/Dockerfile
2929
pipelineSpec:

0 commit comments

Comments
 (0)