Skip to content

Commit

Permalink
Use kind v0.8.0
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed May 1, 2020
1 parent 9fc4665 commit fe479e8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,16 @@ jobs:
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Run checks
- name: Prepare Host
run: |
sudo apt-get -qq update || true
sudo apt-get install -y bzr
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.17.0/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
- name: Run checks
run: |
make ci
- name: Build
Expand All @@ -56,7 +59,7 @@ jobs:
needs: build
strategy:
matrix:
k8s: [v1.11.10, v1.12.10, v1.14.10, v1.16.4, v1.18.0]
k8s: [v1.11.10, v1.12.10, v1.14.10, v1.16.4, v1.18.2]
steps:

- name: Check out code into the Go module directory
Expand All @@ -66,7 +69,7 @@ jobs:
id: kind
uses: engineerd/[email protected]
with:
version: v0.6.1
version: v0.8.0
config: hack/kubernetes/kind.yaml
image: kindest/node:${{ matrix.k8s }}

Expand All @@ -83,12 +86,6 @@ jobs:
echo
kubectl version
echo
echo "installing local-path provisioner ..."
kubectl delete storageclass --all
kubectl apply -f https://github.com/rancher/local-path-provisioner/raw/v0.0.12/deploy/local-path-storage.yaml
kubectl wait --for=condition=Ready pods -n local-path-storage --all --timeout=5m
kubectl apply -f hack/kubernetes/storageclass/standard.yaml
echo
echo "create docker-registry secret"
kubectl create secret docker-registry ${REGISTRY_SECRET} --namespace=kube-system --docker-server=https://index.docker.io/v1/ --docker-username=${USERNAME} --docker-password=${DOCKER_TOKEN}
Expand Down

0 comments on commit fe479e8

Please sign in to comment.