Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
1f73004
Ensure proper installation of Katib and KServe
kunal-511 Mar 28, 2025
090e2d2
Fixed the lint issues
kunal-511 Mar 28, 2025
feaf114
Fix Katib and KServe test sections, improve debugging
kunal-511 Mar 28, 2025
f352fad
Fix MySQL timeout in Kind by improving wait strategy and timeouts
kunal-511 Mar 29, 2025
8e70ed4
fixed the Dex login test
kunal-511 Mar 29, 2025
f716f24
Updated the file for knative
kunal-511 Mar 29, 2025
23d01a3
This change will prevent the timeout issue because it focuses only on…
kunal-511 Mar 29, 2025
ffa0d12
Fix KServe test by improving diagnostics, auth, and inference service…
kunal-511 Mar 29, 2025
c29682d
Using indvidual tests only
kunal-511 Mar 29, 2025
f11e468
seperated the installation and test, updated naming
kunal-511 Mar 31, 2025
46a81bd
Updated test_sklearn.py to directly use a string literal InferenceSer…
kunal-511 Mar 31, 2025
765c00e
Fixed the path to spark operator
kunal-511 Mar 31, 2025
443d9be
Make sure to be in root before running spark installation
kunal-511 Mar 31, 2025
da658fe
Moved the verification steps to individual scripts
kunal-511 Mar 31, 2025
d6f747a
Fixed the connection error
kunal-511 Apr 1, 2025
9d2ebaa
This ensures the directory exists before attempting to write to it
kunal-511 Apr 1, 2025
a8ba77b
Fixed the cluster consistency
kunal-511 Apr 1, 2025
d08f6d8
Fixed the kind cluster config issues
kunal-511 Apr 2, 2025
783701d
removed the kind cluster way to handle this
kunal-511 Apr 2, 2025
97b70c7
Fixed connection issue
kunal-511 Apr 2, 2025
fa3b966
Fixed istio port forward
kunal-511 Apr 3, 2025
aacaf5f
Added the dex auth test script
kunal-511 Apr 3, 2025
47e5489
Fixed dex test
kunal-511 Apr 3, 2025
d94ac55
Fixed the crd path
kunal-511 Apr 3, 2025
eb25472
Fixed the notebook crd error
kunal-511 Apr 3, 2025
3b58dfa
Revert back to previous commit
kunal-511 Apr 3, 2025
d10cb93
fixed the issue by updating the workflow to ensure the PodDefault CR…
kunal-511 Apr 3, 2025
7c178ef
Fixed namespace error in notebook tests
kunal-511 Apr 3, 2025
3248363
Fixed namespace error in notebook tests
kunal-511 Apr 3, 2025
5a52657
Converted this job into one single only
kunal-511 Apr 3, 2025
481b323
Fixed file path in spark test
kunal-511 Apr 3, 2025
6914544
Fixed the spark test error
kunal-511 Apr 3, 2025
6171206
Fixed the pods security error
kunal-511 Apr 4, 2025
61e6077
Modified the pods security to report error but not fail
kunal-511 Apr 4, 2025
7ea9ad7
update the inline PodDefaults and Notebook definition in the full_kub…
kunal-511 Apr 4, 2025
25c370d
Update full_kubeflow_integration_test.yaml
juliusvonkohout Apr 4, 2025
a45355f
Made the workflow minimal
kunal-511 Apr 4, 2025
ed02853
Fixed the issue causing 403, 404 error in testing dex auth
kunal-511 Apr 6, 2025
ac7de3f
fixed the script by replacing the problematic sed commands
kunal-511 Apr 6, 2025
984923a
fixed the patching script
kunal-511 Apr 6, 2025
3e7fe37
Fixed the test-0 pod not found error
kunal-511 Apr 6, 2025
06a883c
Fixed issue that notebook authentication problem
kunal-511 Apr 6, 2025
d5c2da0
removed the --user=jovyan flag
kunal-511 Apr 6, 2025
94a8833
fixed auth issue without interfering with other workflow
kunal-511 Apr 7, 2025
3ff1ef4
Modifying the script to use environment variables Instead of trying t…
kunal-511 Apr 7, 2025
49e5aa6
modified the token creation to include the proper audience
kunal-511 Apr 7, 2025
7c7b1a7
Apply suggestions from code review
juliusvonkohout Apr 7, 2025
f1fb774
Apply suggestions from code review
juliusvonkohout Apr 7, 2025
0af74fd
Apply suggestions from code review
juliusvonkohout Apr 7, 2025
21f4bd3
Update install_knative.sh
juliusvonkohout Apr 7, 2025
b109afe
applied suugested changes
kunal-511 Apr 7, 2025
609ae6f
removed not needed comments
kunal-511 Apr 7, 2025
7583eab
updated according to suggested changes
kunal-511 Apr 7, 2025
8a229d8
Fixed the duplicate istio installation
kunal-511 Apr 7, 2025
8dca0b4
Apply suggestions from code review
juliusvonkohout Apr 8, 2025
0fe7ae1
Created individual components to be used as reusable scripts
kunal-511 Apr 8, 2025
4f1ce55
fixed teh oauth credential issue
kunal-511 Apr 8, 2025
65311b7
Fixed the notebook token issue
kunal-511 Apr 8, 2025
e7dc612
Fixed as suggested
kunal-511 Apr 8, 2025
153880f
removed not needed echo, comment and files
kunal-511 Apr 8, 2025
8bdf811
Update .github/workflows/full_kubeflow_integration_test.yaml
kunal-511 Apr 8, 2025
7132b1d
Update .github/workflows/full_kubeflow_integration_test.yaml
kunal-511 Apr 8, 2025
997bcc4
updated as suggested
kunal-511 Apr 8, 2025
25e4d12
remove overhead
juliusvonkohout Apr 8, 2025
9d00004
Update install_kubeflow_profile.sh
juliusvonkohout Apr 8, 2025
b29d99c
Rolled back the test dex login, removed not needed comments
kunal-511 Apr 8, 2025
c1a3bc5
Fixed lint and namespace error
kunal-511 Apr 8, 2025
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
43 changes: 14 additions & 29 deletions .github/workflows/dex_oauth2-proxy_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,41 +40,26 @@ jobs:
run: ./tests/gh-actions/install_multi_tenancy.sh

