CI: Rework cluster creation.
This commit is contained in:
parent
de76f75c22
commit
77e564d437
1 changed files with 3 additions and 15 deletions
18
.github/workflows/ci.yaml
vendored
18
.github/workflows/ci.yaml
vendored
|
@ -284,24 +284,12 @@ 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: Run tests
|
||||||
run: |
|
|
||||||
sudo mkdir -p $HOME/.kube
|
|
||||||
sudo chmod -R 777 $HOME/.kube
|
|
||||||
|
|
||||||
- name: Create Kubernetes ${{ matrix.k8s }} cluster
|
|
||||||
id: kind
|
|
||||||
run: |
|
|
||||||
kind create cluster --image=kindest/node:${{ matrix.k8s }}
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
env:
|
env:
|
||||||
KIND_CLUSTER_NAME: kind
|
K8S_VERSION: ${{ matrix.k8s }}
|
||||||
SKIP_CLUSTER_CREATION: true
|
|
||||||
SKIP_IMAGE_CREATION: true
|
SKIP_IMAGE_CREATION: true
|
||||||
SKIP_INGRESS_IMAGE_CREATION: true
|
|
||||||
run: |
|
run: |
|
||||||
kind get kubeconfig > $HOME/.kube/kind-config-kind
|
sudo mkdir -pm 777 "${HOME}/.kube"
|
||||||
make kind-e2e-chart-tests
|
make kind-e2e-chart-tests
|
||||||
|
|
||||||
kubernetes:
|
kubernetes:
|
||||||
|
|
Loading…
Reference in a new issue