From 00950eedd6deb4f4f73538bae9f0019f4fb1b363 Mon Sep 17 00:00:00 2001 From: "m.nabokikh" Date: Tue, 1 Jun 2021 20:33:08 +0400 Subject: [PATCH] Bump kind version and change kubeconfig tmp dir Signed-off-by: m.nabokikh --- .github/workflows/ci.yaml | 6 +++--- Makefile | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2738364f..2622248f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -58,10 +58,10 @@ jobs: run: docker-compose -f docker-compose.test.yaml up -d - name: Create kind cluster - uses: helm/kind-action@v1.0.0 + uses: helm/kind-action@v1.1.0 with: - version: v0.10.0 - node_image: kindest/node:v1.19.7@sha256:a70639454e97a4b733f9d9b67e12c01f6b0297449d5b9cbbef87473458e26dca + version: v0.11.1 + node_image: kindest/node:v1.19.11@sha256:07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729 - name: Test run: make testall diff --git a/Makefile b/Makefile index 4d4cc5b5..c35fc351 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ PROTOC_VERSION = 3.15.6 PROTOC_GEN_GO_VERSION = 1.26.0 PROTOC_GEN_GO_GRPC_VERSION = 1.1.0 -KIND_NODE_IMAGE = "kindest/node:v1.19.7@sha256:a70639454e97a4b733f9d9b67e12c01f6b0297449d5b9cbbef87473458e26dca" -KIND_TMP_DIR = "/tmp/dex-kind-kubeconfig" +KIND_NODE_IMAGE = "kindest/node:v1.19.11@sha256:07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729" +KIND_TMP_DIR = "$(PWD)/bin/test/dex-kind-kubeconfig" build: bin/dex @@ -69,6 +69,7 @@ testrace: .PHONY: kind-up kind-down kind-tests kind-up: + @mkdir -p bin/test @kind create cluster --image ${KIND_NODE_IMAGE} --kubeconfig ${KIND_TMP_DIR} kind-down: