ReleaseEngineering/How To/allthethings.json: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
m (typo)
m (add note about how it is generated)
Line 17: Line 17:


= How the file is generated =
= How the file is generated =
Read https://bugzilla.mozilla.org/show_bug.cgi?id=1219390#c0 for details on how it was set up.
Run from a crontab:
Run from a crontab:
  */15 * * * *    $HOME/braindump/community/generate_allthethings_json.sh
  */15 * * * *    $HOME/braindump/community/generate_allthethings_json.sh


Then the file is synced from cruncher to secure.pub.m.o once an hour.
Then the file is synced from cruncher to secure.pub.m.o once an hour.

Revision as of 22:00, 18 December 2015

Some tools are starting to feed on allthethings.json.

Generate locally

Here's how you can generate it locally:

hg clone https://hg.mozilla.org/build/braindump
cd braindump/community
./generate_allthethings_json.sh

How to deploy a new change

  • Connect to the VPN with 'push' as your password (you will get a DUO prompt; accept it)
ssh `whoami`@cruncher.build.mozilla.org
sudo su - buildduty
cd braindump
hg pull -u

How the file is generated

Read https://bugzilla.mozilla.org/show_bug.cgi?id=1219390#c0 for details on how it was set up.

Run from a crontab:

*/15 * * * *    $HOME/braindump/community/generate_allthethings_json.sh

Then the file is synced from cruncher to secure.pub.m.o once an hour.