danlabici / taskcluster-worker-checker

Script to check if any releng worker is missing in TC
1 stars 9 forks source link

[GSheet] Keep track of the number of actions taken #132

Open danlabici opened 5 years ago

danlabici commented 5 years ago

In the master inventory sheet, we have a column CiDuty CLI # of Actions Taken this column should show how many times TWC has taken action on a set machine.

For now the only action that we can do is automated reboot, but in the future we are looking at ways to implement automated re-image also.

Workflow:

  1. Get List of Machines
  2. Get current CiDuty CLI # of Actions Taken
  3. Take action
  4. If action succesfull, update int(CiDuty CLI # of Actions Taken) + 1