Skip to content

Commit 4f564cb

Browse files
committed
Fix Unit Tests (change generated sample-pipelines)
1 parent 02feba2 commit 4f564cb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

controllers/testdata/declarative/case_2/expected/created/sample-config.yaml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data:
1111
[
1212
{
1313
"name": "[Demo] iris-training",
14-
"description": "[source code](https://github.com/opendatahub-io/data-science-pipelines/tree/master/samples/iris-training) A simple pipeline to demonstrate a basic ML Training workflow",
14+
"description": "[source code](https://github.com/opendatahub-io/data-science-pipelines/tree/master/samples/iris-sklearn) A simple pipeline to demonstrate a basic ML Training workflow",
1515
"file": "/samples/iris-pipeline-compiled.yaml"
1616
}
1717
]

controllers/testdata/declarative/case_2/expected/created/sample-pipeline.yaml.tmpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,19 @@ data:
151151
_parsed_args = vars(_parser.parse_args())
152152

153153
_outputs = data_prep(**_parsed_args)
154-
image: image-registry.openshift-image-registry.svc:5000/openshift/python:latest
154+
image: registry.access.redhat.com/ubi8/python-38
155155
env:
156156
- name: ORIG_PR_NAME
157157
valueFrom:
158158
fieldRef:
159159
fieldPath: metadata.labels['custom.tekton.dev/originalPipelineRun']
160-
- image: busybox
160+
- image: registry.access.redhat.com/ubi8/ubi-minimal
161161
name: output-taskrun-name
162162
command:
163163
- sh
164164
- -ec
165165
- echo -n "$(context.taskRun.name)" > "$(results.taskrun-name.path)"
166-
- image: busybox
166+
- image: registry.access.redhat.com/ubi8/ubi-minimal
167167
name: copy-results-artifacts
168168
command:
169169
- sh
@@ -292,7 +292,7 @@ data:
292292
_parsed_args = vars(_parser.parse_args())
293293

294294
_outputs = train_model(**_parsed_args)
295-
image: image-registry.openshift-image-registry.svc:5000/openshift/python:latest
295+
image: registry.access.redhat.com/ubi8/python-38
296296
env:
297297
- name: ORIG_PR_NAME
298298
valueFrom:
@@ -440,7 +440,7 @@ data:
440440
_parsed_args = vars(_parser.parse_args())
441441

442442
_outputs = evaluate_model(**_parsed_args)
443-
image: image-registry.openshift-image-registry.svc:5000/openshift/python:latest
443+
image: registry.access.redhat.com/ubi8/python-38
444444
env:
445445
- name: ORIG_PR_NAME
446446
valueFrom:
@@ -520,7 +520,7 @@ data:
520520
_parsed_args = vars(_parser.parse_args())
521521

522522
_outputs = validate_model(**_parsed_args)
523-
image: image-registry.openshift-image-registry.svc:5000/openshift/python:latest
523+
image: registry.access.redhat.com/ubi8/python-38
524524
env:
525525
- name: ORIG_PR_NAME
526526
valueFrom:

0 commit comments

Comments
 (0)