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