diff --git a/.travis.yml b/.travis.yml index 2af30f1109e..71fcf377e39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ services: language: go go: - - 1.9 + - 1.11 go_import_path: vitess.io/vitess env: global: diff --git a/doc/GettingStarted.md b/doc/GettingStarted.md index 8d39de3e92e..46142b13b2b 100644 --- a/doc/GettingStarted.md +++ b/doc/GettingStarted.md @@ -73,7 +73,7 @@ OS X 10.11 (El Capitan) should work as well, the installation instructions are b In addition, Vitess requires the software and libraries listed below. -1. [Install Go 1.9+](http://golang.org/doc/install). +1. [Install Go 1.11+](http://golang.org/doc/install). 2. Install [MariaDB 10.0](https://downloads.mariadb.org/) or [MySQL 5.6](http://dev.mysql.com/downloads/mysql). You can use any diff --git a/doc/GettingStartedKubernetes.md b/doc/GettingStartedKubernetes.md index d0d358e3f8e..318c659ce5d 100644 --- a/doc/GettingStartedKubernetes.md +++ b/doc/GettingStartedKubernetes.md @@ -13,13 +13,13 @@ To complete the exercise in this guide, you must [install etcd-operator](https://github.com/coreos/etcd-operator/blob/master/doc/user/install_guide.md) in the same namespace in which you plan to run Vitess. -You also must locally install Go 1.9+, +You also must locally install Go 1.11+, the Vitess' `vtctlclient` tool, and `kubectl`. The following sections explain how to set these up in your environment. -### Install Go 1.9+ +### Install Go 1.11+ -You need to install [Go 1.9+](http://golang.org/doc/install) to build the +You need to install [Go 1.11+](http://golang.org/doc/install) to build the `vtctlclient` tool, which issues commands to Vitess. After installing Go, make sure your `GOPATH` environment diff --git a/docker/bootstrap/Dockerfile.common b/docker/bootstrap/Dockerfile.common index f148e298fc7..ec830ac5774 100644 --- a/docker/bootstrap/Dockerfile.common +++ b/docker/bootstrap/Dockerfile.common @@ -1,4 +1,4 @@ -FROM golang:1.9 +FROM golang:1.11 # Install Vitess build dependencies RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ diff --git a/test/cluster/keytar/config/vitess_config.yaml b/test/cluster/keytar/config/vitess_config.yaml index ad85cbe4692..f800793a01c 100644 --- a/test/cluster/keytar/config/vitess_config.yaml +++ b/test/cluster/keytar/config/vitess_config.yaml @@ -3,8 +3,8 @@ install: - python-mysqldb extra: - apt-get update - - wget https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz - - tar -C /usr/local -xzf go1.9.linux-amd64.tar.gz + - wget https://storage.googleapis.com/golang/go1.11.1.linux-amd64.tar.gz + - tar -C /usr/local -xzf go1.11.1.linux-amd64.tar.gz - wget https://storage.googleapis.com/kubernetes-helm/helm-v2.1.3-linux-amd64.tar.gz - tar -zxvf helm-v2.1.3-linux-amd64.tar.gz - pip install numpy diff --git a/vagrant-scripts/bootstrap_vm.sh b/vagrant-scripts/bootstrap_vm.sh index 9929aecec4e..5515e80dc16 100755 --- a/vagrant-scripts/bootstrap_vm.sh +++ b/vagrant-scripts/bootstrap_vm.sh @@ -35,7 +35,7 @@ apt-get install -y make \ unzip # Install golang -GO_VER='1.9.1' +GO_VER='1.11.1' GO_DOWNLOAD_URL='https://storage.googleapis.com/golang' GO_FILENAME="go${GO_VER}.linux-amd64.tar.gz" wget "${GO_DOWNLOAD_URL}/${GO_FILENAME}" -O "${TMP_DIR}/${GO_FILENAME}"