Refactor test workflows #3
Workflow file for this run
This file contains 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
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@v4 | |
- name: Install KinD | |
run: ./tests/gh-actions/install_kind.sh | |
- name: Create KinD Cluster | |
run: kind create cluster --config ./tests/gh-actions/kind-cluster.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 contrib/metacontroller/ | |
make test |