ReleaseEngineering/Archive/Enable or Disable Updates on Aurora: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Remove old info about aus3.m.o, add bouncer tweaks (although possibly unused ?))
No edit summary
Line 3: Line 3:


= Disabling Updates =
= Disabling Updates =
* Change the Firefox and Fennec "aurora" channel to a specific nightly buildid in Balrog. For example, "20131019004007". Release Management should specify the buildid to use. Once you have that, do the following:
As cltbld@buildbot-master81:
*# Go to [https://aus4-admin.mozilla.org/rules.html the Balrog Admin interface's rules page].
<pre>
*# Find the rule that has "Fennec" for the product and "aurora" for the channel.
cd /home/cltbld/
*# Click the "Mapping" drop down for that rule and find the "Fennec-mozilla-aurora-nightly" entry that contains the requested buildid and select it.
rm -rf tools
*# Scroll to the right and click "Update" to make the change.
hg clone https://hg.mozilla.org/build/tools
*# Repeat the above instructions for Firefox and MetroFirefox.
cd tools/scripts/updates
# Run with dry run first, sanity check the "Would've locked" lines.
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 8 -r 10 -r 18 -n lock
# Run without dry run to lock the updates
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 8 -r 10 -r 18 lock
</pre>
 
This will eventually be integrated with the merge day script.


= Enabling Updates =
= Enabling Updates =
* Change the Firefox and Fennec "aurora" channels back to the -latest release:
Unlike disabling, Firefox and Fennec aren't always re-enabled at the same time.
*# Go to [https://aus4-admin.mozilla.org/rules.html the Balrog Admin interface's rules page].
== Fennec ==
*# Find the rule that has "Fennec" for the product and "aurora" for the channel.
As cltbld@buildbot-master81:
*# Click the "Mapping" drop down for that rule and select "Fennec-mozilla-aurora-nightly-latest".
<pre>
*# Scroll to the right and click "Update" to make the change.
cd /home/cltbld/
*# Repeat the above instructions for Firefox and MetroFirefox.
rm -rf tools
hg clone https://hg.mozilla.org/build/tools
cd tools/scripts/updates
# 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 /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 8 -n unlock
# Run without dry run to unlock the updates
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 8 unlock
</pre>
 
== Firefox ==
As cltbld@buildbot-master81:
<pre>
cd /home/cltbld/
rm -rf tools
hg clone https://hg.mozilla.org/build/tools
cd tools/scripts/updates
# 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 /builds/buildbot/build_scheduler/master/BuildSlaves.py -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 /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 10 -r 18 unlock
</pre>


== Update bouncer ==
== Update bouncer ==

Revision as of 17:12, 23 October 2014

When Nightly merges into Aurora every 6 weeks we lock Aurora updates at a specific old version for a period of time (days to a week) while QA runs some tests. Once their tests have passed, we re-enable updates. This document describes how to do both of these things.

Disabling Updates

As cltbld@buildbot-master81:

cd /home/cltbld/
rm -rf tools
hg clone https://hg.mozilla.org/build/tools
cd tools/scripts/updates
# Run with dry run first, sanity check the "Would've locked" lines.
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 8 -r 10 -r 18 -n lock
# Run without dry run to lock the updates
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 8 -r 10 -r 18 lock

This will eventually be integrated with the merge day script.

Enabling Updates

Unlike disabling, Firefox and Fennec aren't always re-enabled at the same time.

Fennec

As cltbld@buildbot-master81:

cd /home/cltbld/
rm -rf tools
hg clone https://hg.mozilla.org/build/tools
cd tools/scripts/updates
# 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 /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 8 -n unlock
# Run without dry run to unlock the updates
python2.7 balrog-nightly-locker.py -a https://aus4-admin.mozilla.org -c /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 8 unlock

Firefox

As cltbld@buildbot-master81:

cd /home/cltbld/
rm -rf tools
hg clone https://hg.mozilla.org/build/tools
cd tools/scripts/updates
# 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 /builds/buildbot/build_scheduler/master/BuildSlaves.py -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 /builds/buildbot/build_scheduler/master/BuildSlaves.py -u ffxbld -r 10 -r 18 unlock

Update bouncer

The version needs updating in two bouncer locations: