tree: fcc696d6a3d74dc1be46571edd51e19db2ceab2e [path history] [tgz]
  1. .gitignore
  2. BUILD.bazel
  3. Dockerfile
  4. Makefile
  7. go/
  8. modules/
  9. package-lock.json
  10. package.json
  11. pages/
  12. power_release
  13. res/
  14. tsconfig.json
  15. vm.go
  16. webpack.config.ts

Powercycle Controller

The purpose of this module is to expose a web UI for powercycling various machines in the Skia fleet.


See also //skolo/go/powercycle/ for a more up-to-date design.

Local Testing

The easiest way to test locally is to set up an SSH tunnel to skia-prom

gcloud compute ssh --zone us-central1-c --project skia-prom -- -v -L 8001:skia-prom:8001

Then, start the server,

go run ./go/power-controller/main.go --logtostderr --alerts_endpoint localhost:8001 --local --powercycle_config ../skolo/sys/powercycle.json5