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

From MozillaWiki
Jump to navigation Jump to search
m (preformat)
(updated notes)
Line 1: Line 1:
Some tools are starting to feed on allthethings.json.
Some tools are starting to feed on allthethings.json.


= Generate locally =
Here's how you can generate it locally:
Here's how you can generate it locally:
<pre>
<pre>
Line 8: Line 9:
</pre>
</pre>


Here's how you deploy a new change:
= How to deploy a new change =
* catlee has a checkout on cruncher
 
= Debug in production =
These are the steps to follow:
* Connect to the VPN with 'push' as your password (you will get a DUO prompt; accept it)
* Connect to the VPN with 'push' as your password (you will get a DUO prompt; accept it)
  ssh `whoami`g@cruncher.build.mozilla.org
  ssh `whoami`g@cruncher.build.mozilla.org
  sudo su - catlee
  sudo su - buildduty
cd braindump
hg pull -u
 
= How the file is generated =
Run from a crontab:
*/15 * * * *    $HOME/braindump/community/generate_allthethings_json.sh


From crontab:
Then the file is synced from cruncher to secure.pub.m.o once an hour.
*/15 * * * *    $HOME/allthethings/make_allthethings.sh | mail -E -s '[allthethings] all the things' catlee@mozilla.com

Revision as of 19:12, 28 October 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`g@cruncher.build.mozilla.org
sudo su - buildduty
cd braindump
hg pull -u

How the file is generated

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.