Clone this repo:
  1. 06a3a84 Document interval restrictions by Allen Li · 2 weeks ago factory-grunt-11164.B master release-R71-11151.B
  2. b592944 text_manager: Don't try to filter connections by Prathmesh Prabhu · 3 weeks ago
  3. 64537f0 skylab-inventory-mon: Ignore jetstream devservers by Prathmesh Prabhu · 6 weeks ago factory-nocturne-11066.B stabilize-11101.B stabilize-jetstream-11056.B
  4. aa47e39 upsync: Don't crash when starting with no existing lab by Prathmesh Prabhu · 7 weeks ago firmware-grunt-11031.B
  5. 43bd5b7 examples: Add a script to print unsupported labels & attributes by Prathmesh Prabhu · 7 weeks ago

Skylab inventory

Updating inventory schema

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