Clone this repo:
  1. f49a386 Remove upsync script by Allen Li · 7 weeks ago firmware-sarien-12200.B master release-R76-12239.B stabilize-12202.B stabilize-12206.B stabilize-12222.B stabilize-12249.B stabilize-kukui-12285.B
  2. 47a7495 Remove now unused scripts by Allen Li · 3 months ago release-R75-12105.B stabilize-12054.B stabilize-12058.B stabilize-12060.B stabilize-12061.B stabilize-12088.B stabilize-12105.75.B stabilize-12121.B stabilize-flapjack-12109.B
  3. a0f2120 Revert "skylab-inventory-mon: consider chromeos1- servers to be prod" by Aviv Keshet · 3 months ago factory-sarien-12033.B
  4. 502f2a2 Remove list_duts_for_drone by Allen Li · 3 months ago
  5. bbefb2b Remove DUT environment filtering by Allen Li · 3 months 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 inside the chroot:

(cr) cd ~/trunk/infra/skylab_inventory/protos
(cr) protoc --python_out=../venv/skylab_inventory/protos/ *.proto
(cr) protoc --go_out=../go/src/chromiumos/infra/skylab/inventory/protos/ *.proto