Clone this repo:
  1. 635ff44 Add servo connections in upsync by Prathmesh Prabhu · 62 minutes ago master
  2. 6d580b0 upsync: Delete support for exporting server_db by Prathmesh Prabhu · 6 hours ago
  3. 8ef814a Fix test assertion order by Allen Li · 12 days ago
  4. 5e8e911 Mark all odd servers as ignored by Allen Li · 12 days ago
  5. ae7bbc9 protos: Add model label. by Prathmesh Prabhu · 3 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

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