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

From MozillaWiki
Jump to navigation Jump to search
m (added script to generate allthethings.json)
m (Point to new documentation)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
Some tools are starting to feed on allthethings.json.
Some tools are starting to feed on allthethings.json.


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


Here's how you deploy a new change:
= How to deploy a new change =
* catlee has a checkout on cruncher
* 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.

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.