tree: 4821e8aee9adb11d405844a897d6af2192b4c738 [path history] [tgz]
  1. .gitignore
  2. BUILD.bazel
  3. Dockerfile
  4. Makefile
  5. README.md
  6. create-power-controller-sa.sh
  7. go/
  8. modules/
  9. pages/
  10. power_release
  11. res/
  12. tsconfig.json
  13. vm.go
  14. webpack.config.ts
power/README.md

Powercycle Controller

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

http://go/skolo-powercycle

See also //skolo/go/powercycle/DESIGN.md 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 google.com:skia-buildbots 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