New Upstream Release - grpc-proto

Ready changes

Summary

Merged new upstream version: 0.0~git20230515.a0e6d67 (was: 0.0~git20230110.6956c0e).

Resulting package

Built on 2023-06-01T13:02 (took 4m41s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases grpc-proto

Lintian Result

Diff

diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml
index 0b4b07b..7a37b28 100644
--- a/.github/workflows/testing.yml
+++ b/.github/workflows/testing.yml
@@ -7,6 +7,9 @@ on:
   push:
   pull_request:
 
+permissions:
+  contents: read
+
 # A workflow run is made up of one or more jobs that can run sequentially or in parallel
 jobs:
   # This workflow contains a single job called "build"
diff --git a/WORKSPACE b/WORKSPACE
index 0a123e8..7afb0d7 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -47,35 +47,3 @@ load("@com_google_googleapis//:repository_rules.bzl", "switched_rules_by_languag
 switched_rules_by_language(
     name = "com_google_googleapis_imports",
 )
-
-http_archive(
-    name = "io_bazel_rules_go",
-    sha256 = "a82a352bffae6bee4e95f68a8d80a70e87f42c4741e6a448bec11998fcc82329",
-    urls = ["https://github.com/bazelbuild/rules_go/releases/download/0.18.5/rules_go-0.18.5.tar.gz"],
-)
-
-load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
-
-go_rules_dependencies()
-
-http_archive(
-    name = "com_github_grpc_grpc",
-    sha256 = "ba74b97a2f1b4e22ec5fb69d639d849d2069fb58ea7d6579a31f800af6fe3b6c",
-    strip_prefix = "grpc-1.30.2",
-    urls = ["https://github.com/grpc/grpc/archive/v1.30.2.tar.gz"],
-)
-
-http_archive(
-    name = "envoy",
-    sha256 = "38bd41e5229532abbeccba7b87d80c8664e915ec6f780a60a6b7ef1818458b5a",
-    strip_prefix = "envoy-1.15.0",
-    urls = ["https://github.com/envoyproxy/envoy/archive/v1.15.0.tar.gz"],
-)
-
-load("@envoy//bazel:api_binding.bzl", "envoy_api_binding")
-
-envoy_api_binding()
-
-load("@envoy//bazel:api_repositories.bzl", "envoy_api_dependencies")
-
-envoy_api_dependencies()
diff --git a/debian/changelog b/debian/changelog
index 99fff7e..f2978a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+grpc-proto (0.0~git20230515.a0e6d67-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Thu, 01 Jun 2023 12:58:39 -0000
+
 grpc-proto (0.0~git20230110.6956c0e-1) unstable; urgency=medium
 
   * QA upload.
diff --git a/grpc/service_config/service_config.proto b/grpc/service_config/service_config.proto
index abfd04a..e68dda2 100644
--- a/grpc/service_config/service_config.proto
+++ b/grpc/service_config/service_config.proto
@@ -191,7 +191,12 @@ message MethodConfig {
 }
 
 // Configuration for pick_first LB policy.
-message PickFirstConfig {}
+message PickFirstConfig {
+  // If set to true, instructs the LB policy to randomly shuffle the list of
+  // addresses received from the name resolver before attempting to connect to
+  // them.
+  bool shuffle_address_list = 1;
+}
 
 // Configuration for round_robin LB policy.
 message RoundRobinConfig {}
@@ -222,8 +227,14 @@ message WeightedRoundRobinLbConfig {
   // blackout_period applies.  Defaults to 3 minutes.
   google.protobuf.Duration weight_expiration_period = 4;
 
-  // How often endpoint weights are recalculated.  Default is 1 second.
+  // How often endpoint weights are recalculated. Values less than 100ms are
+  // capped at 100ms. Default is 1 second.
   google.protobuf.Duration weight_update_period = 5;
+
+  // The multiplier used to adjust endpoint weights with the error rate
+  // calculated as eps/qps. Configuration is rejected if this value is negative.
+  // Default is 1.0.
+  google.protobuf.FloatValue error_utilization_penalty = 6;
 }
 
 // Configuration for outlier_detection LB policy
diff --git a/grpc/testing/messages.proto b/grpc/testing/messages.proto
index 040fa12..fbcb6b4 100644
--- a/grpc/testing/messages.proto
+++ b/grpc/testing/messages.proto
@@ -103,9 +103,6 @@ message SimpleRequest {
 
   // If set the server should record this metrics report data for the current RPC.
   TestOrcaReport orca_per_query_report = 11;
-
-  // If set the server should update this metrics report data at the OOB server.
-  TestOrcaReport orca_oob_report = 12;
 }
 
 // Unary response, as configured by the request.
diff --git a/grpc/tls/provider/meshca/experimental/BUILD.bazel b/grpc/tls/provider/meshca/experimental/BUILD.bazel
deleted file mode 100644
index f10a5b9..0000000
--- a/grpc/tls/provider/meshca/experimental/BUILD.bazel
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 2020 The gRPC Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-load("@rules_proto//proto:defs.bzl", "proto_library")
-
-package(default_visibility = [
-    "//visibility:private",
-])
-
-proto_library(
-    name = "meshca_config_proto",
-    srcs = ["config.proto"],
-    visibility = ["//visibility:public"],
-    deps = [
-        "@com_google_protobuf//:duration_proto",
-        "@envoy_api//envoy/config/core/v3:pkg",
-    ],
-)
diff --git a/grpc/tls/provider/meshca/experimental/config.proto b/grpc/tls/provider/meshca/experimental/config.proto
deleted file mode 100644
index 2482d59..0000000
--- a/grpc/tls/provider/meshca/experimental/config.proto
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright 2020 The gRPC Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-syntax = "proto3";
-
-// NOTE: This proto will very likely move to a different namespace and a
-// different git repo in the future.
-package grpc.tls.provider.meshca.experimental;
-
-import "envoy/config/core/v3/config_source.proto";
-import "google/protobuf/duration.proto";
-
-option go_package = "google.golang.org/grpc/credentials/tls/certprovider/meshca/internal/meshca_experimental";
-option java_outer_classname = "MeshCaConfigProto";
-option java_multiple_files = true;
-option java_package = "io.grpc.tls.provider.meshca.experimental";
-
-// GoogleMeshCaConfig contains all configuration parameters required by the
-// MeshCA CertificateProvider plugin implementation.
-message GoogleMeshCaConfig {
-  // Type of key to be embedded in CSRs sent to the MeshCA.
-  enum KeyType {
-    KEY_TYPE_UNKNOWN = 0;
-    KEY_TYPE_RSA = 1;
-  }
-
-  // GoogleMeshCA server endpoint to get CSRs signed via the *CreateCertificate*
-  // unary call. This must have :ref:`api_type
-  // <envoy_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
-  // <envoy_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`.
-  // STS based call credentials need to be supplied in :ref:`call_credentials
-  // <envoy_api_field_config.core.v3.GrpcService.GoogleGrpc.call_credentials>`.
-  //
-  // If :ref:`timeout envoy_api_field_config.core.v3.GrpcService.timeout` is
-  // left unspecified, a default value of 10s will be used.
-  envoy.config.core.v3.ApiConfigSource server = 1;
-
-  // Certificate lifetime to request in CSRs sent to the MeshCA.
-  //
-  // A default value of 24h will be used if left unspecified.
-  google.protobuf.Duration certificate_lifetime = 2;
-
-  // How long before certificate expiration should the certificate be renewed.
-  //
-  // A default value of 12h will be used if left unspecified.
-  google.protobuf.Duration renewal_grace_period = 3;
-
-  // Type of key.
-  //
-  // RSA keys will be used if left unspecified.
-  KeyType key_type = 4;
-
-  // Size of the key in bits.
-  //
-  // 2048 bit keys will be used if left unspecified.
-  uint32 key_size = 5;
-
-  // GCE location (region/zone) where the workload is located.
-  //
-  // GCE/GKE Metadata Server will be contacted if left unspecified.
-  string location = 6;
-}
-

Debdiff

[The following lists of changes regard files as different if they have different names, permissions or owners.]

Files in first set of .debs but not in second

-rw-r--r--  root/root   /usr/share/grpc-proto/grpc/tls/provider/meshca/experimental/BUILD.bazel
-rw-r--r--  root/root   /usr/share/grpc-proto/grpc/tls/provider/meshca/experimental/config.proto

No differences were encountered in the control files

More details

Full run details