CI: Rework cluster creation.
This commit is contained in:
parent
543a2bb2c5
commit
b7046ef9d1
1 changed files with 3 additions and 7 deletions
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
|
@ -278,15 +278,11 @@ jobs:
|
||||||
- name: Load cache
|
- name: Load cache
|
||||||
run: gzip --decompress --stdout docker.tar.gz | docker load
|
run: gzip --decompress --stdout docker.tar.gz | docker load
|
||||||
|
|
||||||
- name: fix permissions
|
- name: Create cluster
|
||||||
run: |
|
|
||||||
sudo mkdir -p $HOME/.kube
|
|
||||||
sudo chmod -R 777 $HOME/.kube
|
|
||||||
|
|
||||||
- name: Create Kubernetes ${{ matrix.k8s }} cluster
|
|
||||||
id: kind
|
id: kind
|
||||||
run: |
|
run: |
|
||||||
kind create cluster --image=kindest/node:${{ matrix.k8s }}
|
sudo chmod 777 "${HOME}/.kube"
|
||||||
|
kind create cluster --image kindest/node:${{ matrix.k8s }} --kubeconfig "${HOME}/.kube/kind-config-kind"
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue