Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RHOAIENG-20369] E2E graph tests now working. Reenabling e2e graph te… #63080

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ images:
- context_dir: python/
dockerfile_path: custom_model_grpc.Dockerfile
to: custom-model-grpc
- context_dir: python/
dockerfile_path: success_200_isvc.Dockerfile
to: success-200-isvc
- context_dir: python/
dockerfile_path: error_404_isvc.Dockerfile
to: error-404-isvc
promotion:
to:
- excluded_images:
Expand All @@ -51,6 +57,8 @@ promotion:
- sklearn-serving-runtime
- custom-transformer
- custom-model-grpc
- error-404-isvc
- success-200-isvc
namespace: opendatahub-io
tag: latest
releases:
Expand All @@ -67,6 +75,38 @@ resources:
cpu: 100m
memory: 200Mi
tests:
- always_run: false
as: e2e-graph
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/
steps:
cluster_profile: aws-opendatahub
env:
BASE_DOMAIN: openshift-ci-aws.rhaiseng.com
COMPUTE_NODE_TYPE: m5.2xlarge
HYPERSHIFT_AWS_REGION: us-west-2
HYPERSHIFT_NODE_COUNT: "3"
test:
- as: e2e-graph
cli: latest
commands: ./test/scripts/openshift-ci/run-e2e-tests.sh graph
dependencies:
- env: KSERVE_CONTROLLER_IMAGE
name: kserve-controller
- env: KSERVE_AGENT_IMAGE
name: kserve-agent
- env: STORAGE_INITIALIZER_IMAGE
name: kserve-storage-initializer
- env: SKLEARN_IMAGE
name: sklearn-serving-runtime
- env: SUCCESS_200_ISVC_IMG
name: success-200-isvc
- env: ERROR_404_ISVC_IMG
name: error-404-isvc
from: src
resources:
requests:
cpu: 100m
workflow: hypershift-hostedcluster-workflow
- always_run: false
as: e2e-predictor
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ images:
- context_dir: python/
dockerfile_path: custom_model_grpc.Dockerfile
to: custom-model-grpc
- context_dir: python/
dockerfile_path: success_200_isvc.Dockerfile
to: success-200-isvc
- context_dir: python/
dockerfile_path: error_404_isvc.Dockerfile
to: error-404-isvc
promotion:
to:
- excluded_images:
Expand All @@ -51,6 +57,8 @@ promotion:
- sklearn-serving-runtime
- custom-transformer
- custom-model-grpc
- error-404-isvc
- success-200-isvc
namespace: opendatahub-io
tag: release-v0.14
releases:
Expand All @@ -67,6 +75,38 @@ resources:
cpu: 100m
memory: 200Mi
tests:
- always_run: false
as: e2e-graph
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/
steps:
cluster_profile: aws-opendatahub
env:
BASE_DOMAIN: openshift-ci-aws.rhaiseng.com
COMPUTE_NODE_TYPE: m5.2xlarge
HYPERSHIFT_AWS_REGION: us-west-2
HYPERSHIFT_NODE_COUNT: "3"
test:
- as: e2e-graph
cli: latest
commands: ./test/scripts/openshift-ci/run-e2e-tests.sh graph
dependencies:
- env: KSERVE_CONTROLLER_IMAGE
name: kserve-controller
- env: KSERVE_AGENT_IMAGE
name: kserve-agent
- env: STORAGE_INITIALIZER_IMAGE
name: kserve-storage-initializer
- env: SKLEARN_IMAGE
name: sklearn-serving-runtime
- env: SUCCESS_200_ISVC_IMG
name: success-200-isvc
- env: ERROR_404_ISVC_IMG
name: error-404-isvc
from: src
resources:
requests:
cpu: 100m
workflow: hypershift-hostedcluster-workflow
- always_run: false
as: e2e-predictor
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,80 @@
presubmits:
opendatahub-io/kserve:
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build05
context: ci/prow/e2e-graph
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-opendatahub
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-opendatahub-io-kserve-master-e2e-graph
rerun_command: /test e2e-graph
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-graph
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-graph,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,80 @@
presubmits:
opendatahub-io/kserve:
- agent: kubernetes
always_run: false
branches:
- ^release-v0\.14$
- ^release-v0\.14-
cluster: build05
context: ci/prow/e2e-graph
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-opendatahub
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-opendatahub-io-kserve-release-v0.14-e2e-graph
rerun_command: /test e2e-graph
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=e2e-graph
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-graph,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down