Skip to content

Commit

Permalink
Update rules_go to 0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Dec 14, 2017
1 parent 595d9d4 commit 3f9e3bd
Show file tree
Hide file tree
Showing 24 changed files with 3 additions and 32 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ check_version("0.8.0")

git_repository(
name = "io_bazel_rules_go",
commit = "f80dec7889568c36eb191d3d1534d2db4574d430",
remote = "https://github.com/bazelbuild/rules_go.git",
tag = "0.8.1",
)

load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
Expand Down
1 change: 0 additions & 1 deletion boskos/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/boskos",
pure = "on",
race = "off",
)

go_test(
Expand Down
1 change: 0 additions & 1 deletion boskos/janitor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/boskos/janitor",
pure = "on",
race = "off",
)

go_library(
Expand Down
1 change: 0 additions & 1 deletion boskos/metrics/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/boskos/metrics",
pure = "on",
race = "off",
tags = ["automanaged"],
)

Expand Down
1 change: 0 additions & 1 deletion boskos/reaper/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/boskos/reaper",
pure = "on",
race = "off",
)

go_library(
Expand Down
1 change: 0 additions & 1 deletion gcsweb/cmd/gcsweb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/gcsweb/cmd/gcsweb",
pure = "on",
race = "off",
)

go_library(
Expand Down
2 changes: 1 addition & 1 deletion hack/update-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rm -f ${TESTINFRA_ROOT}/vendor/k8s.io/apimachinery/pkg/util/sets/BUILD
# The gazelle commit should match the rules_go commit in the WORKSPACE file.
"${TESTINFRA_ROOT}/hack/go_install_from_commit.sh" \
github.com/bazelbuild/rules_go/go/tools/gazelle/gazelle \
f80dec7889568c36eb191d3d1534d2db4574d430 \
0.8.1 \
"${TMP_GOPATH}"

touch "${TESTINFRA_ROOT}/vendor/BUILD"
Expand Down
2 changes: 1 addition & 1 deletion hack/verify-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TMP_GOPATH=$(mktemp -d)
# The gazelle commit should match the rules_go commit in the WORKSPACE file.
"${TESTINFRA_ROOT}/hack/go_install_from_commit.sh" \
github.com/bazelbuild/rules_go/go/tools/gazelle/gazelle \
f80dec7889568c36eb191d3d1534d2db4574d430 \
0.8.1 \
"${TMP_GOPATH}"

touch "${TESTINFRA_ROOT}/vendor/BUILD"
Expand Down
1 change: 0 additions & 1 deletion kubetest/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/kubetest",
pure = "on",
race = "off",
)

go_library(
Expand Down
1 change: 0 additions & 1 deletion label_sync/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/label_sync",
pure = "on",
race = "off",
tags = ["automanaged"],
)

Expand Down
1 change: 0 additions & 1 deletion logexporter/cmd/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/logexporter/cmd",
pure = "on",
race = "off",
)

go_library(
Expand Down
1 change: 0 additions & 1 deletion mungegithub/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/mungegithub",
pure = "on",
race = "off",
)

go_library(
Expand Down
2 changes: 0 additions & 2 deletions prow/cmd/deck/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/deck",
pure = "on",
race = "off",
)

go_binary(
name = "deck",
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/deck",
pure = "on",
race = "off",
)

go_test(
Expand Down
2 changes: 0 additions & 2 deletions prow/cmd/hook/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/hook",
pure = "on",
race = "off",
)

go_binary(
Expand All @@ -28,7 +27,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/hook",
pure = "on",
race = "off",
)

go_test(
Expand Down
2 changes: 0 additions & 2 deletions prow/cmd/horologium/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/horologium",
pure = "on",
race = "off",
)

go_binary(
name = "horologium",
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/horologium",
pure = "on",
race = "off",
)

go_library(
Expand Down
1 change: 0 additions & 1 deletion prow/cmd/jenkins-operator/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/jenkins-operator",
pure = "on",
race = "off",
)

go_library(
Expand Down
2 changes: 0 additions & 2 deletions prow/cmd/plank/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/plank",
pure = "on",
race = "off",
)

go_binary(
name = "plank",
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/plank",
pure = "on",
race = "off",
)

go_library(
Expand Down
2 changes: 0 additions & 2 deletions prow/cmd/sinker/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/sinker",
pure = "on",
race = "off",
)

go_binary(
name = "sinker",
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/sinker",
pure = "on",
race = "off",
)

go_test(
Expand Down
2 changes: 0 additions & 2 deletions prow/cmd/splice/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/splice",
pure = "on",
race = "off",
)

go_binary(
name = "splice",
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/splice",
pure = "on",
race = "off",
)

go_test(
Expand Down
2 changes: 0 additions & 2 deletions prow/cmd/tide/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/tide",
pure = "on",
race = "off",
visibility = ["//visibility:public"],
)

Expand All @@ -35,7 +34,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/tide",
pure = "on",
race = "off",
visibility = ["//visibility:public"],
)

Expand Down
2 changes: 0 additions & 2 deletions prow/cmd/tot/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ go_image(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/tot",
pure = "on",
race = "off",
)

go_binary(
name = "tot",
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/prow/cmd/tot",
pure = "on",
race = "off",
)

go_test(
Expand Down
1 change: 0 additions & 1 deletion velodrome/fetcher/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/velodrome/fetcher",
pure = "on",
race = "off",
)

go_test(
Expand Down
1 change: 0 additions & 1 deletion velodrome/token-counter/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/velodrome/token-counter",
pure = "on",
race = "off",
)

go_library(
Expand Down
1 change: 0 additions & 1 deletion velodrome/transform/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ go_binary(
embed = [":go_default_library"],
importpath = "k8s.io/test-infra/velodrome/transform",
pure = "on",
race = "off",
)

go_test(
Expand Down

0 comments on commit 3f9e3bd

Please sign in to comment.