tree: 83dd6d2e2be055c9e76af3ccab4b80f56285dacf [path history] [tgz]
  1. go/
  2. modules/
  3. pages/
  4. res/
  5. sys/
  6. .gitignore
  7. Makefile
  8. package.json
  9. power_release
  10. README.md
  11. skiapush.json5
  12. vm.go
  13. webpack.config.js
  14. yarn.lock
power/README.md

Powercycle Controller

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

https://docs.google.com/document/d/15sb7RN_S3ctw06xQoNG7c3Owu-DS2jPPDaWAdQIkPLw/edit#

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