commit | 7422e8ced2ffdc439448bdb8137d2770e94f302f | [log] [tgz] |
---|---|---|
author | Xixuan Wu <xixuan@chromium.org> | Sat Aug 11 02:15:30 2018 |
committer | chrome-bot <chrome-bot@chromium.org> | Mon Aug 20 06:08:20 2018 |
tree | 5c92f5fd0ec7c1c10e14d7f0ab54c5fb35888a57 | |
parent | 7095d1fe4366e1c862965c557aae389a0f64ac06 [diff] |
skylab_inventory: Add skylab_suite_proxy type to atest server. BUG=None TEST=None Change-Id: I3dbdddd719f5b43630f1d1dc5e30810b4c263e4a Reviewed-on: https://chromium-review.googlesource.com/1171943 Commit-Ready: Xixuan Wu <xixuan@chromium.org> Tested-by: Xixuan Wu <xixuan@chromium.org> Reviewed-by: Xixuan Wu <xixuan@chromium.org>
Inventory schema is stored as protobuf definitions in the proto/ directory. When you update these protobuf definitions, you must also update the generated python libraries for them.
You need the protoc compiler for this. On gLinux:
sudo apt-get install protobuf-compiler go get github.com/golang/protobuf/protoc-gen-go
Then, regenerate the libraries (must be done outside chroot):
cd protos protoc --python_out=../venv/skylab_inventory/protos/ *.proto protoc --go_out=../go/src/chromiumos/infra/skylab/inventory/protos/ *.proto