-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Test that each component can be applied in a K8s 1.22 cluster #2230
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
Merged
google-oss-prow
merged 7 commits into
kubeflow:master
from
NickLoukas:test-apply-kind-manifests
Jun 30, 2022
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ab05dd7
Add GH action for testing JWA manifests.
NickLoukas a4386c6
Update permissions.
NickLoukas 51fc3d2
Add GH actions for PodDefaults.
NickLoukas 0938f6f
Add GH actions for PodDefaults fix typo.
NickLoukas 4366280
Add GH actions for applying manifests in KinD for each component.
NickLoukas 213dbf2
Fix cert manager installation in all Actions.
NickLoukas 5fbd74c
Address review comments for all GH actions.
NickLoukas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/gh-actions/install_istio.sh | ||
|
|
||
| - name: Install cert-manager | ||
| run: ./testing/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/gh-actions/install_istio.sh | ||
|
|
||
| - name: Install cert-manager | ||
| run: ./testing/gh-actions/install_cert_manager.sh | ||
|
|
||
| - name: Build & Apply manifests | ||
| run: | | ||
| cd contrib/kserve | ||
| kubectl create ns kubeflow | ||
| kustomize build kserve | kubectl apply -f - | ||
| kustomize build models-web-app/overlays/kubeflow | kubectl apply -f - | ||
| kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/gh-actions/install_istio.sh | ||
|
|
||
| - name: Install cert-manager | ||
| run: ./testing/gh-actions/install_cert_manager.sh | ||
|
|
||
| - name: Build & Apply manifests | ||
| run: | | ||
| cd apps/pipeline/upstream | ||
| kubectl create ns kubeflow | ||
| kustomize build env/cert-manager/platform-agnostic-multi-user | kubectl apply -f - | ||
| kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout 180s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/gh-actions/install_istio.sh | ||
|
|
||
| - name: Install cert-manager | ||
| run: ./testing/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| name: Build & Apply VWA manifests in KinD | ||
| on: | ||
| pull_request: | ||
| paths: | ||
| - apps/volumes-web-app/upstream/** | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Install KinD | ||
| run: ./testing/gh-actions/install_kind.sh | ||
|
|
||
| - name: Create KinD Cluster | ||
| run: kind create cluster --config testing/gh-actions/kind-1-22.yaml | ||
|
|
||
| - name: Install kustomize | ||
| run: ./testing/gh-actions/install_kustomize.sh | ||
|
|
||
| - name: Install Istio | ||
| run: ./testing/gh-actions/install_istio.sh | ||
|
|
||
| - name: Build & Apply manifests | ||
| run: | | ||
| cd apps/volumes-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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.