tree: 07cfb0717b6bdf7b215dafb4232743753fe4bffc [path history] [tgz]
  1. go/
  2. modules/
  3. pages/
  4. res/
  5. .gitignore
  6. BUILD.bazel
  7. create-power-controller-sa.sh
  8. Dockerfile
  9. Makefile
  10. package-lock.json
  11. package.json
  12. power_release
  13. README.md
  14. tsconfig.json
  15. vm.go
  16. 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