Skip to content

Files

Latest commit

bed4c0a · May 13, 2019

History

History
This branch is 11225 commits behind google/skia-buildbot:main.

power

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 13, 2019
Dec 12, 2018
Jun 7, 2018
Feb 23, 2018
May 7, 2018
May 19, 2017
Jan 8, 2019
Oct 25, 2018
Aug 10, 2017
Oct 25, 2018
Dec 12, 2018
Oct 25, 2018
Sep 28, 2017
Jul 10, 2018

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