Skip to content

Commit

Permalink
bump k8s version in travis
Browse files Browse the repository at this point in the history
Signed-off-by: shubham <[email protected]>
  • Loading branch information
shubham14bajpai authored and kmova committed May 5, 2021
1 parent 02693d5 commit 5028422
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install --yes -qq gcc
- sudo apt-get install --yes -qq libudev-dev
- sudo apt-get install --yes -qq libudev-dev conntrack

before_script:
# Download kubectl and setup minkube for running integration tests
# Wait for minikube to be up and ready.
- if [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.13.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/ ;
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.35.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ ;
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/ ;
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v1.19.0/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ ;
mkdir -p $HOME/.kube $HOME/.minikube ;
touch $KUBECONFIG ;
sudo minikube start --vm-driver=none --kubernetes-version=v1.13.0 ;
sudo minikube start --driver=none --kubernetes-version=v1.18.0 ;
sudo chown -R travis /home/travis/.minikube/ ;
JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}'; until kubectl get nodes -o jsonpath="$JSONPATH" 2>&1 | grep -q "Ready=True"; do sleep 1; done ;
fi
Expand Down

0 comments on commit 5028422

Please sign in to comment.