forked from spotahome/redis-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update k8s to 1.15.6 in integration tests
- Loading branch information
Showing
2 changed files
with
18 additions
and
11 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 |
---|---|---|
@@ -1,22 +1,29 @@ | ||
sudo: required | ||
dist: trusty | ||
# We need the systemd for the kubeadm and it's default from 16.04+ | ||
dist: xenial | ||
|
||
services: | ||
- docker | ||
env: | ||
global: | ||
- CHANGE_MINIKUBE_NONE_USER=true | ||
- MINIKUBE_WANTUPDATENOTIFICATION=false | ||
- MINIKUBE_WANTREPORTERRORPROMPT=false | ||
- MINIKUBE_HOME=$HOME | ||
- CHANGE_MINIKUBE_NONE_USER=true | ||
- KUBECONFIG=$HOME/.kube/config | ||
- IN_TRAVIS=true | ||
|
||
language: go | ||
go: | ||
- "1.12.x" | ||
go_import_path: github.com/spotahome/redis-operator | ||
|
||
before_install: | ||
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.25.2/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ | ||
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.10.5/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/ | ||
before_script: | ||
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/v1.6.1/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ | ||
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.15.6/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/ | ||
- curl -Lo helm.tgz https://storage.googleapis.com/kubernetes-helm/helm-v2.13.1-linux-amd64.tar.gz && tar -zxvf helm.tgz && sudo mv linux-amd64/helm /usr/local/bin/helm | ||
- mkdir -p $HOME/.kube $HOME/.minikube | ||
- touch $KUBECONFIG | ||
- helm init -c | ||
|
||
env: | ||
- IN_TRAVIS=true | ||
|
||
script: | ||
- make test |
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