bump rules_go and go version for bazel builds

and bump gazel to a version that supports 1.8
pull/6/head
Mike Danese 2017-04-17 14:28:27 -07:00 committed by Jeff Grafton
parent cd380b580b
commit 59fc948a06
5 changed files with 6 additions and 7 deletions

View File

@ -1,6 +1,6 @@
git_repository(
name = "io_bazel_rules_go",
commit = "cfdcbdc1d17e6dc3c48bbda4fce760949e58e381",
commit = "d57a2abc3b16a3904c159794f0f0a52cf6f061a7",
remote = "https://github.com/bazelbuild/rules_go.git",
)
@ -19,7 +19,7 @@ git_repository(
load("@io_bazel_rules_go//go:def.bzl", "go_repositories")
go_repositories(
go_version = "1.7.5",
go_version = "1.8.1",
)
# for building docker base images

View File

@ -20,7 +20,7 @@ set -o pipefail
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/lib/init.sh"
go get gopkg.in/mikedanese/gazel.v14/gazel
go get gopkg.in/mikedanese/gazel.v16/gazel
for path in ${GOPATH//:/ }; do
if [[ -e "${path}/bin/gazel" ]]; then

View File

@ -20,7 +20,7 @@ set -o pipefail
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/lib/init.sh"
go get gopkg.in/mikedanese/gazel.v14/gazel
go get gopkg.in/mikedanese/gazel.v16/gazel
for path in ${GOPATH//:/ }; do
if [[ -e "${path}/bin/gazel" ]]; then

View File

@ -14,7 +14,7 @@ go_library(
"http_request.go",
"offset_reader.go",
"request.go",
"request_1_7.go",
"request_1_8.go",
"request_pagination.go",
"retryer.go",
"validation.go",

View File

@ -18,11 +18,10 @@ go_library(
"frame.go",
"go16.go",
"go17.go",
"go17_not18.go",
"go18.go",
"gotrack.go",
"headermap.go",
"http2.go",
"not_go18.go",
"pipe.go",
"server.go",
"transport.go",