Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
go: update to go 1.11
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Perkins <derek@derekperkins.com>
  • Loading branch information
derekperkins committed Oct 5, 2018
1 parent 910d15f commit affebed
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:

language: go
go:
- 1.9
- 1.11
go_import_path: vitess.io/vitess
env:
global:
Expand Down
2 changes: 1 addition & 1 deletion doc/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions doc/GettingStartedKubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/bootstrap/Dockerfile.common
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions test/cluster/keytar/config/vitess_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vagrant-scripts/bootstrap_vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit affebed

Please sign in to comment.