- name: Install dex
run: |
echo "Installing Dex..."
kustomize build ./common/dex/overlays/oauth2-proxy | kubectl apply -f -

echo "Waiting for pods in auth namespace to become ready..."
kubectl wait --for=condition=Ready pods --all --timeout=180s -n auth
run: ./tests/gh-actions/install_dex.sh

- name: Install central-dashboard
run: |
kustomize build apps/centraldashboard/upstream/overlays/kserve | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
run: ./tests/gh-actions/install_central_dashboard.sh

- name: Create KF Profile
run: |
kustomize build common/user-namespace/base | kubectl apply -f -
sleep 30 # for the Profile controller to create the namespace from the profile
PROFILE_CONTROLLER_POD=$(kubectl get pods -n kubeflow -o json | jq -r '.items[] | select(.metadata.name | startswith("profiles-deployment")) | .metadata.name')
if [[ -z "$PROFILE_CONTROLLER_POD" ]]; then
echo "Error: profiles-deployment pod not found in kubeflow namespace."
exit 1
fi
kubectl logs -n kubeflow "$PROFILE_CONTROLLER_POD"
KF_PROFILE=kubeflow-user-example-com
kubectl -n $KF_PROFILE get pods,configmaps,secrets

- name: port forward
run: |
ingress_gateway_service=$(kubectl get svc --namespace istio-system --selector="app=istio-ingressgateway" --output jsonpath='{.items[0].metadata.name}')
nohup kubectl port-forward --namespace istio-system svc/${ingress_gateway_service} 8080:80 &
while ! curl localhost:8080; do echo waiting for port-forwarding; sleep 1; done; echo port-forwarding ready
run: ./tests/gh-actions/install_kubeflow_profile.sh

- name: Port forward the istio-ingress gateway
run: ./tests/gh-actions/port_forward_gateway.sh

- name: test dex login
- name: Test dex login
run: |
pip3 install requests
./tests/gh-actions/test_dex_login.py
# Install Python requirements
pip3 install -q requests

# Run the Dex login test
Comment thread
juliusvonkohout marked this conversation as resolved.
python3 tests/gh-actions/test_dex_login.py

echo "Dex login test completed successfully."
Comment thread
juliusvonkohout marked this conversation as resolved.

- name: Apply Pod Security Standards baseline levels for static namespaces
run: ./tests/gh-actions/enable_baseline_PSS.sh
Expand Down
360 changes: 136 additions & 224 deletions .github/workflows/full_kubeflow_integration_test.yaml

Large diffs are not rendered by default.

18 changes: 2 additions & 16 deletions .github/workflows/kserve_m2m_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,7 @@ jobs:
run: kustomize build common/istio-1-24/kubeflow-istio-resources/base | kubectl apply -f -

- name: Create KF Profile
run: |
kustomize build common/user-namespace/base | kubectl apply -f -
sleep 30 # for the Profile controller to create the namespace from the profile

PROFILE_CONTROLLER_POD=$(kubectl get pods -n kubeflow -o json | jq -r '.items[] | select(.metadata.name | startswith("profiles-deployment")) | .metadata.name')
if [[ -z "$PROFILE_CONTROLLER_POD" ]]; then
echo "Error: profiles-deployment pod not found in kubeflow namespace."
exit 1
fi
kubectl logs -n kubeflow "$PROFILE_CONTROLLER_POD"
KF_PROFILE=kubeflow-user-example-com
kubectl -n $KF_PROFILE get pods,configmaps,secrets
run: ./tests/gh-actions/install_kubeflow_profile.sh

- name: Diagnose KServe Service Labels
run: |
Expand Down Expand Up @@ -160,10 +149,7 @@ jobs:
run: pip install -r ./apps/kserve/tests/requirements.txt

- name: Port forward
run: |
INGRESS_GATEWAY_SERVICE=$(kubectl get svc --namespace istio-system --selector="app=istio-ingressgateway" --output jsonpath='{.items[0].metadata.name}')
nohup kubectl port-forward --namespace istio-system svc/${INGRESS_GATEWAY_SERVICE} 8080:80 &
while ! curl localhost:8080; do echo waiting for port-forwarding; sleep 1; done; echo port-forwarding ready
run: ./tests/gh-actions/port_forward_gateway.sh

- name: Verify CNI is being used instead of init containers
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline_run_from_notebook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
--field-selector=status.phase!=Succeeded

- name: Create KF Profile
run: kustomize build common/user-namespace/base | kubectl apply -f -
run: ./tests/gh-actions/install_kubeflow_profile.sh

- name: Apply PodDefaults to access ml-pipeline with projected token
run: kubectl apply -f tests/gh-actions/kf-objects/poddefaults.access-ml-pipeline.kubeflow-user-example-com.yaml
Expand Down
29 changes: 5 additions & 24 deletions .github/workflows/pipeline_swfs_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,11 @@ jobs:
run: kustomize build common/istio-1-24/kubeflow-istio-resources/base | kubectl apply -f -

- name: Create KF Profile
run: |
kustomize build common/user-namespace/base | kubectl apply -f -
sleep 30 # for the metacontroller to create the secret

METACONTROLLER_POD=$(kubectl get pods -n kubeflow -o json | jq -r '.items[] | select(.metadata.name | startswith("metacontroller")) | .metadata.name')
if [[ -z "$METACONTROLLER_POD" ]]; then
echo "Error: metacontroller pod not found in kubeflow namespace."
exit 1
fi
kubectl logs -n kubeflow "$METACONTROLLER_POD"

PIPELINES_PROFILE_CONTROLLER_POD=$(kubectl get pods -n kubeflow -o json | jq -r '.items[] | select(.metadata.name | startswith("kubeflow-pipelines-profile-controller")) | .metadata.name')
if [[ -z "$PIPELINES_PROFILE_CONTROLLER_POD" ]]; then
echo "Error: kubeflow-pipelines-profile-controller pod not found in kubeflow namespace."
exit 1
fi
kubectl logs -n kubeflow "$PIPELINES_PROFILE_CONTROLLER_POD"
run: ./tests/gh-actions/install_kubeflow_profile.sh

- name: Verify Pipeline Integration
run: |
KF_PROFILE=kubeflow-user-example-com
kubectl -n $KF_PROFILE get pods,configmaps,secrets

if ! kubectl get secret mlpipeline-minio-artifact -n $KF_PROFILE > /dev/null 2>&1; then
echo "Error: Secret mlpipeline-minio-artifact not found in namespace $KF_PROFILE"
exit 1
Expand All @@ -81,11 +65,8 @@ jobs:
kubectl -n kubeflow wait --for=condition=available --timeout=600s deploy/seaweedfs
kubectl -n kubeflow exec deploy/seaweedfs -c seaweedfs -- sh -c "echo \"s3.configure -user minio -access_key minio -secret_key minio123 -actions Read,Write,List -apply\" | /usr/bin/weed shell"

- name: port forward
run: |
ingress_gateway_service=$(kubectl get svc --namespace istio-system --selector="app=istio-ingressgateway" --output jsonpath='{.items[0].metadata.name}')
nohup kubectl port-forward --namespace istio-system svc/${ingress_gateway_service} 8080:80 &
while ! curl localhost:8080; do echo waiting for port-forwarding; sleep 1; done; echo port-forwarding ready
- name: Port forward
run: ./tests/gh-actions/port_forward_gateway.sh

- name: List and deploy test pipeline with authorized ServiceAccount Token
run: |
Expand Down
29 changes: 5 additions & 24 deletions .github/workflows/pipeline_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,38 +49,19 @@ jobs:
run: kustomize build common/istio-1-24/kubeflow-istio-resources/base | kubectl apply -f -

- name: Create KF Profile
run: |
kustomize build common/user-namespace/base | kubectl apply -f -
sleep 30 # for the metacontroller to create the secret

METACONTROLLER_POD=$(kubectl get pods -n kubeflow -o json | jq -r '.items[] | select(.metadata.name | startswith("metacontroller")) | .metadata.name')
if [[ -z "$METACONTROLLER_POD" ]]; then
echo "Error: metacontroller pod not found in kubeflow namespace."
exit 1
fi
kubectl logs -n kubeflow "$METACONTROLLER_POD"

PIPELINES_PROFILE_CONTROLLER_POD=$(kubectl get pods -n kubeflow -o json | jq -r '.items[] | select(.metadata.name | startswith("kubeflow-pipelines-profile-controller")) | .metadata.name')
if [[ -z "$PIPELINES_PROFILE_CONTROLLER_POD" ]]; then
echo "Error: kubeflow-pipelines-profile-controller pod not found in kubeflow namespace."
exit 1
fi
kubectl logs -n kubeflow "$PIPELINES_PROFILE_CONTROLLER_POD"
run: ./tests/gh-actions/install_kubeflow_profile.sh

- name: Verify Pipeline Integration
run: |
KF_PROFILE=kubeflow-user-example-com
kubectl -n $KF_PROFILE get pods,configmaps,secrets

if ! kubectl get secret mlpipeline-minio-artifact -n $KF_PROFILE > /dev/null 2>&1; then
echo "Error: Secret mlpipeline-minio-artifact not found in namespace $KF_PROFILE"
exit 1
fi
kubectl get secret mlpipeline-minio-artifact -n "$KF_PROFILE" -o json | jq -r '.data | keys[] as $k | "\($k): \(. | .[$k] | @base64d)"' | tr '\n' ' '

- name: port forward
run: |
ingress_gateway_service=$(kubectl get svc --namespace istio-system --selector="app=istio-ingressgateway" --output jsonpath='{.items[0].metadata.name}')
nohup kubectl port-forward --namespace istio-system svc/${ingress_gateway_service} 8080:80 &
while ! curl localhost:8080; do echo waiting for port-forwarding; sleep 1; done; echo port-forwarding ready
- name: Port forward
run: ./tests/gh-actions/port_forward_gateway.sh

