Skip to content

Commit

Permalink
remove chmod in github action and make cluster setup to install calico
Browse files Browse the repository at this point in the history
Signed-off-by: hansinikarunarathne <hansini.20@cse.mrt.ac.lk>
  • Loading branch information
hansinikarunarathne committed Aug 15, 2024
1 parent 78518ed commit c2831da
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 54 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/admission_webhook_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/bentoml_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/centraldashboard_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/dex_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/jupyter_web_application_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/katib_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/metacontroller_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
run: kind create cluster --config ./tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/model_registry_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kubectl
run: ./tests/gh-actions/install_kubectl.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/notebook_controller_m2m_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kubectl
run: ./tests/gh-actions/install_kubectl.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/notebook_controller_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/pipeline_run_from_notebook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/profiles_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ray_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/seldon_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/tensorboard_controller_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/tensorboards_web_application_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/training_operator_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/volumes_web_application_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml

- name: Install Calico
run: |
chmod +x ./tests/gh-actions/install_calico.sh
./tests/gh-actions/install_calico.sh
run: ./tests/gh-actions/install_calico.sh

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ The `example` directory contains an example kustomization for the single command
cat <<EOF | kind create cluster --name=kubeflow --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
disableDefaultCNI: true
podSubnet: 192.168.0.0/16
nodes:
- role: control-plane
image: kindest/node:v1.29.4
Expand Down

0 comments on commit c2831da

Please sign in to comment.