Skip to content

Commit

Permalink
Test crds (#104)
Browse files Browse the repository at this point in the history
* Test crds

Signed-off-by: Tamal Saha <tamal@appscode.com>

* Update ci.yml

Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Jul 27, 2021
1 parent f9affe2 commit 9609d46
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,27 @@ jobs:
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
make ci
kubernetes:
name: Kubernetes
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
k8s: [v1.16.15, v1.17.17, v1.18.15, v1.19.7, v1.20.2, v1.21.1]
steps:
- uses: actions/checkout@v1

- name: Create Kubernetes ${{ matrix.k8s }} cluster
id: kind
uses: engineerd/setup-kind@v0.5.0
with:
version: v0.11.1
image: kindest/node:${{ matrix.k8s }}

- name: Test crds
run: |
echo "waiting for nodes to be ready ..."
kubectl wait --for=condition=Ready nodes --all --timeout=5m
kubectl get nodes
kubectl create -R -f ./crds

0 comments on commit 9609d46

Please sign in to comment.