Closed
Bug 1219390
Opened 7 years ago
Closed 7 years ago
Start producing allthethings.json based on generate_allthethings_json.sh
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: armenzg, Assigned: armenzg)
Details
Attachments
(1 file)
107.01 KB,
text/plain
|
Details |
By doing this, the community and releng can produce exactly the same file and we can easily restore the set up. Steps taken: * Disable cronjobs on armenzg's and catlee's account * Cloned braindump under /home/buildduty/braindump # As root chown buildduty /var/www/html/builds/allthethings.json* # As buildduty; we specify which python to use so it is 2.7.3 rather than 2.6 ~/braindump/community/setup_buildbot_environment.sh -p /usr/local/bin/python2.7 # First run ~/braindump/community/generate_allthethings_json.sh * Verify that the file shows in here with an updated date [1] * Added this cron to buildduty's: */15 * * * * $HOME/braindump/community/generate_allthethings_json.sh 5 0 * * * find /var/www/html/builds/ -type f -name "allthethings._*" -mtime +90 -delete The latter clean is for files that are used to determine changes in list of builders. [1] http://cruncher.build.mozilla.org/builds/ [2] https://hg.mozilla.org/build/braindump/file/default/community/generate_allthethings_json.sh
Assignee | ||
Comment 1•7 years ago
|
||
Please let me know if the steps above make sense to you and we can close this bug.
Flags: needinfo?(catlee)
Assignee | ||
Comment 2•7 years ago
|
||
Log of the venv setup for posterity.
Comment 3•7 years ago
|
||
If this is something that should persist, please make sure that it's added to cron by puppet and that it's done so in a way that sends any stdout and stderr to papertrail using logger. Ideally this should probably go on aws-manager, not cruncher (unless there's a pressing need to ahve it there), so it's not a spof.
Assignee | ||
Comment 4•7 years ago
|
||
We don't want to put anymore effort in here than necessary. I only looked into it since I needed the file to be up-to-date. Nevertheless, I've removed needing to check the file for pulse_actions (used for automated backfilling and TH-sherrifs actions: add missing jobs; manual backfill; trigger all talos jobs).
Assignee | ||
Comment 6•7 years ago
|
||
You're welcome! Thanks Chris.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•7 years ago
|
||
Fallout from this can be found in bug 1232080. It was failling silently.
Updated•5 years ago
|
Component: Tools → General
You need to log in
before you can comment on or make changes to this bug.
Description
•