Skip to content

Commit

Permalink
Refactor test workflows
Browse files Browse the repository at this point in the history
* Renamed workflow files
* Fixed dependency files
* Upgrade actions/checkout to v4

Signed-off-by: Andrea Lamparelli <a.lamparelli95@gmail.com>
  • Loading branch information
lampajr committed May 7, 2024
1 parent 246e1f2 commit f1f41f4
Show file tree
Hide file tree
Showing 22 changed files with 128 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@ name: Build & Apply PodDefaults manifests in KinD
on:
pull_request:
paths:
- .github/workflows/admission_webhook_test.yaml
- apps/admission-webhook/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@ name: Build & Apply BentoML Yatai Stack manifests in KinD
on:
pull_request:
paths:
- .github/workflows/bentoml_test.yaml
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**
- contrib/bentoml/**

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ name: Build & Apply CentralDashboard manifests in KinD
on:
pull_request:
paths:
- .github/workflows/centraldashboard_test.yaml
- apps/centraldashboard/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ name: Build & Apply Dex manifests in KinD
on:
pull_request:
paths:
- .github/workflows/dex_test.yaml
- common/dex/base/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ name: Build & Apply JWA manifests in KinD
on:
pull_request:
paths:
- .github/workflows/jupyter_web_application_test.yaml
- apps/jupyter/jupyter-web-app/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@ name: Build & Apply Katib manifests in KinD
on:
pull_request:
paths:
- .github/workflows/katib_test.yaml
- apps/katib/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@ name: Build & Apply KServe manifests in KinD, using istio CNI
on:
pull_request:
paths:
- .github/workflows/kserve_cni_test.yaml
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- common/istio-cni-1-17/**
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**
- tests/gh-actions/install_knative-cni.sh
- tests/gh-actions/install_kserve.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,26 @@ name: Deploy and test KServe with m2m auth in KinD
on:
pull_request:
paths:
- .github/workflows/kserve_m2m_test.yaml
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- contrib/kserve/**
- common/knative/**
- common/oidc-client/oauth2-proxy/**
- common/istio*/**
- tests/gh-actions/install_istio_with_ext_auth.sh*
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**
- tests/gh-actions/install_knative.sh
- common/knative/**
- tests/gh-actions/install_kserve.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,23 @@ name: Build & Apply KServe manifests in KinD
on:
pull_request:
paths:
- .github/workflows/kserve_test.yaml
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- contrib/kserve/**
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**
- tests/gh-actions/install_knative.sh
- common/knative/**
- tests/gh-actions/install_kserve.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install kustomize
run: ./tests/gh-actions/install_kustomize.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@ name: Build & Apply contrib/metacontroller in KinD
on:
pull_request:
paths:
- .github/workflows/metacontroller_test.yaml
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- contrib/metacontroller/**
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**
- tests/gh-actions/install_istio.sh
- common/istio*/**

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/model_registry_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
paths:
- apps/model-registry/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh
- common/istio*/**

jobs:
build-kfmr:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,22 @@ name: Test Notebook Controller with m2m auth manifests in KinD
on:
pull_request:
paths:
- .github/workflows/notebook_controller_m2m_test.yaml
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- apps/jupyter/**
- common/oidc-client/oauth2-proxy/**
- common/istio*/**
- tests/gh-actions/install_istio_with_ext_auth.sh*
- tests/gh-actions/install_multi_tenancy.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ name: Build & Apply Notebook Controller manifests in KinD
on:
pull_request:
paths:
- .github/workflows/notebook_controller_test.yaml
- apps/jupyter/notebook-controller/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh
- common/istio*/**

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@ name: Deploy and test Kubeflow Pipelines manifests with m2m auth in KinD
on:
pull_request:
paths:
- .github/workflows/pipeline_test.yaml
- apps/pipeline/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**
- common/oidc-client/oauth2-proxy/**
- common/istio*/**
- tests/gh-actions/install_istio_with_ext_auth.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ name: Build & Apply Profiles manifests in KinD
on:
pull_request:
paths:
- .github/workflows/profiles_test.yaml
- apps/profiles/upstream/**
- tests/gh-actions/kind-cluster.yaml
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh
- common/istio*/**

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ name: Build & Apply Ray manifest in KinD
on:
pull_request:
paths:
- .github/workflows/ray_test.yaml
- contrib/ray/**
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh

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

- name: Install KinD
run: ./tests/gh-actions/install_kind.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@ name: Build & Apply Seldon manifests in KinD
on:
pull_request:
paths:
- .github/workflows/seldon_test.yaml
- tests/gh-actions/kind-cluster.yaml
- contrib/seldon/**
- tests/gh-actions/install_kind.sh
- tests/gh-actions/install_kustomize.sh
- tests/gh-actions/install_istio.sh
- common/istio*/**
- tests/gh-actions/install_cert_manager.sh
- common/cert-manager/**

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

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

0 comments on commit f1f41f4

Please sign in to comment.