-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tamal Saha <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 }} | ||
|
||
|
@@ -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} | ||
|