Skip to content

Commit

Permalink
Update kubernetes version to 1.21.1 in CI (#1049)
Browse files Browse the repository at this point in the history
* change kindest/node docker image to use v1.20.7

* upadte kindest/node image to v1.21.1

* Update kind to version v0.11.0

* Use default image for kindest/node

* Update kind version before creating cluster

* Get localkube even when kind us present

* Update kind version in build image dockerfile

* Using public image for Testing purpose

* Use build image v0.0.13
  • Loading branch information
akankshakumari393 committed Jul 20, 2021
1 parent 2c3a576 commit fbbd616
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
install:
- make go-mod-download
before_script:
- docker pull kindest/node:v1.18.2
- docker pull kindest/node:v1.21.1
- make start-kind
script:
- make build
Expand All @@ -44,7 +44,7 @@ jobs:
install:
- make go-mod-download
before_script:
- docker pull kindest/node:v1.18.2
- docker pull kindest/node:v1.21.1
- make start-kind
- make install-minio
script:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ IMAGE_NAME := $(BIN)

IMAGE := $(REGISTRY)/$(IMAGE_NAME)

BUILD_IMAGE ?= ghcr.io/kanisterio/build:v0.0.12
BUILD_IMAGE ?= ghcr.io/kanisterio/build:v0.0.13

# tag 0.1.0 is, 0.0.1 (latest) + gh + aws + helm binary
DOCS_BUILD_IMAGE ?= ghcr.io/kanisterio/docker-sphinx:0.2.0
Expand Down
4 changes: 2 additions & 2 deletions build/local_kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export MINIKUBE_WANTREPORTERRORPROMPT=false
export MINIKUBE_HOME=$HOME
export CHANGE_MINIKUBE_NONE_USER=true
export KUBECONFIG=$HOME/.kube/config
export KUBE_VERSION=${KUBE_VERSION:-"v1.18.2"}
export KIND_VERSION=${KIND_VERSION:-"v0.5.1"}
export KUBE_VERSION=${KUBE_VERSION:-"v1.21.1"}
export KIND_VERSION=${KIND_VERSION:-"v0.11.1"}
export LOCAL_CLUSTER_NAME=${LOCAL_CLUSTER_NAME:-"kanister"}
export LOCAL_PATH_PROV_VERSION="v0.0.11"
declare -a REQUIRED_BINS=( docker jq go )
Expand Down
2 changes: 1 addition & 1 deletion docker/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY --from=alpine/helm:3.1.0 /usr/bin/helm /usr/local/bin/

COPY --from=golangci/golangci-lint:v1.23.7 /usr/bin/golangci-lint /usr/local/bin/

RUN wget -O /usr/local/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.7.0/kind-linux-amd64 \
RUN wget -O /usr/local/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.11.1/kind-linux-amd64 \
&& chmod +x /usr/local/bin/kind

ENV CGO_ENABLED=0 \
Expand Down

0 comments on commit fbbd616

Please sign in to comment.