diff --git a/ci-operator/config/opendatahub-io/kserve/opendatahub-io-kserve-master.yaml b/ci-operator/config/opendatahub-io/kserve/opendatahub-io-kserve-master.yaml index 3564ee9b8bbc..dcb9348cf1a7 100644 --- a/ci-operator/config/opendatahub-io/kserve/opendatahub-io-kserve-master.yaml +++ b/ci-operator/config/opendatahub-io/kserve/opendatahub-io-kserve-master.yaml @@ -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: @@ -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: @@ -67,6 +75,40 @@ 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: |- + export GITHUB_SHA=stable + ./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/ @@ -203,6 +245,28 @@ tests: IMAGE_REPO: kserve-storage-initializer RELEASE_VERSION: fast workflow: opendatahub-io-ci-image-mirror +- always_run: false + as: fast-image-mirror-kserve-success-200-isvc + postsubmit: true + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/ + steps: + dependencies: + SOURCE_IMAGE_REF: success-200-isvc + env: + IMAGE_REPO: success-200-isvc + RELEASE_VERSION: fast + workflow: opendatahub-io-ci-image-mirror +- always_run: false + as: fast-image-mirror-kserve-error-404-isvc + postsubmit: true + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/ + steps: + dependencies: + SOURCE_IMAGE_REF: error-404-isvc + env: + IMAGE_REPO: error-404-isvc + RELEASE_VERSION: fast + workflow: opendatahub-io-ci-image-mirror zz_generated_metadata: branch: master org: opendatahub-io diff --git a/ci-operator/config/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14.yaml b/ci-operator/config/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14.yaml index fa75e4d2ee8c..e36e44465894 100644 --- a/ci-operator/config/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14.yaml +++ b/ci-operator/config/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14.yaml @@ -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: @@ -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: @@ -67,6 +75,40 @@ 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: |- + export GITHUB_SHA=stable + ./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/ @@ -203,6 +245,28 @@ tests: IMAGE_REPO: kserve-storage-initializer RELEASE_VERSION: fast workflow: opendatahub-io-ci-image-mirror +- always_run: false + as: fast-image-mirror-kserve-success-200-isvc + postsubmit: true + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/ + steps: + dependencies: + SOURCE_IMAGE_REF: success-200-isvc + env: + IMAGE_REPO: success-200-isvc + RELEASE_VERSION: fast + workflow: opendatahub-io-ci-image-mirror +- always_run: false + as: fast-image-mirror-kserve-error-404-isvc + postsubmit: true + skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$|^\.github/ + steps: + dependencies: + SOURCE_IMAGE_REF: error-404-isvc + env: + IMAGE_REPO: error-404-isvc + RELEASE_VERSION: fast + workflow: opendatahub-io-ci-image-mirror zz_generated_metadata: branch: release-v0.14 org: opendatahub-io diff --git a/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-master-postsubmits.yaml b/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-master-postsubmits.yaml index 4d3f9e2b6a73..346952e9209c 100644 --- a/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-master-postsubmits.yaml +++ b/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-master-postsubmits.yaml @@ -118,6 +118,65 @@ postsubmits: - name: result-aggregator secret: secretName: result-aggregator + - agent: kubernetes + always_run: false + branches: + - ^master$ + cluster: build02 + decorate: true + decoration_config: + skip_cloning: true + labels: + ci.openshift.io/generator: prowgen + max_concurrency: 1 + name: branch-ci-opendatahub-io-kserve-master-fast-image-mirror-kserve-error-404-isvc + 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 + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=fast-image-mirror-kserve-error-404-isvc + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - 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: 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 - agent: kubernetes always_run: false branches: @@ -236,6 +295,65 @@ postsubmits: - name: result-aggregator secret: secretName: result-aggregator + - agent: kubernetes + always_run: false + branches: + - ^master$ + cluster: build02 + decorate: true + decoration_config: + skip_cloning: true + labels: + ci.openshift.io/generator: prowgen + max_concurrency: 1 + name: branch-ci-opendatahub-io-kserve-master-fast-image-mirror-kserve-success-200-isvc + 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 + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=fast-image-mirror-kserve-success-200-isvc + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - 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: 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 - agent: kubernetes always_run: true branches: diff --git a/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-master-presubmits.yaml b/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-master-presubmits.yaml index 6ba95e510de0..d72578134c3e 100644 --- a/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-master-presubmits.yaml +++ b/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-master-presubmits.yaml @@ -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: diff --git a/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14-postsubmits.yaml b/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14-postsubmits.yaml index 17afef58af3b..8c953ee7a3a4 100644 --- a/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14-postsubmits.yaml +++ b/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14-postsubmits.yaml @@ -118,6 +118,65 @@ postsubmits: - name: result-aggregator secret: secretName: result-aggregator + - agent: kubernetes + always_run: false + branches: + - ^release-v0\.14$ + cluster: build09 + decorate: true + decoration_config: + skip_cloning: true + labels: + ci.openshift.io/generator: prowgen + max_concurrency: 1 + name: branch-ci-opendatahub-io-kserve-release-v0.14-fast-image-mirror-kserve-error-404-isvc + 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 + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=fast-image-mirror-kserve-error-404-isvc + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - 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: 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 - agent: kubernetes always_run: false branches: @@ -236,6 +295,65 @@ postsubmits: - name: result-aggregator secret: secretName: result-aggregator + - agent: kubernetes + always_run: false + branches: + - ^release-v0\.14$ + cluster: build09 + decorate: true + decoration_config: + skip_cloning: true + labels: + ci.openshift.io/generator: prowgen + max_concurrency: 1 + name: branch-ci-opendatahub-io-kserve-release-v0.14-fast-image-mirror-kserve-success-200-isvc + 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 + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=fast-image-mirror-kserve-success-200-isvc + command: + - ci-operator + image: ci-operator:latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - 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: 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 - agent: kubernetes always_run: true branches: diff --git a/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14-presubmits.yaml b/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14-presubmits.yaml index 7bb1e136f295..ad922b9e7d02 100644 --- a/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14-presubmits.yaml +++ b/ci-operator/jobs/opendatahub-io/kserve/opendatahub-io-kserve-release-v0.14-presubmits.yaml @@ -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: