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 f46aa07
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/actions/setup-e2e/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,20 @@ runs:
if: ${{ inputs.require_minikube == 'true' }}
shell: bash
run: |
# TODO: consider use apt install for ci
# Add Docker's official GPG key:
apt-get update
apt-get install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
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

0 comments on commit f46aa07

Please sign in to comment.