grpc-web/scripts
Eryu Xia c6ef0a55b6
Fixing Envoy config yaml formatting (#1223)
2022-04-21 15:52:46 -07:00
..
README.md Internal code sync (#1140) 2021-09-28 10:48:20 -07:00
docker-run-build-tests.sh Internal code sync (#1140) 2021-09-28 10:48:20 -07:00
docker-run-interop-tests.sh Trying to speed up tests 2020-04-29 15:51:24 -07:00
docker-run-jsunit-tests.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00
docker-run-mocha-tests.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00
init_submodules.sh Replace use of `third_party/closure-library` submodule 2021-09-01 18:17:14 -07:00
kokoro.sh No need to specify the env var explicitly 2020-04-29 15:51:24 -07:00
release_notes.py Fix release notes script to handle empty PR descriptions. (#1196) 2022-02-08 11:21:45 -08:00
run_basic_tests.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00
run_interop_tests.sh Fixing Envoy config yaml formatting (#1223) 2022-04-21 15:52:46 -07:00
test-proxy.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00

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