Commit Graph

4 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 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