Skip to content

Commit

Permalink
💚 Use QEMU on e2e with minikube
Browse files Browse the repository at this point in the history
Signed-off-by: vankichi <[email protected]>
  • Loading branch information
vankichi committed Dec 2, 2024
1 parent 3d51a12 commit e154336
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/actions/setup-e2e/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ runs:
if: ${{ inputs.require_minikube == 'true' }}
shell: bash
run: |
# TODO: consider use apt install for ci
apt-get update
apt-get install -y iptables conntrack
make minikube/install
make minikube/start
- name: Check Kubernetes cluster
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ E2E_REMOVE_FROM ?= 0

TEST_RESULT_DIR ?= /tmp

MINIKUBE_DRIVER = none

include Makefile.d/functions.mk

.PHONY: maintainer
Expand Down
2 changes: 1 addition & 1 deletion Makefile.d/minikube.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $(BINDIR)/minikube:
# Only use this for development related to Volume Snapshots. Usually k3d is faster.
.PHONY: minikube/start
minikube/start:
minikube start --force
minikube start --force --driver=$(MINIKUBE_DRIVER)
minikube addons enable volumesnapshots
minikube addons enable csi-hostpath-driver
minikube addons disable storage-provisioner
Expand Down

0 comments on commit e154336

Please sign in to comment.