From 8d47b163d16d1055eb0499f3e775287b65f59026 Mon Sep 17 00:00:00 2001 From: Kat Morgan Date: Sun, 28 Jan 2024 01:19:48 -0800 Subject: [PATCH] fix ci regression --- .github/workflows/kind.yaml | 2 -- Makefile | 7 +++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/kind.yaml b/.github/workflows/kind.yaml index 007b62d..a7cb425 100644 --- a/.github/workflows/kind.yaml +++ b/.github/workflows/kind.yaml @@ -7,7 +7,6 @@ on: branches: - main paths-ignore: - - "Makefile" - "devcontainer/**" - ".devcontainer/**" - ".pulumi/**" @@ -19,7 +18,6 @@ on: branches: - main paths-ignore: - - "Makefile" - "devcontainer/**" - ".devcontainer/**" - ".pulumi/**" diff --git a/Makefile b/Makefile index a2456cf..76225c1 100644 --- a/Makefile +++ b/Makefile @@ -142,15 +142,14 @@ talos: clean-all talos-cluster talos-ready wait-all-pods kind-cluster: @echo "Creating Kind Cluster..." @direnv allow - @mkdir -p /home/vscode/.kube .kube || true - @touch /home/vscode/.kube/config .kube/config || true - @chmod 600 /home/vscode/.kube/config .kube/config || true + @mkdir -p .kube || true + @touch .kube/config || true + @chmod 600 .kube/config || true @sudo docker volume create cilium-worker-n01 @sudo docker volume create cilium-worker-n02 @sudo docker volume create cilium-control-plane-n01 @sudo kind create cluster --wait 1m --retain --config=hack/kind.yaml @sudo kind get clusters - @sudo kind get kubeconfig --name cilium | tee /home/vscode/.kube/config 1>/dev/null || true @sudo kind get kubeconfig --name cilium | tee ${KUBE_CONFIG_FILE} 1>/dev/null @sudo chown -R $(id -u):$(id -g) ${KUBE_CONFIG_FILE} @pulumi config set kubernetes kind