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

Test KF 1.6 on OpenShift #101

Merged
merged 11 commits into from
Sep 19, 2022
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .github/workflows/centraldb_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Apply CentralDashboard manifests in KinD
on:
pull_request:
paths:
- apps/centraldashboard/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd apps/centraldashboard/upstream
kubectl create ns kubeflow
kustomize build overlays/kserve | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
30 changes: 30 additions & 0 deletions .github/workflows/dex_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build & Apply Dex manifests in KinD
on:
pull_request:
paths:
- common/dex/base/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd common/dex
kustomize build overlays/istio | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
31 changes: 31 additions & 0 deletions .github/workflows/jwa_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Apply JWA manifests in KinD
on:
pull_request:
paths:
- apps/jupyter/jupyter-web-app/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd apps/jupyter/jupyter-web-app/upstream
kubectl create ns kubeflow
kustomize build overlays/istio | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
40 changes: 40 additions & 0 deletions .github/workflows/katib_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build & Apply Katib manifests in KinD
on:
pull_request:
paths:
- apps/katib/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Install cert-manager
run: ./tests/gh-actions/install_cert_manager.sh

- name: Build & Apply manifests
run: |
cd apps/katib/upstream
kubectl create ns kubeflow
kustomize build installs/katib-with-kubeflow | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s

- name: Create katib experiment
run: |
kubectl apply -f tests/gh-actions/katib_test.yaml
kubectl wait --for=condition=Succeeded trials.kubeflow.org -n kubeflow-user --all --timeout 300s
kubectl wait --for=condition=Succeeded experiments.kubeflow.org -n kubeflow-user --all --timeout 300s
30 changes: 30 additions & 0 deletions .github/workflows/kserve_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build & Apply KServe manifests in KinD
on:
pull_request:
paths:
- contrib/kserve/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Install cert-manager
run: ./tests/gh-actions/install_cert_manager.sh

- name: Build & Apply manifests
run: ./tests/gh-actions/install_kserve.sh
31 changes: 31 additions & 0 deletions .github/workflows/nb_controller_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Apply Notebook Controller manifests in KinD
on:
pull_request:
paths:
- apps/jupyter/notebook-controller/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd apps/jupyter/notebook-controller/upstream
kubectl create ns kubeflow
kustomize build overlays/kubeflow | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
30 changes: 30 additions & 0 deletions .github/workflows/pipeline_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build & Apply Kubeflow Pipelines manifests in KinD
on:
pull_request:
paths:
- apps/pipeline/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Install cert-manager
run: ./tests/gh-actions/install_cert_manager.sh

- name: Build & Apply manifests
run: ./tests/gh-actions/install_pipelines.sh
34 changes: 34 additions & 0 deletions .github/workflows/poddefaults_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build & Apply PodDefaults manifests in KinD
on:
pull_request:
paths:
- apps/admission-webhook/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Install cert-manager
run: ./tests/gh-actions/install_cert_manager.sh

- name: Build & Apply manifests
run: |
cd apps/admission-webhook/upstream
kubectl create ns kubeflow
kustomize build overlays/cert-manager | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
31 changes: 31 additions & 0 deletions .github/workflows/profiles_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Apply Profiles manifests in KinD
on:
pull_request:
paths:
- apps/profiles/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd apps/profiles/upstream
kubectl create ns kubeflow
kustomize build overlays/kubeflow | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
31 changes: 31 additions & 0 deletions .github/workflows/tb_controller_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Apply Tensorboard Controller manifests in KinD
on:
pull_request:
paths:
- apps/tensorboard/tensorboard-controller/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd apps/tensorboard/tensorboard-controller/upstream
kubectl create ns kubeflow
kustomize build overlays/kubeflow | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
31 changes: 31 additions & 0 deletions .github/workflows/train_operator_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Apply Training Operator manifests in KinD
on:
pull_request:
paths:
- apps/training-operator/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd apps/training-operator/upstream
kubectl create ns kubeflow
kustomize build overlays/kubeflow | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
31 changes: 31 additions & 0 deletions .github/workflows/twa_kind_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build & Apply TWA manifests in KinD
on:
pull_request:
paths:
- apps/tensorboard/tensorboards-web-app/upstream/**

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh

- name: Create KinD Cluster
run: kind create cluster --config tests/gh-actions/kind-cluster-1-22.yaml

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh

- name: Install Istio
run: ./tests/gh-actions/install_istio.sh

- name: Build & Apply manifests
run: |
cd apps/tensorboard/tensorboards-web-app/upstream
kubectl create ns kubeflow
kustomize build overlays/istio | kubectl apply -f -
kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s
Loading