Skip to content

Commit

Permalink
Update minikube version
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Pérez-Aradros Herce committed Jul 12, 2018
1 parent 10208b6 commit 833e317
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
- GOX_FLAGS="-arch amd64"
- DOCKER_COMPOSE_VERSION=1.11.1
- GO_VERSION="$(cat .go-version)"
- TRAVIS_MINIKUBE_VERSION=v0.25.2
- TRAVIS_MINIKUBE_VERSION=v0.27.0

jobs:
include:
Expand Down
3 changes: 2 additions & 1 deletion deploy/kubernetes/.travis/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
#!/bin/bash

set -x
set -e

export CHANGE_MINIKUBE_NONE_USER=true

curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/$TRAVIS_K8S_VERSION/bin/linux/amd64/kubectl && \
chmod +x kubectl && sudo mv kubectl /usr/local/bin/
curl -Lo minikube https://storage.googleapis.com/minikube/releases/$TRAVIS_MINIKUBE_VERSION/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
sudo minikube start --vm-driver=none --kubernetes-version=$TRAVIS_K8S_VERSION --logtostderr
minikube update-context
sudo minikube update-context
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

0 comments on commit 833e317

Please sign in to comment.