Skip to content

Commit

Permalink
make "linux/grpc_bazel_build" job a noop
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Sep 21, 2023
1 parent c54f2dc commit af651d8
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions tools/internal_ci/linux/grpc_bazel_build_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,5 @@

set -ex

python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path bazel_build_with_strict_warnings
bazel_build_with_strict_warnings/bazel_wrapper \
--bazelrc=tools/remote_build/include/test_locally_with_resultstore_results.bazelrc \
build \
--define=use_strict_warning=true \
-- \
:all \
//src/core/... \
//src/compiler/... \
//test/... \
//examples/... \
-//examples/android/binder/...

# TODO(jtattersmusch): Adding a build here for --define=grpc_no_xds is not ideal
# and we should find a better place for this. Refer
# https://github.com/grpc/grpc/pull/24536#pullrequestreview-517466531 for more
# details.
# Test that builds with --define=grpc_no_xds=true work.
bazel build //test/cpp/end2end:end2end_test --define=grpc_no_xds=true

# Test that builds that need xDS do not build with --define=grpc_no_xds=true
EXIT_CODE=0
bazel build //test/cpp/end2end/xds:xds_end2end_test --define=grpc_no_xds=true || EXIT_CODE=$?
if [ $EXIT_CODE -eq 0 ]; then
echo "Building xds_end2end_test succeeded even with --define=grpc_no_xds=true"
exit 1
fi
echo "The "bazel build C/C++" tests have been migrated to bazelified tests under tools/bazelify_tests."
echo "This job is now a no-op".

0 comments on commit af651d8

Please sign in to comment.