Skip to content

Commit 6bdac3f

Browse files
Made chnages in workflow files to remove reduntant codes
Signed-off-by: hansinikarunarathne <[email protected]>
1 parent b84f222 commit 6bdac3f

21 files changed

+121
-161
lines changed

.github/workflows/bentoml_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,10 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919

20-
- name: Install KinD
21-
run: ./tests/gh-actions/install_kind.sh
22-
23-
- name: Create KinD Cluster
24-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
25-
26-
- name: Install kustomize
27-
run: ./tests/gh-actions/install_kustomize.sh
20+
- name: Install KinD, Create KinD cluster and Install kustomize
21+
run: |
22+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
23+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
2824
2925
- name: Install cert-manager
3026
run: ./tests/gh-actions/install_cert_manager.sh

.github/workflows/centraldashboard_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818

19-
- name: Install KinD
20-
run: ./tests/gh-actions/install_kind.sh
21-
22-
- name: Create KinD Cluster
23-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
24-
25-
- name: Install kustomize
26-
run: ./tests/gh-actions/install_kustomize.sh
19+
- name: Install KinD, Create KinD cluster and Install kustomize
20+
run: |
21+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
22+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
2723
2824
- name: Install Istio
2925
run: ./tests/gh-actions/install_istio.sh

.github/workflows/dex_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818

19-
- name: Install KinD
20-
run: ./tests/gh-actions/install_kind.sh
21-
22-
- name: Create KinD Cluster
23-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
24-
25-
- name: Install kustomize
26-
run: ./tests/gh-actions/install_kustomize.sh
19+
- name: Install KinD, Create KinD cluster and Install kustomize
20+
run: |
21+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
22+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
2723
2824
- name: Install Istio
2925
run: ./tests/gh-actions/install_istio.sh

.github/workflows/jupyter_web_application_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v4
1818

19-
- name: Install KinD
20-
run: ./tests/gh-actions/install_kind.sh
21-
22-
- name: Create KinD Cluster
23-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
24-
25-
- name: Install kustomize
26-
run: ./tests/gh-actions/install_kustomize.sh
19+
- name: Install KinD, Create KinD cluster and Install kustomize
20+
run: |
21+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
22+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
2723
2824
- name: Install Istio
2925
run: ./tests/gh-actions/install_istio.sh

.github/workflows/katib_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v4
2020

21-
- name: Install KinD
22-
run: ./tests/gh-actions/install_kind.sh
23-
24-
- name: Create KinD Cluster
25-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
26-
27-
- name: Install kustomize
28-
run: ./tests/gh-actions/install_kustomize.sh
21+
- name: Install KinD, Create KinD cluster and Install kustomize
22+
run: |
23+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
24+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
2925
3026
- name: Install Istio
3127
run: ./tests/gh-actions/install_istio.sh

.github/workflows/kserve_cni_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@ jobs:
2020
- name: Checkout
2121
uses: actions/checkout@v4
2222

23-
- name: Install KinD
24-
run: ./tests/gh-actions/install_kind.sh
25-
26-
- name: Create KinD Cluster
27-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
28-
29-
- name: Install kustomize
30-
run: ./tests/gh-actions/install_kustomize.sh
23+
- name: Install KinD, Create KinD cluster and Install kustomize
24+
run: |
25+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
26+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
3127
3228
- name: Create kubeflow namespace
3329
run: kustomize build common/kubeflow-namespace/base | kubectl apply -f -

.github/workflows/kserve_m2m_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,14 @@ jobs:
2323
- name: Checkout
2424
uses: actions/checkout@v4
2525

26-
- name: Install KinD
27-
run: ./tests/gh-actions/install_kind.sh
28-
29-
- name: Create KinD Cluster
30-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
26+
- name: Install KinD, Create KinD cluster and Install kustomize
27+
run: |
28+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
29+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
3130
3231
- name: Install kubectl
3332
run: ./tests/gh-actions/install_kubectl.sh
3433

35-
- name: Install kustomize
36-
run: ./tests/gh-actions/install_kustomize.sh
37-
3834
- name: Create kubeflow namespace
3935
run: kustomize build common/kubeflow-namespace/base | kubectl apply -f -
4036

.github/workflows/kserve_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@ jobs:
2020
- name: Checkout
2121
uses: actions/checkout@v4
2222

23-
- name: Install KinD
24-
run: ./tests/gh-actions/install_kind.sh
25-
26-
- name: Create KinD Cluster
27-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
28-
29-
- name: Install kustomize
30-
run: ./tests/gh-actions/install_kustomize.sh
23+
- name: Install KinD, Create KinD cluster and Install kustomize
24+
run: |
25+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
26+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
3127
3228
- name: Create kubeflow namespace
3329
run: kustomize build common/kubeflow-namespace/base | kubectl apply -f -

.github/workflows/metacontroller_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,10 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v4
2121

22-
- name: Install KinD
23-
run: ./tests/gh-actions/install_kind.sh
24-
25-
- name: Create KinD Cluster
26-
run: kind create cluster --config ./tests/gh-actions/kind-cluster.yaml
27-
28-
- name: Install kustomize
29-
run: ./tests/gh-actions/install_kustomize.sh
22+
- name: Install KinD, Create KinD cluster and Install kustomize
23+
run: |
24+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
25+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
3026
3127
- name: Install Istio
3228
run: ./tests/gh-actions/install_istio.sh

.github/workflows/model_registry_test.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,14 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919

20-
- name: Install KinD
21-
run: ./tests/gh-actions/install_kind.sh
22-
23-
- name: Create KinD Cluster
24-
run: kind create cluster --config tests/gh-actions/kind-cluster.yaml
20+
- name: Install KinD, Create KinD cluster and Install kustomize
21+
run: |
22+
chmod +x tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
23+
./tests/gh-actions/install_KinD_create_KinD_cluster_install_kustomize.sh
2524
2625
- name: Install kubectl
2726
run: ./tests/gh-actions/install_kubectl.sh
2827

29-
- name: Install kustomize
30-
run: ./tests/gh-actions/install_kustomize.sh
31-
3228
- name: Create kubeflow namespace
3329
run: kustomize build common/kubeflow-namespace/base | kubectl apply -f -
3430

0 commit comments

Comments
 (0)