Compare commits

..

2 Commits

Author SHA1 Message Date
Michael Francis a365b32063 hmm
Tests / test (push) Failing after 1m54s Details
Tests / test (pull_request) Failing after 1m58s Details
2024-09-11 18:09:47 +01:00
Michael Francis 6615d9b5bd fix path 2024-09-11 17:57:27 +01:00
2 changed files with 16 additions and 7 deletions

View File

@ -17,14 +17,18 @@ jobs:
tilt: "v0.33.20"
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1
with:
name: kind
wait: 90s
- name: Run the tests
run: |
export KIND_EXPERIMENTAL_DOCKER_NETWORK=${{ job.container.network }}
# export KIND_EXPERIMENTAL_DOCKER_NETWORK=${{ job.container.network }}
kind create cluster \
--kubeconfig $KUBECONFIG \
--config=./kind-config.yaml
# kind create cluster \
# --kubeconfig $KUBECONFIG \
# --config=./kind/kind-config-ci.yaml
kubectl config set-cluster kind-kind --server=https://kind-control-plane:6443
# kubectl config set-cluster kind-kind --server=https://kind-control-plane:6443
kubectl apply -f manifests/example.yaml --validate=false
tilt ci

5
kind/kind-config-ci.yaml Normal file
View File

@ -0,0 +1,5 @@
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
apiServerAddress: "127.0.0.1"
apiServerPort: 6443