- name: List and deploy test pipeline with authorized ServiceAccount Token
run: |
Expand Down
2 changes: 1 addition & 1 deletion apps/kserve/tests/test_sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_sklearn_kserve():

isvc = V1beta1InferenceService(
api_version=constants.KSERVE_V1BETA1,
kind=constants.KSERVE_KIND,
kind="InferenceService",
metadata=client.V1ObjectMeta(
name=service_name, namespace=KSERVE_TEST_NAMESPACE
),
Expand Down
9 changes: 7 additions & 2 deletions tests/gh-actions/enable_baseline_PSS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ NAMESPACES=("istio-system" "auth" "cert-manager" "oauth2-proxy" "kubeflow")

for NAMESPACE in "${NAMESPACES[@]}"; do
if kubectl get namespace "$NAMESPACE" >/dev/null 2>&1; then
echo "Patching the PSS-baseline labels for namespace $NAMESPACE..."
kubectl patch namespace $NAMESPACE --patch-file ./experimental/security/PSS/static/baseline/patches/${NAMESPACE}-labels.yaml
# Check if the patch file exists
if [ -f "./experimental/security/PSS/static/baseline/patches/${NAMESPACE}-labels.yaml" ]; then
echo "Patching the PSS-baseline labels for namespace $NAMESPACE..."
kubectl patch namespace $NAMESPACE --patch-file ./experimental/security/PSS/static/baseline/patches/${NAMESPACE}-labels.yaml
else
echo "Patch file for namespace $NAMESPACE not found, skipping..."
fi
fi
done
9 changes: 7 additions & 2 deletions tests/gh-actions/enable_restricted_PSS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ NAMESPACES=("istio-system" "auth" "cert-manager" "oauth2-proxy" "kubeflow")

for NAMESPACE in "${NAMESPACES[@]}"; do
if kubectl get namespace "$NAMESPACE" >/dev/null 2>&1; then
echo "Patching the PSS-restricted labels for namespace $NAMESPACE..."
kubectl patch namespace $NAMESPACE --patch-file ./experimental/security/PSS/static/restricted/patches/${NAMESPACE}-labels.yaml
# Check if the patch file exists
if [ -f "./experimental/security/PSS/static/restricted/patches/${NAMESPACE}-labels.yaml" ]; then
echo "Patching the PSS-restricted labels for namespace $NAMESPACE..."
kubectl patch namespace $NAMESPACE --patch-file ./experimental/security/PSS/static/restricted/patches/${NAMESPACE}-labels.yaml
else
echo "Patch file for namespace $NAMESPACE not found, skipping..."
fi
fi
done
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ nodes:
image: kindest/node:v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f
- role: worker
image: kindest/node:v1.32.2@sha256:f226345927d7e348497136874b6d207e0b32cc52154ad8323129352923a3142f
" | kind create cluster --config -
" | kind create cluster --config - --wait 120s

kubectl cluster-info

echo "Install Kustomize ..."
{
Expand Down
5 changes: 5 additions & 0 deletions tests/gh-actions/install_central_dashboard.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

set -euxo pipefail is what you need

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do this in a follow up PR.


kustomize build apps/centraldashboard/upstream/overlays/kserve | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all -n kubeflow --timeout=180s
5 changes: 5 additions & 0 deletions tests/gh-actions/install_dex.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -euxo pipefail

kustomize build ./common/dex/overlays/oauth2-proxy | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --timeout=180s -n auth
10 changes: 7 additions & 3 deletions tests/gh-actions/install_knative.sh
Comment thread
juliusvonkohout marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ set -e
kustomize build common/istio-1-24/cluster-local-gateway/base | kubectl apply -f -
kustomize build common/istio-1-24/kubeflow-istio-resources/base | kubectl apply -f -

kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=300s \
--field-selector=status.phase!=Succeeded
kubectl patch cm config-domain --patch '{"data":{"example.com":""}}' -n knative-serving
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=300s --field-selector=status.phase!=Succeeded
kubectl wait --for=condition=Available deployment/activator -n knative-serving --timeout=10s
kubectl wait --for=condition=Available deployment/autoscaler -n knative-serving --timeout=10s
kubectl wait --for=condition=Available deployment/controller -n knative-serving --timeout=10s
kubectl wait --for=condition=Available deployment/webhook -n knative-serving --timeout=10s
kubectl patch cm config-domain --patch '{"data":{"example.com":""}}' -n knative-serving # TODO this will be moved into the manifests in https://github.com/kubeflow/manifests/pull/3084
kubectl get deployment -n knative-serving
7 changes: 7 additions & 0 deletions tests/gh-actions/install_kserve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ kustomize build kserve | kubectl apply --server-side --force-conflicts -f -
kustomize build models-web-app/overlays/kubeflow | kubectl apply --server-side --force-conflicts -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=600s \
--field-selector=status.phase!=Succeeded
kubectl wait --for=condition=Available deployment/kserve-controller-manager -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/kserve-models-web-app -n kubeflow --timeout=10s
kubectl get deployment -n kubeflow -l app.kubernetes.io/name=kserve
kubectl get crd | grep -E 'inferenceservice|servingruntimes'

# Return to the original directory
cd ../../
8 changes: 8 additions & 0 deletions tests/gh-actions/install_kubeflow_profile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -euxo
kustomize build common/user-namespace/base | kubectl apply -f -
sleep 30 # Let the profile controler reconcile the namespace
PROFILE_CONTROLLER_POD=$(kubectl get pods -n kubeflow -o json | jq -r '.items[] | select(.metadata.name | startswith("profiles-deployment")) | .metadata.name')
kubectl logs -n kubeflow "$PROFILE_CONTROLLER_POD"
KF_PROFILE=kubeflow-user-example-com
kubectl -n $KF_PROFILE get pods,configmaps,secrets
3 changes: 2 additions & 1 deletion tests/gh-actions/install_oauth2-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ echo "Waiting for all oauth2-proxy pods to become ready..."
kubectl wait --for=condition=Ready pod -l 'app.kubernetes.io/name=oauth2-proxy' --timeout=180s -n oauth2-proxy

echo "Waiting for all cluster-jwks-proxy pods to become ready..."
kubectl wait --for=condition=Ready pod -l 'app.kubernetes.io/name=cluster-jwks-proxy' --timeout=180s -n istio-system
kubectl wait --for=condition=Ready pod -l 'app.kubernetes.io/name=cluster-jwks-proxy' --timeout=180s -n istio-system
kubectl wait --for=condition=Available deployment -n oauth2-proxy oauth2-proxy --timeout=180s
11 changes: 11 additions & 0 deletions tests/gh-actions/install_pipelines.sh
Comment thread
juliusvonkohout marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,15 @@ kustomize build env/cert-manager/platform-agnostic-multi-user | kubectl apply -f
sleep 60
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=600s \
--field-selector=status.phase!=Succeeded

kubectl wait --for=condition=Available deployment/ml-pipeline -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/ml-pipeline-ui -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/ml-pipeline-persistenceagent -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/ml-pipeline-scheduledworkflow -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/ml-pipeline-viewer-crd -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/cache-server -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/metadata-writer -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/minio -n kubeflow --timeout=10s
kubectl wait --for=condition=Available deployment/mysql -n kubeflow --timeout=10s
kubectl get deployment -n kubeflow -l app=ml-pipeline
cd -
3 changes: 3 additions & 0 deletions tests/gh-actions/install_training_operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ cd apps/training-operator/upstream
kustomize build overlays/kubeflow | kubectl apply --server-side --force-conflicts -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=600s \
--field-selector=status.phase!=Succeeded
kubectl wait --for=condition=Available deployment/training-operator -n kubeflow --timeout=10s
kubectl get crd | grep -E 'tfjobs.kubeflow.org|pytorchjobs.kubeflow.org'
kubectl get deployment -n kubeflow training-operator
cd -
Loading