grpc-web/scripts
Eryu Xia a489de6f9e Replace use of `third_party/closure-library` submodule
... in favor of `google-closure-library` npm package.

Removed the third_party/closure-library submodule following the instructions here:
https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial#Removal

Tested:
- Verified that `npm run build` inside `packages/grpc-web` generates
  exactly the same output as before.
- Test ran closure client: `docker-compose up --build node-server envoy closure-client`
2021-09-01 18:17:14 -07:00
..
README.md Add troubleshooting info on Bazel crashes (OOM). 2021-08-05 10:50:08 -07:00
docker-run-interop-tests.sh Trying to speed up tests 2020-04-29 15:51:24 -07:00
docker-run-tests.sh Trying to speed up tests 2020-04-29 15:51:24 -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 Add a script to generate changelog 2020-05-31 02:05:30 -07:00
run_basic_tests.sh Build a couple more images for presubmit tests 2020-04-29 17:06:38 -07:00
run_interop_tests.sh Revert "Revert "bump envoy to v1.17.0"" 2021-01-22 18:34:28 -08:00
test-proxy.sh Fix typo and change to https links 2018-08-14 16:50:42 -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 test --cache_test_results=no //javascript/net/grpc/web/... //net/grpc/gateway/examples/...

...

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