tree: 4cd06a5854e2d2c19cb71011339d7c618454daf7 [path history] [tgz]
  1. 3dmodels/
  2. arduino/
  3. bash/
  4. common/
  5. dockerfiles/
  6. go/
  7. img/
  8. ios/
  9. laser_cutter_models/
  10. linux/
  11. mac/
  12. raspberry-pi/
  13. sys/
  14. win/
  15. .gitignore
  16. build_release_get_oauth2_token
  17. build_release_hotspare
  18. build_release_metadata_server
  19. build_release_router_backup
  20. build_release_rpi_backup
  21. build_release_trooper_tools
  22. grep_token_logs.py
  23. ip_map.json
  24. k8s_release_metadata_server
  25. k8s_release_router_backup
  26. Makefile
  27. PROD.md
  28. README.md
  29. skiapush.json5
skolo/README.md

This folder contains code and other resources that help make the Skolo run smoothly.

The raspberry-pi folder contains Ansible playbooks that can be used to manage the raspberry pis and the rpi-master.

The linux folder contains Ansible playbooks that can be used to manage the Linux bots in the Skolo.

The go folder contains the source code for small utility code that runs either on the rpi-master or the raspberry pis themselves. This code is deployed, like all other infra code, using push/pull, via the master.

The list of utilities are:

  • hotspare: the utility that allows for a hot spare of the master to become live when the master fails. Build with make hotspare.
  • powercycle: a utility that remote powercycles various machines.
  • censustaker: a utility for generating the config for powercycle.

The /bash/skolo.sh file is a set of shortcuts for interacting with the skolo. It can be ‘source’d from your .bashrc.

source $GOPATH/src/go.skia.org/infra/skolo/bash/skolo.sh