mirror of https://github.com/k3s-io/k3s
bump rules_go and go version for bazel builds
and bump gazel to a version that supports 1.8pull/6/head
parent
cd380b580b
commit
59fc948a06
|
@ -1,6 +1,6 @@
|
||||||
git_repository(
|
git_repository(
|
||||||
name = "io_bazel_rules_go",
|
name = "io_bazel_rules_go",
|
||||||
commit = "cfdcbdc1d17e6dc3c48bbda4fce760949e58e381",
|
commit = "d57a2abc3b16a3904c159794f0f0a52cf6f061a7",
|
||||||
remote = "https://github.com/bazelbuild/rules_go.git",
|
remote = "https://github.com/bazelbuild/rules_go.git",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ git_repository(
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_repositories")
|
load("@io_bazel_rules_go//go:def.bzl", "go_repositories")
|
||||||
|
|
||||||
go_repositories(
|
go_repositories(
|
||||||
go_version = "1.7.5",
|
go_version = "1.8.1",
|
||||||
)
|
)
|
||||||
|
|
||||||
# for building docker base images
|
# for building docker base images
|
||||||
|
|
|
@ -20,7 +20,7 @@ set -o pipefail
|
||||||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
source "${KUBE_ROOT}/hack/lib/init.sh"
|
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
|
for path in ${GOPATH//:/ }; do
|
||||||
if [[ -e "${path}/bin/gazel" ]]; then
|
if [[ -e "${path}/bin/gazel" ]]; then
|
||||||
|
|
|
@ -20,7 +20,7 @@ set -o pipefail
|
||||||
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
||||||
source "${KUBE_ROOT}/hack/lib/init.sh"
|
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
|
for path in ${GOPATH//:/ }; do
|
||||||
if [[ -e "${path}/bin/gazel" ]]; then
|
if [[ -e "${path}/bin/gazel" ]]; then
|
||||||
|
|
|
@ -14,7 +14,7 @@ go_library(
|
||||||
"http_request.go",
|
"http_request.go",
|
||||||
"offset_reader.go",
|
"offset_reader.go",
|
||||||
"request.go",
|
"request.go",
|
||||||
"request_1_7.go",
|
"request_1_8.go",
|
||||||
"request_pagination.go",
|
"request_pagination.go",
|
||||||
"retryer.go",
|
"retryer.go",
|
||||||
"validation.go",
|
"validation.go",
|
||||||
|
|
|
@ -18,11 +18,10 @@ go_library(
|
||||||
"frame.go",
|
"frame.go",
|
||||||
"go16.go",
|
"go16.go",
|
||||||
"go17.go",
|
"go17.go",
|
||||||
"go17_not18.go",
|
"go18.go",
|
||||||
"gotrack.go",
|
"gotrack.go",
|
||||||
"headermap.go",
|
"headermap.go",
|
||||||
"http2.go",
|
"http2.go",
|
||||||
"not_go18.go",
|
|
||||||
"pipe.go",
|
"pipe.go",
|
||||||
"server.go",
|
"server.go",
|
||||||
"transport.go",
|
"transport.go",
|
||||||
|
|
Loading…
Reference in New Issue