diff --git a/.github/actions/setup-e2e/action.yaml b/.github/actions/setup-e2e/action.yaml index 6cf17458096..40d602e7e4a 100644 --- a/.github/actions/setup-e2e/action.yaml +++ b/.github/actions/setup-e2e/action.yaml @@ -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 diff --git a/Makefile b/Makefile index de1572c19e8..a7374025272 100644 --- a/Makefile +++ b/Makefile @@ -373,6 +373,8 @@ E2E_REMOVE_FROM ?= 0 TEST_RESULT_DIR ?= /tmp +MINIKUBE_DRIVER = none + include Makefile.d/functions.mk .PHONY: maintainer