manual.bazelrc 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 2018 The gRPC Authors
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # bazelrc file for running gRPC tests with Foundry (remote build execution)
  15. # manually from developer's workstation
  16. import %workspace%/tools/remote_build/rbe_common.bazelrc
  17. build --remote_cache=grpcs://remotebuildexecution.googleapis.com
  18. build --remote_executor=grpcs://remotebuildexecution.googleapis.com
  19. # Enable authentication. Bazel will use application default credentials
  20. # unless overridden by --google_credentials=service_account_credentials.json
  21. # How to setup credentials:
  22. # https://cloud.google.com/remote-build-execution/docs/results-ui/getting-started-results-ui
  23. build --auth_enabled=true
  24. # Set flags for uploading to BES in order to view results in the Bazel Build
  25. # Results UI.
  26. build --bes_backend=grpcs://buildeventservice.googleapis.com
  27. build --bes_timeout=600s
  28. build --bes_results_url="https://source.cloud.google.com/results/invocations/"
  29. build --project_id=grpc-testing
  30. build --jobs=100
  31. # print output for tests that fail (default is "summary")
  32. build --test_output=errors