Skip to content

helm: add oauth2-proxy wrapper chart #414

helm: add oauth2-proxy wrapper chart

helm: add oauth2-proxy wrapper chart #414

name: Test KServe Models Web Application
on:
pull_request:
paths:
- tests/install_KinD_create_KinD_cluster_install_kustomize.sh
- .github/workflows/kserve_models_web_application_test.yaml
- applications/kserve/**
- tests/kserve*
- tests/knative_serving_install.sh
- tests/istio*
- tests/multi_tenancy_install.sh
- tests/profile_controller_install.sh
- applications/dashboard/upstream/profile-controller/**
- common/istio*/**
- common/knative/**
- common/oauth2-proxy/**
permissions:
contents: read
actions: read
env:
KF_PROFILE: kubeflow-user-example-com
jobs:
kserve_models_web_application_test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Install KinD, Create KinD cluster and Install kustomize
run: ./tests/install_KinD_create_KinD_cluster_install_kustomize.sh
- name: Create Kubeflow Namespace
run: kustomize build common/kubeflow-namespace/base | kubectl apply -f -
- name: Install Certificate Manager
run: ./tests/cert_manager_install.sh
- name: Install Istio CNI
run: ./tests/istio-cni_install.sh
- name: Install OAuth2 Proxy
run: ./tests/oauth2-proxy_install.sh
- name: Install Kubeflow Istio Resources
run: kustomize build common/istio/kubeflow-istio-resources/base | kubectl apply -f -
- name: Install Profile Controller
run: ./tests/profile_controller_install.sh
- name: Install Multi-Tenancy
run: ./tests/multi_tenancy_install.sh
- name: Install Knative Serving
run: ./tests/knative_serving_install.sh
- name: Install KServe
run: ./tests/kserve_install.sh
- name: Create KF Profile
run: ./tests/kubeflow_profile_install.sh
- name: Setup python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Wait for All Pods to be Ready
run: |
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=300s --field-selector=status.phase!=Succeeded
sleep 10
kubectl get deployment kserve-models-web-application -n kubeflow
kubectl wait --for=condition=Available deployment/kserve-models-web-application -n kubeflow --timeout=60s
- name: Port-forward the istio-ingress gateway
run: ./tests/port_forward_gateway.sh
- name: Run KServe tests
run: ./tests/kserve_test.sh "${KF_PROFILE}"