From bd15dcbda99e442c53afadc71529dd2f00df9083 Mon Sep 17 00:00:00 2001 From: Zane Silver Date: Tue, 24 Jul 2018 18:51:21 -0700 Subject: [PATCH 1/4] Upgrade https://github.com/bazelbuild/rules_go to latest release: 0.13.0 --- bazel/repository_locations.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl index c68f8cbe5f2e..6f7cf96b93ab 100644 --- a/bazel/repository_locations.bzl +++ b/bazel/repository_locations.bzl @@ -119,7 +119,7 @@ REPOSITORY_LOCATIONS = dict( remote = "https://github.com/grpc-ecosystem/grpc-httpjson-transcoding", ), io_bazel_rules_go = dict( - commit = "0.11.1", + commit = "0.13.0", remote = "https://github.com/bazelbuild/rules_go", ), six_archive = dict( From a2e50813e82dc483124ab059de5f49caddec8cfc Mon Sep 17 00:00:00 2001 From: Zane Silver Date: Tue, 31 Jul 2018 11:00:11 -0700 Subject: [PATCH 2/4] Update Golang Build Rules To Latest Version. Signed-off-by: Zane S zanes@uhana.io --- bazel/repository_locations.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl index 6f7cf96b93ab..3aec4b960326 100644 --- a/bazel/repository_locations.bzl +++ b/bazel/repository_locations.bzl @@ -119,7 +119,7 @@ REPOSITORY_LOCATIONS = dict( remote = "https://github.com/grpc-ecosystem/grpc-httpjson-transcoding", ), io_bazel_rules_go = dict( - commit = "0.13.0", + commit = "e60e7f91da46a87d9067679064571c6954343c3c", # 2018-07-31 remote = "https://github.com/bazelbuild/rules_go", ), six_archive = dict( From c97bb14d4188f974816f870002242b49b764ac0f Mon Sep 17 00:00:00 2001 From: Zane Silver Date: Tue, 31 Jul 2018 11:07:17 -0700 Subject: [PATCH 3/4] Update to fixed commit of lyft protoc validator --- api/bazel/repositories.bzl | 2 +- bazel/repository_locations.bzl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/bazel/repositories.bzl b/api/bazel/repositories.bzl index ba56da977af7..9ce66300a01a 100644 --- a/api/bazel/repositories.bzl +++ b/api/bazel/repositories.bzl @@ -3,7 +3,7 @@ GOGOPROTO_SHA = "1adfc126b41513cc696b209667c8656ea7aac67c" # v1.0.0 PROMETHEUS_SHA = "99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c" # Nov 17, 2017 OPENCENSUS_SHA = "ab82e5fdec8267dc2a726544b10af97675970847" # May 23, 2018 -PGV_GIT_SHA = "f9d2b11e44149635b23a002693b76512b01ae515" +PGV_GIT_SHA = "e60e7f91da46a87d9067679064571c6954343c3c" # July 31, 2018 load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl index 3aec4b960326..6f7cf96b93ab 100644 --- a/bazel/repository_locations.bzl +++ b/bazel/repository_locations.bzl @@ -119,7 +119,7 @@ REPOSITORY_LOCATIONS = dict( remote = "https://github.com/grpc-ecosystem/grpc-httpjson-transcoding", ), io_bazel_rules_go = dict( - commit = "e60e7f91da46a87d9067679064571c6954343c3c", # 2018-07-31 + commit = "0.13.0", remote = "https://github.com/bazelbuild/rules_go", ), six_archive = dict( From 2431edad1e5cc7e1e19807cb9b3d84e5a66f3e18 Mon Sep 17 00:00:00 2001 From: Zane Silver Date: Tue, 31 Jul 2018 11:14:28 -0700 Subject: [PATCH 4/4] remove deprecated go_proto_repositories --- WORKSPACE | 2 -- ci/WORKSPACE | 2 -- ci/WORKSPACE.filter.example | 2 -- 3 files changed, 6 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 5545e2ac4fed..ebdb050a79cf 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -10,7 +10,5 @@ load("@envoy_api//bazel:repositories.bzl", "api_dependencies") api_dependencies() load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains") -load("@com_lyft_protoc_gen_validate//bazel:go_proto_library.bzl", "go_proto_repositories") -go_proto_repositories(shared=0) go_rules_dependencies() go_register_toolchains() diff --git a/ci/WORKSPACE b/ci/WORKSPACE index c7f6e59e8e1c..10d08d789b4a 100644 --- a/ci/WORKSPACE +++ b/ci/WORKSPACE @@ -19,8 +19,6 @@ load("@envoy_api//bazel:repositories.bzl", "api_dependencies") api_dependencies() load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains") -load("@com_lyft_protoc_gen_validate//bazel:go_proto_library.bzl", "go_proto_repositories") -go_proto_repositories(shared=0) go_rules_dependencies() go_register_toolchains() load("@io_bazel_rules_go//proto:def.bzl", "proto_register_toolchains") diff --git a/ci/WORKSPACE.filter.example b/ci/WORKSPACE.filter.example index f423bea64bb0..d99d94a8f190 100644 --- a/ci/WORKSPACE.filter.example +++ b/ci/WORKSPACE.filter.example @@ -18,8 +18,6 @@ load("@envoy_api//bazel:repositories.bzl", "api_dependencies") api_dependencies() load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains") -load("@com_lyft_protoc_gen_validate//bazel:go_proto_library.bzl", "go_proto_repositories") -go_proto_repositories(shared=0) go_rules_dependencies() go_register_toolchains() load("@io_bazel_rules_go//proto:def.bzl", "proto_register_toolchains")