diff --git a/.bazelrc b/.bazelrc index 2320b948..a2cf7ebf 100644 --- a/.bazelrc +++ b/.bazelrc @@ -70,6 +70,7 @@ common --experimental_allow_tags_propagation # Enable position independent code (this is the default on macOS and Windows) # (Workaround for https://github.com/bazelbuild/rules_foreign_cc/issues/421) +build:linux --copt=-fdebug-types-section build:linux --copt=-fPIC build:linux --copt=-Wno-deprecated-declarations build:linux --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 @@ -312,6 +313,7 @@ build:remote-windows --spawn_strategy=remote,local build:remote-windows --strategy=Javac=remote,local build:remote-windows --strategy=Closure=remote,local build:remote-windows --strategy=Genrule=remote,local +build:remote-windows --strategy=CppLink=local build:remote-windows --remote_timeout=7200 build:remote-windows --google_default_credentials=true build:remote-windows --remote_download_toplevel @@ -366,8 +368,7 @@ build:compile-time-options --@envoy//source/extensions/filters/http/kill_request # Docker sandbox # NOTE: Update this from https://github.com/envoyproxy/envoy-build-tools/blob/main/toolchains/rbe_toolchains_config.bzl#L8 -# TODO(#1032): Change to the latest. Don't update the hash until the bug is fixed. # unique -build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:94e5d873c145ae86f205117e76276161c9af4806@sha256:8d3763e19d5b71fdc95666d75073ce4581e566ce28ca09106607b6a3ef7ba902 +build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:7467652575122d8d54e767a68f141598bd855383@sha256:8781bc7e431b754c142edbfc937905fdf343db91f3fe19bbf54c362828db9849 build:docker-sandbox --spawn_strategy=docker build:docker-sandbox --strategy=Javac=docker build:docker-sandbox --strategy=Closure=docker @@ -453,7 +454,7 @@ build:windows --define hot_restart=disabled build:windows --define tcmalloc=disabled build:windows --define wasm=disabled build:windows --define manual_stamp=manual_stamp -build:windows --cxxopt="/std:c++17" +build:windows --cxxopt="/std:c++20" build:windows --output_groups=+pdb_file # TODO(wrowe,sunjayBhatia): Resolve bugs upstream in curl and rules_foreign_cc @@ -496,11 +497,12 @@ build:windows --features=static_link_msvcrt build:windows --dynamic_mode=off # RBE (Google) -build:rbe-google --google_default_credentials=true -build:rbe-google --remote_cache=grpcs://remotebuildexecution.googleapis.com +build:cache-google --google_default_credentials=true +build:cache-google --remote_cache=grpcs://remotebuildexecution.googleapis.com +build:cache-google --remote_instance_name=projects/envoy-ci/instances/default_instance +build:cache-google --remote_timeout=7200 build:rbe-google --remote_executor=grpcs://remotebuildexecution.googleapis.com -build:rbe-google --remote_timeout=7200 -build:rbe-google --remote_instance_name=projects/envoy-ci/instances/default_instance +build:rbe-google --config=cache-google build:rbe-google-bes --bes_backend=grpcs://buildeventservice.googleapis.com build:rbe-google-bes --bes_results_url=https://source.cloud.google.com/results/invocations/ @@ -527,8 +529,7 @@ build:rbe-envoy-engflow --grpc_keepalive_time=30s build:rbe-envoy-engflow --remote_timeout=3600s build:rbe-envoy-engflow --bes_timeout=3600s build:rbe-envoy-engflow --bes_upload_mode=fully_async -# TODO(#1032): Change to the latest. Don't update the hash until the bug is fixed. # unique -build:rbe-envoy-engflow --remote_default_exec_properties=container-image=docker://docker.io/envoyproxy/envoy-build-ubuntu:94e5d873c145ae86f205117e76276161c9af4806@sha256:8d3763e19d5b71fdc95666d75073ce4581e566ce28ca09106607b6a3ef7ba902 +build:rbe-envoy-engflow --remote_default_exec_properties=container-image=docker://docker.io/envoyproxy/envoy-build-ubuntu:7467652575122d8d54e767a68f141598bd855383@sha256:8781bc7e431b754c142edbfc937905fdf343db91f3fe19bbf54c362828db9849 ############################################################################# # debug: Various Bazel debugging flags diff --git a/ci/run_envoy_docker.sh b/ci/run_envoy_docker.sh index b0d49019..d48316f2 100755 --- a/ci/run_envoy_docker.sh +++ b/ci/run_envoy_docker.sh @@ -59,7 +59,7 @@ else && usermod -a -G pcap envoybuild \ && chown envoybuild:envoygroup ${BUILD_DIR_MOUNT_DEST} `# Salvo unique` \ && chown envoybuild /proc/self/fd/2 \ - && apt-get update && apt -y install libcairo2-dev `# Salvo unique` \ + && apt-get update && apt -y install libcairo2-dev python3-virtualenv `# Salvo unique` \ && sudo -EHs -u envoybuild bash -c 'cd ${SOURCE_DIR_MOUNT_DEST} && $*'") # Salvo unique fi @@ -127,6 +127,7 @@ docker run --rm \ -e CI_TARGET_BRANCH \ -e DOCKERHUB_USERNAME \ -e DOCKERHUB_PASSWORD \ + -e ENVOY_DOCKER_SAVE_IMAGE \ -e ENVOY_STDLIB \ -e BUILD_REASON \ -e BAZEL_REMOTE_INSTANCE \ diff --git a/salvo/requirements.txt b/salvo/requirements.txt index 640290c9..951ba689 100644 --- a/salvo/requirements.txt +++ b/salvo/requirements.txt @@ -22,7 +22,6 @@ py>=1.10.0 pybind11>=2.6.1 pytest>=3.3.2 python-dateutil>=2.8.1 -pytype>=2020.11.12 pytype>=2022.11.29 requests>=2.25.0 s3transfer>=0.3.3