-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update cypress test for custom serving runtime file
- Loading branch information
Showing
5 changed files
with
358 additions
and
42 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
frontend/src/__mocks__/mock-custom-serving-runtime-add.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
apiVersion: serving.kserve.io/v1alpha1 | ||
kind: ServingRuntime | ||
metadata: | ||
name: template-new | ||
annotations: | ||
openshift.io/display-name: 'New OVMS Server' | ||
labels: | ||
opendatahub.io/dashboard: 'true' | ||
spec: | ||
builtInAdapter: | ||
memBufferBytes: 134217728 | ||
modelLoadingTimeoutMillis: 90000 | ||
runtimeManagementPort: 8888 | ||
serverType: ovms | ||
containers: | ||
- args: | ||
- '--port=8001' | ||
- '--rest_port=8888' | ||
- '--config_path=/models/model_config_list.json' | ||
- '--file_system_poll_wait_seconds=0' | ||
- '--grpc_bind_address=127.0.0.1' | ||
- '--rest_bind_address=127.0.0.1' | ||
image: >- | ||
quay.io/opendatahub/openvino_model_server@sha256:c89f76386bc8b59f0748cf173868e5beef21ac7d2f78dada69089c4d37c44116 | ||
name: ovms | ||
resources: | ||
limits: | ||
cpu: '0' | ||
memory: 0Gi | ||
requests: | ||
cpu: '0' | ||
memory: 0Gi | ||
grpcDataEndpoint: 'port:8001' | ||
grpcEndpoint: 'port:8085' | ||
multiModel: true | ||
protocolVersions: | ||
- grpc-v1 | ||
replicas: 1 | ||
supportedModelFormats: | ||
- autoSelect: true | ||
name: openvino_ir | ||
version: opset1 | ||
- autoSelect: true | ||
name: onnx | ||
version: '1' |
44 changes: 44 additions & 0 deletions
44
frontend/src/__mocks__/mock-custom-serving-runtime-edit.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
apiVersion: serving.kserve.io/v1alpha1 | ||
kind: ServingRuntime | ||
metadata: | ||
name: template-1 | ||
annotations: | ||
openshift.io/display-name: Updated Multi Platform | ||
labels: | ||
opendatahub.io/dashboard: 'true' | ||
spec: | ||
builtInAdapter: | ||
memBufferBytes: 134217728 | ||
modelLoadingTimeoutMillis: 90000 | ||
runtimeManagementPort: 8888 | ||
serverType: ovms | ||
containers: | ||
- args: | ||
- --port=8001 | ||
- --rest_port=8888 | ||
- --config_path=/models/model_config_list.json | ||
- --file_system_poll_wait_seconds=0 | ||
- --grpc_bind_address=127.0.0.1 | ||
- --rest_bind_address=127.0.0.1 | ||
- --target_device=NVIDIA | ||
image: quay.io/modh/openvino-model-server@sha256:c89f76386bc8b59f0748cf173868e5beef21ac7d2f78dada69089c4d37c44116 | ||
name: ovms | ||
resources: | ||
limits: | ||
cpu: '0' | ||
memory: 0Gi | ||
requests: | ||
cpu: '0' | ||
memory: 0Gi | ||
grpcDataEndpoint: port:8001 | ||
grpcEndpoint: port:8085 | ||
multiModel: true | ||
protocolVersions: | ||
- grpc-v1 | ||
supportedModelFormats: | ||
- autoSelect: true | ||
name: openvino_ir | ||
version: opset1 | ||
- autoSelect: true | ||
name: onnx | ||
version: '1' |
Oops, something went wrong.