Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into tls-reduce-memory
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreenway committed Oct 22, 2024
2 parents 6fe5c86 + 5e94ec7 commit 2532064
Show file tree
Hide file tree
Showing 375 changed files with 1,696 additions and 1,488 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/_check_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
cache-build-image: ${{ fromJSON(inputs.request).request.build-image.default }}
concurrency-suffix: -${{ matrix.target }}
diskspace-hack: ${{ matrix.diskspace-hack || false }}
diskspace-hack-paths: ${{ matrix.diskspace-hack-paths || '' }}
error-match: |
ERROR
error:
Expand All @@ -58,5 +59,8 @@ jobs:
- target: coverage
name: Coverage
diskspace-hack: true
diskspace-hack-paths: |
/opt/hostedtoolcache
/usr/local
- target: fuzz_coverage
name: Fuzz coverage
2 changes: 1 addition & 1 deletion .github/workflows/envoy-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
steps-pre: ${{ matrix.steps-pre }}
target: ${{ matrix.target }}
target-name: ${{ matrix.target-name }}
timeout-minutes: 90
timeout-minutes: 120
trusted: ${{ fromJSON(needs.load.outputs.trusted) }}
strategy:
fail-fast: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "envoy/config/core/v3/resolver.proto";
import "google/protobuf/wrappers.proto";

import "udpa/annotations/status.proto";
import "validate/validate.proto";

