Commit Graph

9 Commits

Author SHA1 Message Date
zpencer 851a674d9b
grpc-zpages: link channelz.js with angular compiler (#306)
Rather than importing the script with a <script> tag, use angular's
build system to import the script. This makes our HTML consistent
internally and externally, and is probably the way to go if we want to
use the library in unit tests.
2018-08-08 08:57:09 -07:00
zpencer a9fa4c674b
grpc-zpages: gen_channelz_pb.sh should accept a git sha param (#307)
If no param is specified, we pull from the latest grpc/grpc-protos
2018-07-24 15:50:56 -07:00
zpencer 093bc7ce17
grpc-zpages: codegen docker should output files as current uid (#303)
Change the output files to the user's UID and GID.
2018-07-24 15:04:46 -07:00
zpencer 9f728cd3e1
gprc-zpages: do not output uglified js when building (#304)
This makes the output easier to use, and there's not a real need for
uglified js in this tool. This also eliminates the hash appended to
the output filenames.
2018-07-24 14:58:11 -07:00
zpencer e47ab0e246
channelz: add code gen scripts for OSS (#302)
Build a self contained channelz.js from a channelz.proto.

Running buildscripts/channelz_codgen.sh will produce a
web/channelzui/src/assets/channelz.js that reflects the SHA
specified in the scripts.

The script fetches grpc/grpc-web to get the prereq docker image, does
some additional setup, and then runs the code gen script.
2018-07-24 08:28:00 -07:00
zpencer 6ac114da18
channelz: allow grpc address to be overridden, and make builds less noisy (#300) 2018-07-17 18:25:18 -07:00
zpencer 4e0cc508ff
channelz: add initial docker configs (#297)
- Add dockers for envoy, static assets www server, docker-compose
  config generator script. We use `network_mode: host` so that the
  loopback addresses within the docker resolve to the host.
- Update build script and angular.json so that copmilation outputs go
  directly into the static assets docker directory.
- Update README.md
- remove CORS
- the grpc web host should be window.location.origin, ie the envoy
  reverse proxy port
2018-07-13 14:56:19 -07:00
Spencer Fang 43f0e17ae3 channelz: make build script more forgiving when files not present 2018-07-10 08:25:38 -07:00
Spencer Fang 901ae93ee8 Add zpages gateway and webapp 2018-06-07 12:58:52 -07:00