From af1301ddcb39d0133e2ff0e0c0684363c3187880 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Thu, 26 Sep 2019 18:06:59 -0700 Subject: [PATCH] update rules go to support go 1.13.1 (#3599) * update rules go to support go 1.13.1 * gazelle update --- WORKSPACE | 13 ++++++++----- tools/bootnode/BUILD.bazel | 1 - tools/cluster-pk-manager/client/BUILD.bazel | 1 - tools/contract-addr/BUILD.bazel | 1 - tools/enr-calculator/BUILD.bazel | 1 - tools/relaynode/BUILD.bazel | 1 - validator/BUILD.bazel | 1 - 7 files changed, 8 insertions(+), 11 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index eb0dda796..85685f067 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -10,17 +10,20 @@ http_archive( http_archive( name = "io_bazel_rules_go", - sha256 = "313f2c7a23fecc33023563f082f381a32b9b7254f727a7dd2d6380ccc6dfe09b", + sha256 = "513c12397db1bc9aa46dd62f02dd94b49a9b5d17444d49b5a04c5a89f3053c1c", urls = [ - "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.19.3/rules_go-0.19.3.tar.gz", - "https://github.com/bazelbuild/rules_go/releases/download/0.19.3/rules_go-0.19.3.tar.gz", + "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/v0.19.5/rules_go-v0.19.5.tar.gz", + "https://github.com/bazelbuild/rules_go/releases/download/v0.19.5/rules_go-v0.19.5.tar.gz", ], ) http_archive( name = "bazel_gazelle", - sha256 = "3c681998538231a2d24d0c07ed5a7658cb72bfb5fd4bf9911157c0e9ac6a2687", - urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.17.0/bazel-gazelle-0.17.0.tar.gz"], + sha256 = "7fc87f4170011201b1690326e8c16c5d802836e3a0d617d8f75c3af2b23180c4", + urls = [ + "https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/bazel-gazelle/releases/download/0.18.2/bazel-gazelle-0.18.2.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/0.18.2/bazel-gazelle-0.18.2.tar.gz", + ], ) http_archive( diff --git a/tools/bootnode/BUILD.bazel b/tools/bootnode/BUILD.bazel index 5c2fcea29..8255c57ba 100644 --- a/tools/bootnode/BUILD.bazel +++ b/tools/bootnode/BUILD.bazel @@ -38,7 +38,6 @@ go_image( importpath = "github.com/prysmaticlabs/prysm/tools/bootnode", pure = "on", race = "off", - static = "on", tags = ["manual"], visibility = ["//visibility:private"], deps = [ diff --git a/tools/cluster-pk-manager/client/BUILD.bazel b/tools/cluster-pk-manager/client/BUILD.bazel index 03b0541fe..fa264dc21 100644 --- a/tools/cluster-pk-manager/client/BUILD.bazel +++ b/tools/cluster-pk-manager/client/BUILD.bazel @@ -32,7 +32,6 @@ go_image( importpath = "github.com/prysmaticlabs/prysm/tools/cluster-pk-manager/client", pure = "on", race = "off", - static = "on", tags = ["manual"], visibility = ["//visibility:private"], deps = [ diff --git a/tools/contract-addr/BUILD.bazel b/tools/contract-addr/BUILD.bazel index 3200b1742..1309f1e15 100644 --- a/tools/contract-addr/BUILD.bazel +++ b/tools/contract-addr/BUILD.bazel @@ -25,7 +25,6 @@ go_image( importpath = "github.com/prysmaticlabs/prysm/tools/contract-addr", pure = "on", race = "off", - static = "on", tags = ["manual"], visibility = ["//visibility:private"], deps = ["@org_uber_go_automaxprocs//:go_default_library"], diff --git a/tools/enr-calculator/BUILD.bazel b/tools/enr-calculator/BUILD.bazel index c8ce87f9c..325abd7e3 100644 --- a/tools/enr-calculator/BUILD.bazel +++ b/tools/enr-calculator/BUILD.bazel @@ -32,7 +32,6 @@ go_image( importpath = "github.com/prysmaticlabs/prysm/tools/enr-calculator", pure = "on", race = "off", - static = "on", tags = ["manual"], visibility = ["//visibility:private"], deps = [ diff --git a/tools/relaynode/BUILD.bazel b/tools/relaynode/BUILD.bazel index 1ebe07cab..ae6fa9af4 100644 --- a/tools/relaynode/BUILD.bazel +++ b/tools/relaynode/BUILD.bazel @@ -27,7 +27,6 @@ go_image( importpath = "github.com/prysmaticlabs/prysm/tools/relaynode", pure = "on", race = "off", - static = "on", tags = ["manual"], visibility = ["//visibility:private"], deps = [ diff --git a/validator/BUILD.bazel b/validator/BUILD.bazel index 34db3f95a..e1e81b012 100644 --- a/validator/BUILD.bazel +++ b/validator/BUILD.bazel @@ -39,7 +39,6 @@ go_image( importpath = "github.com/prysmaticlabs/prysm/validator", pure = "on", race = "off", - static = "on", tags = ["manual"], visibility = ["//visibility:private"], deps = [