ReleaseEngineering/How To/Enable or Disable Updates on Central

From MozillaWiki
< ReleaseEngineering‎ | How To
Revision as of 16:54, 6 April 2015 by Callek (talk | contribs) (Created page with "{{Release Engineering How To|Enable or Disable Updates on Central}} Occasionally a developer prepares to land a risky change to central, knowing that the next set of nightlies...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Occasionally a developer prepares to land a risky change to central, knowing that the next set of nightlies (or few sets) may be broken for updates.

When this happens we need to freeze updates to the latest known good version while QA and the developer decides to run some tests.

Note the magic rule ids below. These correspond to ids of rows in the "rules" table of Balrog. If we fix bug 1067402 we can pass more intelligable values here.

Disabling Updates

Fennec

# mozilla-central nightly
cd /tmp
rm -rf tools
hg clone https://hg.mozilla.org/build/tools
cd tools/scripts/updates
scp cltbld@buildbot-master81.bb.releng.scl3.mozilla.com:/builds/buildbot/build_scheduler/master/BuildSlaves.py oauth.txt
# Run with dry run first, sanity check the "Would've unlocked" lines.
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c oauth.txt -u ffxbld -r 4 -r 92 -n unlock
# Run without dry run to unlock the updates
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c oauth.txt -u ffxbld -r 4 -r 92 unlock

== Firefox ==
<pre>
cd /tmp
rm -rf tools
hg clone https://hg.mozilla.org/build/tools
cd tools/scripts/updates
scp cltbld@buildbot-master81.bb.releng.scl3.mozilla.com:/builds/buildbot/build_scheduler/master/BuildSlaves.py oauth.txt
# Run with dry run first, sanity check the "Would've unlocked" lines.
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c oauth.txt -u ffxbld -r 10 -r 18 -n unlock
# Run without dry run to unlock the updates
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c oauth.txt -u ffxbld -r 10 -r 18 unlock

Update bouncer

When re-enable updates for Aurora, update the following bouncer locations to use the new version for aurora: