forked from cryostatio/cryostat-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(k8s): use minikube to launch k8s instead of kind
Signed-off-by: Thuan Vo <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|