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

From MozillaWiki
Jump to navigation Jump to search
m (add note about how it is generated)
m (Point to new documentation)
 
Line 2: Line 2:


= Generate locally =
= Generate locally =
Here's how you can generate it locally:
Read these instructions on [https://github.com/armenzg/releng_buildbot_docker/blob/master/README.rst#generate-allthethingsjson how to generate the file].
<pre>
hg clone https://hg.mozilla.org/build/braindump
cd braindump/community
./generate_allthethings_json.sh
</pre>


= How to deploy a new change =
= How to deploy a new change =

Latest revision as of 15:06, 18 April 2017

Some tools are starting to feed on allthethings.json.

Generate locally

Read these instructions on how to generate the file.

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.