ReleaseEngineering/Slave Health: Difference between revisions
Jump to navigation
Jump to search
ChrisCooper (talk | contribs) (Created page with "= What is slave health? = Slave health is a web tool used by releng, specifically buildduty, to monitor and affect the health of the various slave pools. https://secure.pub.b...") |
m (Update BuildDuty to CiDuty. Renaming project) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
= What is slave health? = | = What is slave health? = | ||
Slave health is a web tool used by releng, specifically | Slave health is a web tool used by releng, specifically ciduty, to monitor and affect the health of the various slave pools. | ||
https://secure.pub.build.mozilla.org/builddata/reports/slave_health/index.html | https://secure.pub.build.mozilla.org/builddata/reports/slave_health/index.html | ||
Line 16: | Line 16: | ||
<code>/home/buildduty/slave_health/slave_health_cron.sh</code> should be copied from <code>/home/buildduty/slave_health/slave_health/scripts</code> on when the script is updated in version control. | <code>/home/buildduty/slave_health/slave_health_cron.sh</code> should be copied from <code>/home/buildduty/slave_health/slave_health/scripts</code> on when the script is updated in version control. | ||
= CiDuty Report = | |||
We also stick the [https://secure.pub.build.mozilla.org/builddata/reports/slave_health/buildduty_report.html CiDuty report] under slave health, however its not generated from the slave health repo. | |||
It is run from cron with: | |||
#m h d mth dow | |||
1 5-18 * * 1-5 /home/buildduty/buildduty/buildduty_report.sh | |||
The related files are in braindump at: | |||
* [http://hg.mozilla.org/build/braindump/file/default/reports/buildduty_report.sh buildduty_report.sh] | |||
* [http://hg.mozilla.org/build/braindump/file/default/reports/buildduty_report.py buildduty_report.py] |
Latest revision as of 06:42, 14 May 2018
What is slave health?
Slave health is a web tool used by releng, specifically ciduty, to monitor and affect the health of the various slave pools.
https://secure.pub.build.mozilla.org/builddata/reports/slave_health/index.html
Deployment
Slave health is deployed on cruncher under /home/buildduty/slave_health
There are currently two cronjobs on cruncher that correspond to slave health:
#m h d mth dow */15 * * * * /home/buildduty/slave_health/slave_health_cron.sh 15 0 * * * source /home/buildduty/buildduty/bin/activate && \ python /home/buildduty/slave_health/slave_health/scripts/generate_chart_objects.py
/home/buildduty/slave_health/slave_health_cron.sh
should be copied from /home/buildduty/slave_health/slave_health/scripts
on when the script is updated in version control.
CiDuty Report
We also stick the CiDuty report under slave health, however its not generated from the slave health repo.
It is run from cron with:
#m h d mth dow 1 5-18 * * 1-5 /home/buildduty/buildduty/buildduty_report.sh
The related files are in braindump at: