Bump kind version and change kubeconfig tmp dir

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
m.nabokikh 2021-06-01 20:33:08 +04:00
parent bc5371e730
commit 00950eedd6
2 changed files with 6 additions and 5 deletions

View file

@ -58,10 +58,10 @@ jobs:
run: docker-compose -f docker-compose.test.yaml up -d run: docker-compose -f docker-compose.test.yaml up -d
- name: Create kind cluster - name: Create kind cluster
uses: helm/kind-action@v1.0.0 uses: helm/kind-action@v1.1.0
with: with:
version: v0.10.0 version: v0.11.1
node_image: kindest/node:v1.19.7@sha256:a70639454e97a4b733f9d9b67e12c01f6b0297449d5b9cbbef87473458e26dca node_image: kindest/node:v1.19.11@sha256:07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729
- name: Test - name: Test
run: make testall run: make testall

View file

@ -26,8 +26,8 @@ PROTOC_VERSION = 3.15.6
PROTOC_GEN_GO_VERSION = 1.26.0 PROTOC_GEN_GO_VERSION = 1.26.0
PROTOC_GEN_GO_GRPC_VERSION = 1.1.0 PROTOC_GEN_GO_GRPC_VERSION = 1.1.0
KIND_NODE_IMAGE = "kindest/node:v1.19.7@sha256:a70639454e97a4b733f9d9b67e12c01f6b0297449d5b9cbbef87473458e26dca" KIND_NODE_IMAGE = "kindest/node:v1.19.11@sha256:07db187ae84b4b7de440a73886f008cf903fcf5764ba8106a9fd5243d6f32729"
KIND_TMP_DIR = "/tmp/dex-kind-kubeconfig" KIND_TMP_DIR = "$(PWD)/bin/test/dex-kind-kubeconfig"
build: bin/dex build: bin/dex
@ -69,6 +69,7 @@ testrace:
.PHONY: kind-up kind-down kind-tests .PHONY: kind-up kind-down kind-tests
kind-up: kind-up:
@mkdir -p bin/test
@kind create cluster --image ${KIND_NODE_IMAGE} --kubeconfig ${KIND_TMP_DIR} @kind create cluster --image ${KIND_NODE_IMAGE} --kubeconfig ${KIND_TMP_DIR}
kind-down: kind-down: