From 7e077569da33b410d7076812cb1c54ca3d468a0d Mon Sep 17 00:00:00 2001 From: Yuki Iwai Date: Wed, 2 Aug 2023 02:47:43 +0900 Subject: [PATCH] Allow install binaries for the arm64 in the envtest Signed-off-by: Yuki Iwai --- .github/workflows/test-go.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-go.yaml b/.github/workflows/test-go.yaml index 04a403ca334..f38e3f51e48 100644 --- a/.github/workflows/test-go.yaml +++ b/.github/workflows/test-go.yaml @@ -63,5 +63,5 @@ jobs: strategy: fail-fast: false matrix: - # Detail: `setup-envtest list --arch amd64` + # Detail: `setup-envtest list` kubernetes-version: ["1.25.0", "1.26.1", "1.27.1"] diff --git a/Makefile b/Makefile index 3b0a73b8980..ce5c4575181 100755 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ TEST_TENSORFLOW_EVENT_FILE_PATH ?= $(CURDIR)/test/unit/v1beta1/metricscollector/ # Run tests .PHONY: test test: envtest - KUBEBUILDER_ASSETS="$(shell setup-envtest --arch=amd64 use $(ENVTEST_K8S_VERSION) -p path)" go test ./pkg/... ./cmd/... -coverprofile coverage.out + KUBEBUILDER_ASSETS="$(shell setup-envtest use $(ENVTEST_K8S_VERSION) -p path)" go test ./pkg/... ./cmd/... -coverprofile coverage.out envtest: ifndef HAS_SETUP_ENVTEST