Skip to content

Commit

Permalink
ci(k8s): use minikube to launch k8s instead of kind
Browse files Browse the repository at this point in the history
Signed-off-by: Thuan Vo <[email protected]>
  • Loading branch information
tthvo committed Dec 22, 2023
1 parent 6ac7ec6 commit 1f8c685
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/test-ci-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,14 @@ jobs:
registry: ghcr.io/${{ github.repository_owner }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Kind cluster
run: |
kind create cluster --config=".github/kind-config.yaml" -n ci-${{ github.run_id }}
# Enabling Ingress
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml
kubectl rollout status -w deployment/ingress-nginx-controller -n ingress-nginx --timeout 5m
- name: Install Operator Lifecycle Manager
run: curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.24.0/install.sh | bash -s v0.24.0
- name: Set up k8s
uses: medyagh/[email protected]
with:
driver: docker
container-runtime: cri-o
network-plugin: cni
cni: calico
addons: storage-provisioner,default-storageclass,ingress,olm
- name: Install Cert Manager
run: make cert_manager
- uses: redhat-actions/podman-login@v1
Expand Down

0 comments on commit 1f8c685

Please sign in to comment.