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| Travis CI | Bazel CI |
|---|---|
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:
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.