tree: 8d25ec07df3a4c23e65751f104462eda25c65bb4 [path history] [tgz]
  1. go/
  2. modules/
  3. pages/
  4. res/
  5. sys/
  6. .gitignore
  7. create-power-controller-sa.sh
  8. Dockerfile
  9. Makefile
  10. package.json
  11. power_release
  12. README.md
  13. vm.go
  14. webpack.config.js
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