Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit b0edead

Browse files
authored
Update Envoy to 25db910b0f12ec22ddad82f5f1ea49efe3df635a (#2037)
* Update Envoy to 25db910b0f12ec22ddad82f5f1ea49efe3df635a Signed-off-by: Otto van der Schaaf <[email protected]> * Amendments for deprecated RunningOnValgrind() Signed-off-by: Otto van der Schaaf <[email protected]>
1 parent 34facab commit b0edead

File tree

4 files changed

+22
-9
lines changed

4 files changed

+22
-9
lines changed

.bazelrc

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ build:rbe-toolchain-msvc-cl --platforms=@rbe_windows_msvc_cl//config:platform
193193
build:rbe-toolchain-msvc-cl --crosstool_top=@rbe_windows_msvc_cl//cc:toolchain
194194
build:rbe-toolchain-msvc-cl --extra_toolchains=@rbe_windows_msvc_cl//config:cc-toolchain
195195

196+
build:rbe-toolchain-clang-cl --host_platform=@rbe_windows_clang_cl//config:platform
197+
build:rbe-toolchain-clang-cl --platforms=@rbe_windows_clang_cl//config:platform
198+
build:rbe-toolchain-clang-cl --crosstool_top=@rbe_windows_clang_cl//cc:toolchain
199+
build:rbe-toolchain-clang-cl --extra_toolchains=@rbe_windows_clang_cl//config:cc-toolchain
200+
196201
build:remote --spawn_strategy=remote,sandboxed,local
197202
build:remote --strategy=Javac=remote,sandboxed,local
198203
build:remote --strategy=Closure=remote,sandboxed,local
@@ -224,11 +229,16 @@ build:remote-msan --config=rbe-toolchain-clang-libc++
224229
build:remote-msan --config=rbe-toolchain-msan
225230

226231
build:remote-msvc-cl --config=remote-windows
232+
build:remote-msvc-cl --config=msvc-cl
227233
build:remote-msvc-cl --config=rbe-toolchain-msvc-cl
228234

235+
build:remote-clang-cl --config=remote-windows
236+
build:remote-clang-cl --config=clang-cl
237+
build:remote-clang-cl --config=rbe-toolchain-clang-cl
238+
229239
# Docker sandbox
230240
# NOTE: Update this from https://github.com/envoyproxy/envoy-build-tools/blob/master/toolchains/rbe_toolchains_config.bzl#L8
231-
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:923df85a4ba7f30dcd0cb6b0c6d8d604f0e20f48
241+
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:e7ea4e81bbd5028abb9d3a2f2c0afe063d9b62c0
232242
build:docker-sandbox --spawn_strategy=docker
233243
build:docker-sandbox --strategy=Javac=docker
234244
build:docker-sandbox --strategy=Closure=docker
@@ -321,6 +331,7 @@ build:windows --dynamic_mode=off
321331

322332
try-import %workspace%/clang.bazelrc
323333
try-import %workspace%/user.bazelrc
334+
try-import %workspace%/local_tsan.bazelrc
324335

325336
###### modifications for pagespeed
326337
build --linkopt -ldl

bazel/repositories.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ load(":aprutil.bzl", "aprutil_build_rule")
1313
load(":serf.bzl", "serf_build_rule")
1414
load(":closure_compiler.bzl", "closure_library_rules")
1515

16-
ENVOY_COMMIT = "3147d91a40d6aca684cfb4fd159c8876995502d1" # August 20th, 2020
17-
ENVOY_SHA = "fce665401000734d20f35d895e46097db37fff427a2d882759bdeeece1857c88"
16+
ENVOY_COMMIT = "25db910b0f12ec22ddad82f5f1ea49efe3df635a" # September 9th, 2020
17+
ENVOY_SHA = "cf26c7ed8b170e4f45ca57b11d21d2c339a3584488d273d0c0a62baaf6265cd5"
1818
BROTLI_COMMIT = "d6d98957ca8ccb1ef45922e978bb10efca0ea541"
1919
BROTLI_SHA = "ba8be5d701b369f86d14f3701c81d6bf6c6c34015c183ff98352c12ea5f5226b"
2020
HIREDIS_COMMIT = "0.14.1" # July 24th, 2020

extensions_build_config.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ EXTENSIONS = {
66
"envoy.transport_sockets.raw_buffer": "//source/extensions/transport_sockets/raw_buffer:config",
77
}
88

9-
# This can be used to extend the visibility rules for Envoy extensions
10-
# (//:extension_config and //:extension_library in //BUILD)
11-
# if downstream Envoy builds need to directly reference envoy extensions.
12-
ADDITIONAL_VISIBILITY = []
9+
# These can be changed to ["//visibility:public"], for downstream builds which
10+
# need to directly reference Envoy extensions.
11+
EXTENSION_CONFIG_VISIBILITY = ["//visibility:public"]
12+
EXTENSION_PACKAGE_VISIBILITY = ["//visibility:public"]

pagespeed/envoy/envoy_url_async_fetcher_test.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace {
5757
const char kFetchHost[] = "selfsigned.modpagespeed.com";
5858

5959
// const int kThreadedPollMs = 200;
60-
const int kFetcherTimeoutMs = 5 * 1000;
60+
// const int kFetcherTimeoutMs = 5 * 1000;
6161
const int kFetcherTimeoutValgrindMs = 20 * 1000;
6262

6363
// const int kModpagespeedSite = 0; // TODO(matterbury): These should be an
@@ -124,7 +124,9 @@ class EnvoyUrlAsyncFetcherTest : public ::testing::Test {
124124
void SetUp() override { SetUpWithProxy(""); }
125125

126126
static int64 FetcherTimeoutMs() {
127-
return RunningOnValgrind() ? kFetcherTimeoutValgrindMs : kFetcherTimeoutMs;
127+
return kFetcherTimeoutValgrindMs;
128+
// TODO(oschaaf): figure out substitute for deprecated absl::RunningOnValgrind()
129+
// return RunningOnValgrind() ? kFetcherTimeoutValgrindMs : kFetcherTimeoutMs;
128130
}
129131

130132
void SetUpWithProxy(const char* proxy) {

0 commit comments

Comments
 (0)