option java_package = "io.envoyproxy.envoy.extensions.network.dns_resolver.cares.v3";
option java_outer_classname = "CaresDnsResolverProto";
Expand All @@ -26,7 +25,7 @@ message CaresDnsResolverConfig {
// :ref:`use_resolvers_as_fallback<envoy_v3_api_field_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig.use_resolvers_as_fallback>`
// below dictates if the DNS client should override system defaults or only use the provided
// resolvers if the system defaults are not available, i.e., as a fallback.
repeated config.core.v3.Address resolvers = 1 [(validate.rules).repeated = {min_items: 1}];
repeated config.core.v3.Address resolvers = 1;

// If true use the resolvers listed in the
// :ref:`resolvers<envoy_v3_api_field_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig.resolvers>`
Expand Down
3 changes: 3 additions & 0 deletions changelogs/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ removed_config_or_runtime:
- area: http
change: |
Removed runtime flag ``envoy.reloadable_features.http_route_connect_proxy_by_default`` and legacy code paths.
- area: dns
change: |
Removed runtime flag ``envoy.reloadable_features.dns_reresolve_on_eai_again`` and legacy code paths.
- area: upstream
change: |
Removed runtime flag ``envoy.restart_features.allow_client_socket_creation_failure`` and legacy code paths.
Expand Down
4 changes: 2 additions & 2 deletions contrib/checksum/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "checksum_filter_test",
srcs = ["checksum_filter_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/checksum/filters/http/source:checksum_filter_lib",
"//source/common/buffer:buffer_lib",
Expand All @@ -26,7 +26,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/checksum/filters/http/source:config",
"//test/mocks/server:factory_context_mocks",
Expand Down
4 changes: 2 additions & 2 deletions contrib/client_ssl_auth/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envoy_cc_test(
name = "client_ssl_auth_test",
srcs = ["client_ssl_auth_test.cc"],
data = glob(["test_data/**"]),
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/client_ssl_auth/filters/network/source:client_ssl_auth",
"//test/mocks/network:network_mocks",
Expand All @@ -29,7 +29,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/client_ssl_auth/filters/network/source:config",
"//source/common/protobuf:utility_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/config/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ envoy_cc_test(
data = [
"//test/config/integration/certs",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":invalid_proto_kv_store_config_proto_cc_proto",
"//contrib/config/source:kv_store_xds_delegate",
Expand Down
2 changes: 1 addition & 1 deletion contrib/cryptomb/private_key_providers/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ envoy_cc_test(
data = [
"//contrib/cryptomb/private_key_providers/test/test_data:certs",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":test_fake_factory",
"//source/common/common:random_generator_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/dlb/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ envoy_cc_test(
"//bazel:linux_x86_64": ["config_test.cc"],
"//conditions:default": [],
}),
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/dlb/source:connection_balancer",
"//source/common/protobuf:utility_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/dynamo/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/dynamo/filters/http/source:config",
"//test/mocks/server:factory_context_mocks",
Expand Down
4 changes: 2 additions & 2 deletions contrib/exe/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SELECTED_CONTRIB_EXTENSIONS = select({

envoy_cc_binary(
name = "envoy-static",
rbe_pool = "2core",
rbe_pool = "6gig",
stamped = True,
visibility = ["//visibility:public"],
deps = ["//source/exe:envoy_main_entry_lib"] + SELECTED_CONTRIB_EXTENSIONS,
Expand All @@ -48,7 +48,7 @@ envoy_cc_test(
"DISABLE_TEST_MERGE": "true",
"GODEBUG": "cgocheck=0",
},
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//test/config_test:example_configs_test_lib",
] + SELECTED_CONTRIB_EXTENSIONS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ envoy_cc_test(
srcs = [
"config_test.cc",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/generic_proxy/filters/network/source/codecs/kafka:config",
"//test/extensions/filters/network/generic_proxy/mocks:codec_mocks",
Expand Down
10 changes: 5 additions & 5 deletions contrib/golang/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ envoy_cc_test(
data = [
"//contrib/golang/filters/http/test/test_data/passthrough:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/filters/http/source:config",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -31,7 +31,7 @@ envoy_cc_test(
"//contrib/golang/filters/http/test/test_data/passthrough:filter.so",
"//contrib/golang/filters/http/test/test_data/routeconfig:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/filters/http/source:golang_filter_lib",
"//source/common/stream_info:stream_info_lib",
Expand Down Expand Up @@ -62,7 +62,7 @@ envoy_cc_test(
"//contrib/golang/filters/http/test/test_data/property:filter.so",
"//contrib/golang/filters/http/test/test_data/routeconfig:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/filters/http/source:config",
"//source/exe:main_common_lib",
Expand All @@ -88,7 +88,7 @@ envoy_cc_fuzz_test(
name = "golang_filter_fuzz_test",
srcs = ["golang_filter_fuzz_test.cc"],
corpus = "golang_filter_corpus",
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":golang_filter_fuzz_proto_cc_proto",
"//contrib/golang/common/dso/test:dso_mocks",
Expand All @@ -110,7 +110,7 @@ envoy_cc_test(
data = [
"//contrib/golang/filters/http/test/test_data/websocket:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
tags = [
"cpu:3",
],
Expand Down
6 changes: 3 additions & 3 deletions contrib/golang/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ envoy_cc_test(
data = [
"//contrib/golang/filters/network/test/test_data:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/filters/network/source:config",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -26,7 +26,7 @@ envoy_cc_test(
envoy_cc_test(
name = "filter_test",
srcs = ["filter_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/common/dso/test:dso_mocks",
"//contrib/golang/filters/network/source:golang",
Expand All @@ -45,7 +45,7 @@ envoy_cc_test(
envoy_cc_test(
name = "upstream_test",
srcs = ["upstream_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/common/dso/test:dso_mocks",
"//contrib/golang/filters/network/source:upstream",
Expand Down
2 changes: 1 addition & 1 deletion contrib/golang/router/cluster_specifier/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ envoy_cc_test(
"//contrib/golang/router/cluster_specifier/test/test_data/simple:plugin.so",
],
env = {"GODEBUG": "cgocheck=0"},
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/router/cluster_specifier/source:config",
"//source/exe:main_common_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/hyperscan/matching/input_matchers/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/hyperscan/matching/input_matchers/source:config",
"//test/mocks/server:factory_context_mocks",
Expand Down
4 changes: 2 additions & 2 deletions contrib/hyperscan/regex_engines/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/hyperscan/regex_engines/source:config",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -32,7 +32,7 @@ envoy_cc_test(
envoy_cc_test(
name = "integration_test",
srcs = ["integration_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/hyperscan/regex_engines/source:config",
"//test/integration:integration_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/kafka/filters/network/source/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ envoy_cc_library(
"external/responses.h",
"kafka_response_parser.h",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":kafka_response_lib",
":parser_lib",
Expand Down
4 changes: 2 additions & 2 deletions contrib/kafka/filters/network/test/broker/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "config_unit_test",
srcs = ["config_unit_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/kafka/filters/network/source/broker:config_lib",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -22,7 +22,7 @@ envoy_cc_test(
envoy_cc_test(
name = "filter_unit_test",
srcs = ["filter_unit_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/kafka/filters/network/source/broker:filter_lib",
"//envoy/event:timer_interface",
Expand Down
4 changes: 2 additions & 2 deletions contrib/kafka/filters/network/test/mesh/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "config_unit_test",
srcs = ["config_unit_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
tags = ["skip_on_windows"],
deps = [
"//contrib/kafka/filters/network/source/mesh:config_lib",
Expand All @@ -24,7 +24,7 @@ envoy_cc_test(
envoy_cc_test(
name = "filter_unit_test",
srcs = ["filter_unit_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
tags = ["skip_on_windows"],
deps = [
"//contrib/kafka/filters/network/source/mesh:filter_lib",
Expand Down
4 changes: 2 additions & 2 deletions contrib/language/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "language_config_test",
srcs = ["language_config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/language/filters/http/source:config_lib",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -23,7 +23,7 @@ envoy_cc_test(
envoy_cc_test(
name = "language_integration_test",
srcs = ["language_integration_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/language/filters/http/source:config_lib",
"//test/integration:http_protocol_integration_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/mysql_proxy/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ envoy_cc_test(
data = [
"mysql_test_config.yaml",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":mysql_test_utils_lib",
"//contrib/mysql_proxy/filters/network/source:config",
Expand Down
2 changes: 1 addition & 1 deletion contrib/postgres_proxy/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ envoy_cc_test(
"postgres_test_config.yaml-template",
"//test/config/integration/certs",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":postgres_integration_proto_cc_proto",
":postgres_test_utils_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/qat/compression/qatzip/compressor/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ envoy_cc_test(
"//bazel:linux_x86_64": ["qatzip_compressor_impl_test.cc"],
"//conditions:default": [],
}),
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/qat/compression/qatzip/compressor/source:config",
"//source/extensions/compression/gzip/decompressor:zlib_decompressor_impl_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/qat/compression/qatzstd/compressor/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "compressor_test",
srcs = ["qatzstd_compressor_impl_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/qat/compression/qatzstd/compressor/source:config",
"//source/extensions/compression/zstd/decompressor:decompressor_lib",
Expand Down
4 changes: 2 additions & 2 deletions contrib/qat/private_key_providers/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ envoy_cc_test(
data = [
"//contrib/qat/private_key_providers/test/test_data:certs",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":test_fake_factory",
"//source/common/common:random_generator_lib",
Expand All @@ -71,7 +71,7 @@ envoy_cc_test(
data = [
"//contrib/qat/private_key_providers/test/test_data:certs",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":test_fake_factory",
"//source/common/tls/private_key:private_key_manager_lib",
Expand Down
Loading

0 comments on commit 2532064

Please sign in to comment.