mirror of https://github.com/grpc/grpc-web.git
* Revert "Revert "Temporarily disable protoc-plugin in CI (#1447)" (#1448)"
This reverts commit
|
||
---|---|---|
.. | ||
README.md | ||
docker-run-build-tests.sh | ||
docker-run-interop-tests.sh | ||
docker-run-jsunit-tests.sh | ||
docker-run-mocha-tests.sh | ||
init_submodules.sh | ||
kokoro.sh | ||
release_notes.py | ||
run_basic_tests.sh | ||
run_interop_tests.sh | ||
test-proxy.sh |
README.md
Scripts
A collection of scripts (mostly test related).
Troubleshooting - Bazel Crashes (OOM)
Bazel can be memory hungry and often crashes while building on Mac with default Docker memory settings (2GB) (similar reports: here and here).
Bump the memory settings in Docker Desktop for Mac (e.g. to 4 - 6GB) if you see the following errors:
$ bazel build //javascript/net/grpc/web/generator/... //net/grpc/gateway/examples/echo/...
...
Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/root/.cache/bazel/_bazel_root/.../server/jvm.out')
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c bazel build javascript/net/grpc/web/... && cp $(bazel info bazel-genfiles)/javascript/net/grpc/web/protoc-gen-grpc-web /usr/local/bin/protoc-gen-grpc-web]: exit code: 37