From d56ddfe8a6e02fd4948f1fe08984121278e641b2 Mon Sep 17 00:00:00 2001 From: Michael Francis Date: Wed, 11 Sep 2024 17:48:05 +0100 Subject: [PATCH] WIP, fixing networking? --- .github/workflows/tests.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0edb119..4a05eb9 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -19,5 +19,13 @@ jobs: uses: helm/kind-action@v1 - name: Run the tests run: | - kubectl apply -f manifests/example.yaml --validate=false - tilt ci + export KUBECONFIG=$HOME/.kube/config # if not already set + export KIND_EXPERIMENTAL_DOCKER_NETWORK=${{ job.container.network }} + + kind create cluster \ + --kubeconfig $KUBECONFIG \ + --config=./kind-config.yaml + + kubectl config set-cluster kind-kind --server=https://kind-control-plane:6443 + kubectl apply -f manifests/example.yaml --validate=false + tilt ci