ReleaseEngineering/How To/Update TryChooser: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
(Make deploy steps clearer after confusion in bug 1077703)
Line 2: Line 2:
{{Release Engineering Deployment|trychooser}}
{{Release Engineering Deployment|trychooser}}


== Updating Trychooser app ==
We need to keep the try syntax chooser webpage located at http://trychooser.pub.build.mozilla.org/ up to date so developers will continue to '''use''' it and we benefit from the lowered build/test load.
We need to keep the try syntax chooser webpage located at http://trychooser.pub.build.mozilla.org/ up to date so developers will continue to '''use''' it and we benefit from the lowered build/test load.


Line 8: Line 9:
  <pre><li><label><input type="checkbox" name="talos_suite" value="SUITE_NAME">SUITE_NAME</label></li></pre>
  <pre><li><label><input type="checkbox" name="talos_suite" value="SUITE_NAME">SUITE_NAME</label></li></pre>


Once you've landed your patch to the webpages, push the change to the releng web cluster, same as for any other push: login to relengwebadm as root, go to /data/releng/src/trychooser, and run ./update $REV.
== Deploying Trychooser ==
 
Once you've landed your patch to the webpages, to push the change to the releng web cluster:
# root@relengwebadm.private.scl3.mozilla.com
# Check you have VPN access to relengwebadm & your SSH config has the username and SSH key set correctly.
# Get your REV from hg.
# Connect to the MozillaVPN (skip if you have set up the jumphost in your SSH config).
REV=753b5928284f
# $ ssh relengwebadm.private.scl3.mozilla.com
cd /data/releng/src/trychooser
# $ sudo -i
./update $REV.
# $ cd /data/releng/src/trychooser
# Get your REV from https://hg.mozilla.org/build/tools/
# $ REV=753b5928284f
# $ ./update $REV

Revision as of 09:47, 20 October 2014


Updating Trychooser app

We need to keep the try syntax chooser webpage located at http://trychooser.pub.build.mozilla.org/ up to date so developers will continue to use it and we benefit from the lowered build/test load.

To keep the site up to date, check out the tools repo and update index.html with new test/talos suite names - be sure to change both the value and the label. Eg:

<li><label><input type="checkbox" name="talos_suite" value="SUITE_NAME">SUITE_NAME</label></li>

Deploying Trychooser

Once you've landed your patch to the webpages, to push the change to the releng web cluster:

  1. Check you have VPN access to relengwebadm & your SSH config has the username and SSH key set correctly.
  2. Connect to the MozillaVPN (skip if you have set up the jumphost in your SSH config).
  3. $ ssh relengwebadm.private.scl3.mozilla.com
  4. $ sudo -i
  5. $ cd /data/releng/src/trychooser
  6. Get your REV from https://hg.mozilla.org/build/tools/
  7. $ REV=753b5928284f
  8. $ ./update $REV