Skip to content

Commit

Permalink
bump rules_go and go version for bazel builds
Browse files Browse the repository at this point in the history
and bump gazel to a version that supports 1.8
  • Loading branch information
mikedanese authored and ixdy committed Apr 25, 2017
1 parent cd380b5 commit 59fc948
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
git_repository(
name = "io_bazel_rules_go",
commit = "cfdcbdc1d17e6dc3c48bbda4fce760949e58e381",
commit = "d57a2abc3b16a3904c159794f0f0a52cf6f061a7",
remote = "https://github.com/bazelbuild/rules_go.git",
)

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hack/update-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vendor/github.com/aws/aws-sdk-go/aws/request/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions vendor/golang.org/x/net/http2/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 59fc948

Please sign in to comment.