diff --git a/tools/internal_ci/linux/grpc_asan_on_foundry.sh b/tools/internal_ci/linux/grpc_asan_on_foundry.sh deleted file mode 100755 index 87ec60c7c02..00000000000 --- a/tools/internal_ci/linux/grpc_asan_on_foundry.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -export UPLOAD_TEST_RESULTS=true -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=asan --cache_test_results=no - diff --git a/tools/internal_ci/linux/grpc_bazel_on_foundry_dbg.sh b/tools/internal_ci/linux/grpc_bazel_on_foundry_dbg.sh deleted file mode 100644 index 06b93f3d80f..00000000000 --- a/tools/internal_ci/linux/grpc_bazel_on_foundry_dbg.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -export UPLOAD_TEST_RESULTS=true -EXTRA_FLAGS="--config=dbg --cache_test_results=no" -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}" diff --git a/tools/internal_ci/linux/grpc_bazel_on_foundry_opt.sh b/tools/internal_ci/linux/grpc_bazel_on_foundry_opt.sh deleted file mode 100644 index 66effabf972..00000000000 --- a/tools/internal_ci/linux/grpc_bazel_on_foundry_opt.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -export UPLOAD_TEST_RESULTS=true -EXTRA_FLAGS="--config=opt --cache_test_results=no" -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}" diff --git a/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh b/tools/internal_ci/linux/grpc_bazel_rbe.sh similarity index 85% rename from tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh rename to tools/internal_ci/linux/grpc_bazel_rbe.sh index deaf68f0600..c7c7f3bac8e 100755 --- a/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh +++ b/tools/internal_ci/linux/grpc_bazel_rbe.sh @@ -15,6 +15,9 @@ set -ex +# avoid slow finalization after the script has exited. +source $(dirname $0)/../../../tools/internal_ci/helper_scripts/move_src_tree_and_respawn_itself_rc + # change to grpc repo root cd $(dirname $0)/../../.. @@ -28,5 +31,6 @@ python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path bazel_ bazel_rbe/bazel_wrapper \ --bazelrc=tools/remote_build/linux_kokoro.bazelrc \ test \ + $BAZEL_FLAGS \ "$@" \ -- //test/... diff --git a/tools/internal_ci/linux/grpc_bazel_rbe_asan.cfg b/tools/internal_ci/linux/grpc_bazel_rbe_asan.cfg index 4ed1036bbba..46daecdfeb6 100644 --- a/tools/internal_ci/linux/grpc_bazel_rbe_asan.cfg +++ b/tools/internal_ci/linux/grpc_bazel_rbe_asan.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/grpc_asan_on_foundry.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,14 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--cache_test_results=no --config=asan" +} + +env_vars { + key: "UPLOAD_TEST_RESULTS" + value: "true" +} diff --git a/tools/internal_ci/linux/grpc_bazel_rbe_dbg.cfg b/tools/internal_ci/linux/grpc_bazel_rbe_dbg.cfg index 4af3b7e7672..d1957bfc2b8 100644 --- a/tools/internal_ci/linux/grpc_bazel_rbe_dbg.cfg +++ b/tools/internal_ci/linux/grpc_bazel_rbe_dbg.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_dbg.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,14 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--cache_test_results=no --config=dbg" +} + +env_vars { + key: "UPLOAD_TEST_RESULTS" + value: "true" +} diff --git a/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.cfg b/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.cfg index 172cc158539..322fac2e19b 100644 --- a/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.cfg +++ b/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.cfg @@ -17,6 +17,12 @@ # Location of the continuous shell script in repository. build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" diff --git a/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.sh b/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.sh index 85b82443bcd..3018b26483c 100644 --- a/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.sh +++ b/tools/internal_ci/linux/grpc_bazel_rbe_incompatible_changes.sh @@ -24,5 +24,4 @@ export USE_BAZEL_VERSION=latest # Use bazelisk instead of our usual //tools/bazel wrapper mv bazelisk-linux-amd64 github/grpc/tools/bazel -EXTRA_FLAGS="--config=opt --cache_test_results=no" -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}" +github/grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh --config=opt --cache_test_results=no diff --git a/tools/internal_ci/linux/grpc_bazel_rbe_msan.cfg b/tools/internal_ci/linux/grpc_bazel_rbe_msan.cfg index 88776701cb7..779001100a6 100644 --- a/tools/internal_ci/linux/grpc_bazel_rbe_msan.cfg +++ b/tools/internal_ci/linux/grpc_bazel_rbe_msan.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/grpc_msan_on_foundry.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,15 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--cache_test_results=no --config=msan" +} + +env_vars { + key: "UPLOAD_TEST_RESULTS" + value: "true" +} + diff --git a/tools/internal_ci/linux/grpc_bazel_rbe_opt.cfg b/tools/internal_ci/linux/grpc_bazel_rbe_opt.cfg index 615536cd235..6eedfae282b 100644 --- a/tools/internal_ci/linux/grpc_bazel_rbe_opt.cfg +++ b/tools/internal_ci/linux/grpc_bazel_rbe_opt.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_opt.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -26,4 +32,15 @@ bazel_setting { # set. The rest of configuration from bazel_setting is unused (we configure everything when bazel # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" -} \ No newline at end of file +} + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--cache_test_results=no --config=opt" +} + +env_vars { + key: "UPLOAD_TEST_RESULTS" + value: "true" +} diff --git a/tools/internal_ci/linux/grpc_bazel_rbe_tsan.cfg b/tools/internal_ci/linux/grpc_bazel_rbe_tsan.cfg index 92852ff1b86..3dd98faca99 100644 --- a/tools/internal_ci/linux/grpc_bazel_rbe_tsan.cfg +++ b/tools/internal_ci/linux/grpc_bazel_rbe_tsan.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/grpc_tsan_on_foundry.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,14 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--cache_test_results=no --config=tsan" +} + +env_vars { + key: "UPLOAD_TEST_RESULTS" + value: "true" +} diff --git a/tools/internal_ci/linux/grpc_bazel_rbe_ubsan.cfg b/tools/internal_ci/linux/grpc_bazel_rbe_ubsan.cfg index 21cdbff44a2..9269a6e250b 100644 --- a/tools/internal_ci/linux/grpc_bazel_rbe_ubsan.cfg +++ b/tools/internal_ci/linux/grpc_bazel_rbe_ubsan.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/grpc_ubsan_on_foundry.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,14 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--cache_test_results=no --config=ubsan" +} + +env_vars { + key: "UPLOAD_TEST_RESULTS" + value: "true" +} diff --git a/tools/internal_ci/linux/grpc_msan_on_foundry.sh b/tools/internal_ci/linux/grpc_msan_on_foundry.sh deleted file mode 100644 index c7e4b1fa1ac..00000000000 --- a/tools/internal_ci/linux/grpc_msan_on_foundry.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -export UPLOAD_TEST_RESULTS=true -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=msan --cache_test_results=no diff --git a/tools/internal_ci/linux/grpc_python_bazel_test.cfg b/tools/internal_ci/linux/grpc_python_bazel_test.cfg index feae924330e..6dd7a376a94 100644 --- a/tools/internal_ci/linux/grpc_python_bazel_test.cfg +++ b/tools/internal_ci/linux/grpc_python_bazel_test.cfg @@ -17,6 +17,13 @@ # Location of the continuous shell script in repository. build_file: "grpc/tools/internal_ci/linux/grpc_bazel.sh" timeout_mins: 240 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} + env_vars { key: "BAZEL_SCRIPT" value: "tools/internal_ci/linux/grpc_python_bazel_test_in_docker.sh" diff --git a/tools/internal_ci/linux/grpc_tsan_on_foundry.sh b/tools/internal_ci/linux/grpc_tsan_on_foundry.sh deleted file mode 100644 index fcf3095d481..00000000000 --- a/tools/internal_ci/linux/grpc_tsan_on_foundry.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -export UPLOAD_TEST_RESULTS=true -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=tsan --cache_test_results=no diff --git a/tools/internal_ci/linux/grpc_ubsan_on_foundry.sh b/tools/internal_ci/linux/grpc_ubsan_on_foundry.sh deleted file mode 100644 index f45be4d1c95..00000000000 --- a/tools/internal_ci/linux/grpc_ubsan_on_foundry.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -export UPLOAD_TEST_RESULTS=true -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=ubsan --cache_test_results=no diff --git a/tools/internal_ci/linux/pull_request/grpc_asan_on_foundry.sh b/tools/internal_ci/linux/pull_request/grpc_asan_on_foundry.sh deleted file mode 100644 index 00f92921de6..00000000000 --- a/tools/internal_ci/linux/pull_request/grpc_asan_on_foundry.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=asan - diff --git a/tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_dbg.sh b/tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_dbg.sh deleted file mode 100644 index 6cf7a881c70..00000000000 --- a/tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_dbg.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -EXTRA_FLAGS="--config=dbg" -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}" diff --git a/tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_opt.sh b/tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_opt.sh deleted file mode 100644 index 76df0b245e5..00000000000 --- a/tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_opt.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -EXTRA_FLAGS="--config=opt" -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh "${EXTRA_FLAGS}" diff --git a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_asan.cfg b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_asan.cfg index 5c794b8ae24..bd8b1c5063d 100644 --- a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_asan.cfg +++ b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_asan.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/pull_request/grpc_asan_on_foundry.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,9 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--config=asan" +} diff --git a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_dbg.cfg b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_dbg.cfg index c1aaf0c2e82..aa46e0146df 100644 --- a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_dbg.cfg +++ b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_dbg.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_dbg.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -26,4 +32,10 @@ bazel_setting { # set. The rest of configuration from bazel_setting is unused (we configure everything when bazel # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" -} \ No newline at end of file +} + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--config=dbg" +} diff --git a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_msan.cfg b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_msan.cfg index 078a6ae618d..ea0f6de9241 100644 --- a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_msan.cfg +++ b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_msan.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/pull_request/grpc_msan_on_foundry.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,9 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--config=msan" +} diff --git a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_opt.cfg b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_opt.cfg index cc6173dcfed..25f9376ccdc 100644 --- a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_opt.cfg +++ b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_opt.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/pull_request/grpc_bazel_on_foundry_opt.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -26,4 +32,10 @@ bazel_setting { # set. The rest of configuration from bazel_setting is unused (we configure everything when bazel # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" -} \ No newline at end of file +} + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--config=opt" +} diff --git a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_tsan.cfg b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_tsan.cfg index 1b595b261df..83dbe379ec4 100644 --- a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_tsan.cfg +++ b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_tsan.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/pull_request/grpc_tsan_on_foundry.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,9 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--config=tsan" +} diff --git a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_ubsan.cfg b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_ubsan.cfg index b81692e8471..9187af3b917 100644 --- a/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_ubsan.cfg +++ b/tools/internal_ci/linux/pull_request/grpc_bazel_rbe_ubsan.cfg @@ -15,8 +15,14 @@ # Config file for the internal CI (in protobuf text format) # Location of the continuous shell script in repository. -build_file: "grpc/tools/internal_ci/linux/pull_request/grpc_ubsan_on_foundry.sh" +build_file: "grpc/tools/internal_ci/linux/grpc_bazel_rbe.sh" timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" @@ -27,3 +33,9 @@ bazel_setting { # command is invoked). upsalite_frontend_address: "https://source.cloud.google.com" } + +env_vars { + # flags will be passed to bazel invocation + key: "BAZEL_FLAGS" + value: "--config=ubsan" +} diff --git a/tools/internal_ci/linux/pull_request/grpc_msan_on_foundry.sh b/tools/internal_ci/linux/pull_request/grpc_msan_on_foundry.sh deleted file mode 100644 index c85a837a440..00000000000 --- a/tools/internal_ci/linux/pull_request/grpc_msan_on_foundry.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2018 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. - -set -ex - -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=msan diff --git a/tools/internal_ci/linux/pull_request/grpc_tsan_on_foundry.sh b/tools/internal_ci/linux/pull_request/grpc_tsan_on_foundry.sh deleted file mode 100644 index f3e98e63da8..00000000000 --- a/tools/internal_ci/linux/pull_request/grpc_tsan_on_foundry.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=tsan diff --git a/tools/internal_ci/linux/pull_request/grpc_ubsan_on_foundry.sh b/tools/internal_ci/linux/pull_request/grpc_ubsan_on_foundry.sh deleted file mode 100644 index b94935eab11..00000000000 --- a/tools/internal_ci/linux/pull_request/grpc_ubsan_on_foundry.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2017 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. - -set -ex - -github/grpc/tools/internal_ci/linux/grpc_bazel_on_foundry_base.sh --config=ubsan diff --git a/tools/internal_ci/windows/grpc_bazel_rbe_dbg.cfg b/tools/internal_ci/windows/grpc_bazel_rbe_dbg.cfg index d13b36aac9b..9b543085936 100644 --- a/tools/internal_ci/windows/grpc_bazel_rbe_dbg.cfg +++ b/tools/internal_ci/windows/grpc_bazel_rbe_dbg.cfg @@ -16,8 +16,13 @@ # Location of the continuous shell script in repository. build_file: "grpc/tools/internal_ci/windows/bazel_rbe.bat" - timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/GrpcTesting-d0eeee2db331.json" gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" diff --git a/tools/internal_ci/windows/grpc_bazel_rbe_opt.cfg b/tools/internal_ci/windows/grpc_bazel_rbe_opt.cfg index 87cc3792ee4..a9bfb302e19 100644 --- a/tools/internal_ci/windows/grpc_bazel_rbe_opt.cfg +++ b/tools/internal_ci/windows/grpc_bazel_rbe_opt.cfg @@ -16,8 +16,13 @@ # Location of the continuous shell script in repository. build_file: "grpc/tools/internal_ci/windows/bazel_rbe.bat" - timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/GrpcTesting-d0eeee2db331.json" gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" diff --git a/tools/internal_ci/windows/pull_request/grpc_bazel_rbe_dbg.cfg b/tools/internal_ci/windows/pull_request/grpc_bazel_rbe_dbg.cfg index 116afeb7830..a9292b054e2 100644 --- a/tools/internal_ci/windows/pull_request/grpc_bazel_rbe_dbg.cfg +++ b/tools/internal_ci/windows/pull_request/grpc_bazel_rbe_dbg.cfg @@ -16,8 +16,13 @@ # Location of the continuous shell script in repository. build_file: "grpc/tools/internal_ci/windows/bazel_rbe.bat" - timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/GrpcTesting-d0eeee2db331.json" gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key" diff --git a/tools/internal_ci/windows/pull_request/grpc_bazel_rbe_opt.cfg b/tools/internal_ci/windows/pull_request/grpc_bazel_rbe_opt.cfg index b4750e18b33..b70fb4d8fa3 100644 --- a/tools/internal_ci/windows/pull_request/grpc_bazel_rbe_opt.cfg +++ b/tools/internal_ci/windows/pull_request/grpc_bazel_rbe_opt.cfg @@ -16,8 +16,13 @@ # Location of the continuous shell script in repository. build_file: "grpc/tools/internal_ci/windows/bazel_rbe.bat" - timeout_mins: 90 +action { + define_artifacts { + regex: "**/*sponge_log.*" + regex: "github/grpc/reports/**" + } +} gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/GrpcTesting-d0eeee2db331.json" gfile_resources: "/bigstore/grpc-testing-secrets/gcp_credentials/resultstore_api_key"