Skip to content

Commit

Permalink
auto-merge envoyproxy/envoy[main] into envoyproxy/envoy-openssl[main]
Browse files Browse the repository at this point in the history
* upstream/main:
  Adding new code owner for ext_proc filter (#36307)
  bazel/ci: Mark builds with Engflow pool requirements (#36300)
  bazel/ci: Use workspace rather than action envs for fake scm revision (#36298)
  arm/ci: Fix RBE authentication issue (#36304)
  test: disabling flake (#36287)
  • Loading branch information
sync-envoy[bot] committed Sep 24, 2024
2 parents 66c6255 + eeea435 commit 251dffc
Show file tree
Hide file tree
Showing 367 changed files with 1,380 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,10 @@ steps:
# Any PR or CI run in envoy-presubmit uses the fake SCM hash
if [[ "${{ variables['Build.Reason'] }}" == "PullRequest" || "${{ variables['Build.DefinitionName'] }}" == 'envoy-presubmit' ]]; then
# sha1sum of `ENVOY_PULL_REQUEST`
BAZEL_FAKE_SCM_REVISION=e3b4a6e9570da15ac1caffdded17a8bebdc7dfc9
echo "e3b4a6e9570da15ac1caffdded17a8bebdc7dfc9" > .BAZEL_FAKE_SCM_REVISION
fi
echo "##vso[task.setvariable variable=BAZEL_BUILD_EXTRA_OPTIONS]${BAZEL_BUILD_EXTRA_OPTIONS}"
echo "##vso[task.setvariable variable=BAZEL_EXTRA_TEST_OPTIONS]${BAZEL_EXTRA_TEST_OPTIONS}"
echo "##vso[task.setvariable variable=BAZEL_FAKE_SCM_REVISION]${BAZEL_FAKE_SCM_REVISION}"
echo "##vso[task.setvariable variable=BAZEL_STARTUP_EXTRA_OPTIONS]${{ parameters.bazelStartupExtraOptions }}"
echo "##vso[task.setvariable variable=CI_TARGET_BRANCH]${CI_TARGET_BRANCH}"
echo "##vso[task.setvariable variable=ENVOY_DOCKER_BUILD_DIR]$(Build.StagingDirectory)"
Expand Down
3 changes: 0 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ build:windows --action_env=PATH --host_action_env=PATH
# Requires setting `BAZEL_VOLATILE_DIRTY` in the env.
build --action_env=BAZEL_VOLATILE_DIRTY --host_action_env=BAZEL_VOLATILE_DIRTY

# Prevent stamped caches from busting (eg in PRs)
# Requires setting `BAZEL_FAKE_SCM_REVISION` in the env.
build --action_env=BAZEL_FAKE_SCM_REVISION --host_action_env=BAZEL_FAKE_SCM_REVISION
build --test_summary=terse

build:docs-ci --action_env=DOCS_RST_CHECK=1 --host_action_env=DOCS_RST_CHECK=1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/_publish_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
arch: arm64
bazel-extra: >-
--config=cache-envoy-engflow
--config=common-envoy-engflow
--config=bes-envoy-engflow
rbe: false
runs-on: envoy-arm64-medium
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,11 @@ jobs:
passphrase-path: "${{ runner.temp }}/gpg-passphrase"
configured-passphrase-path: /build/gpg-passphrase

- run: |
echo "e3b4a6e9570da15ac1caffdded17a8bebdc7dfc9" > .BAZEL_FAKE_SCM_REVISION
if: >-
${{ fromJSON(inputs.request).request.pr == '' }}
- uses: envoyproxy/toolshed/gh-actions/github/run@actions-v0.2.35
name: Run CI ${{ inputs.command }} ${{ inputs.target }}
with:
Expand Down Expand Up @@ -290,7 +295,6 @@ jobs:
--config=remote-ci
${{ inputs.bazel-extra }}
${{ inputs.rbe == true && format('--jobs={0}', inputs.bazel-rbe-jobs) || '' }}
BAZEL_FAKE_SCM_REVISION: ${{ github.event_name == 'pull_request' && 'e3b4a6e9570da15ac1caffdded17a8bebdc7dfc9' || '' }}
CI_BRANCH: >-
${{ inputs.trusted
&& format('refs/heads/{0}', fromJSON(inputs.request).request.target-branch)
Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extensions/filters/common/original_src @klarose @mattklein123
# cdn_loop extension
/*/extensions/filters/http/cdn_loop @justin-mp @penguingao @alyssawilk
# external processing filter
/*/extensions/filters/http/ext_proc @gbrail @stevenzzzz @tyxia @mattklein123 @yanavlasov
/*/extensions/filters/http/ext_proc @gbrail @stevenzzzz @tyxia @mattklein123 @yanavlasov @yanjunxiang-google
/*/extensions/filters/common/mutation_rules @gbrail @tyxia @mattklein123 @yanavlasov
# jwt_authn http filter extension
/*/extensions/filters/http/jwt_authn @taoxuy @lizan @tyxia @yanavlasov
Expand Down
3 changes: 2 additions & 1 deletion bazel/get_workspace_status
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ then
exit 0
fi

if [[ -n "$BAZEL_FAKE_SCM_REVISION" ]]; then
if [[ -e ".BAZEL_FAKE_SCM_REVISION" ]]; then
BAZEL_FAKE_SCM_REVISION="$(cat .BAZEL_FAKE_SCM_REVISION)"
echo "BUILD_SCM_REVISION $BAZEL_FAKE_SCM_REVISION"
echo "ENVOY_BUILD_SCM_REVISION $BAZEL_FAKE_SCM_REVISION"
echo "STABLE_BUILD_SCM_REVISION $BAZEL_FAKE_SCM_REVISION"
Expand Down
1 change: 0 additions & 1 deletion ci/run_envoy_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ docker run --rm \
-e BAZEL_STARTUP_OPTIONS \
-e BAZEL_BUILD_EXTRA_OPTIONS \
-e BAZEL_EXTRA_TEST_OPTIONS \
-e BAZEL_FAKE_SCM_REVISION \
-e BAZEL_REMOTE_CACHE \
-e BAZEL_STARTUP_EXTRA_OPTIONS \
-e CI_BRANCH \
Expand Down
2 changes: 2 additions & 0 deletions contrib/checksum/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "checksum_filter_test",
srcs = ["checksum_filter_test.cc"],
rbe_pool = "2core",
deps = [
"//contrib/checksum/filters/http/source:checksum_filter_lib",
"//source/common/buffer:buffer_lib",
Expand All @@ -25,6 +26,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
deps = [
"//contrib/checksum/filters/http/source:config",
"//test/mocks/server:factory_context_mocks",
Expand Down
2 changes: 2 additions & 0 deletions contrib/client_ssl_auth/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ envoy_cc_test(
name = "client_ssl_auth_test",
srcs = ["client_ssl_auth_test.cc"],
data = glob(["test_data/**"]),
rbe_pool = "2core",
deps = [
"//contrib/client_ssl_auth/filters/network/source:client_ssl_auth",
"//test/mocks/network:network_mocks",
Expand All @@ -28,6 +29,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
deps = [
"//contrib/client_ssl_auth/filters/network/source:config",
"//source/common/protobuf:utility_lib",
Expand Down
1 change: 1 addition & 0 deletions contrib/config/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ envoy_cc_test(
data = [
"//test/config/integration/certs",
],
rbe_pool = "2core",
deps = [
":invalid_proto_kv_store_config_proto_cc_proto",
"//contrib/config/source:kv_store_xds_delegate",
Expand Down
1 change: 1 addition & 0 deletions contrib/cryptomb/private_key_providers/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ envoy_cc_test(
data = [
"//contrib/cryptomb/private_key_providers/test/test_data:certs",
],
rbe_pool = "2core",
deps = [
":test_fake_factory",
"//source/common/common:random_generator_lib",
Expand Down
1 change: 1 addition & 0 deletions contrib/dlb/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ envoy_cc_test(
"//bazel:linux_x86_64": ["config_test.cc"],
"//conditions:default": [],
}),
rbe_pool = "2core",
deps = [
"//contrib/dlb/source:connection_balancer",
"//source/common/protobuf:utility_lib",
Expand Down
1 change: 1 addition & 0 deletions contrib/dynamo/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
deps = [
"//contrib/dynamo/filters/http/source:config",
"//test/mocks/server:factory_context_mocks",
Expand Down
2 changes: 2 additions & 0 deletions contrib/exe/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ SELECTED_CONTRIB_EXTENSIONS = select({

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

0 comments on commit 251dffc

Please sign in to comment.