Always set --tls_enabled for --config=results. (#156)

This is required for gRPC to connect to the Build Event Service as
mandated by gRPC. Without --tls_enabled, the server will respond with
the error:

    INTERNAL: First received frame was not SETTINGS. Hex dump for first
    5 bytes: 485454502f

This was verified by running this bazel commandline against the
github.com/grpc/grpc repo root:

    ~/bin/bazel-0.15.0                                          \
    --bazelrc=$HOME/src/bazel-toolchains/bazelrc/0.15.0.bazelrc \
    test                                                        \
    //test/cpp/util:slice_test@poller=epoll1                    \
    --config=results                                            \
    --auth_credentials=$HOME/src/$PROJECT_ID.credential.json    \
    --project_id=$PROJECT_ID
2 files changed
tree: 16e61d6b86d262ccc85ffe2b534af71806084d3d
  1. .bazelci/
  2. bazelrc/
  3. configs/
  4. constraints/
  5. container/
  6. examples/
  7. release/
  8. repositories/
  9. rules/
  10. skylib/
  11. test/
  12. third_party/
  13. .gitignore
  14. .travis.yml
  15. AUTHORS
  16. CONTRIBUTING.md
  17. CONTRIBUTORS
  18. LICENSE
  19. README.md
  20. WORKSPACE
README.md
Travis CIBazel CI
Build StatusBuild status

bazel-toolchains

https://github.com/bazelbuild/bazel-toolchains is a repository where Google hosts Bazel toolchain configs. These configs are required to configure Bazel to issue commands that will execute inside a Docker container via a remote execution environment.

These toolchain configs include:

  • C/C++ CROSSTOOL file,
  • BUILD file with toolchain rules, and
  • wrapper scripts.

Release information of toolchain configs can be found at: https://releases.bazel.build/bazel-toolchains.html.

This repository also hosts the skylark rule used to generate toolchain configs.