Confirmed users
4,293
edits
m (→Push to beta) |
|||
(25 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
= Bugs hit = | = Bugs hit = | ||
* {{Bug|678467}} - Mobile partner repacks should be triggered automatically | * {{Bug|678467}} - Mobile partner repacks should be triggered automatically | ||
* {{Bug|678804}} - Audit ssh keys on slaves (missing xrbld key) | |||
=Build Engineers= | =Build Engineers= | ||
Line 190: | Line 191: | ||
====Source==== | ====Source==== | ||
Failed because mv-moz2-linux-ix-slave17.build.mozilla.org was unable to upload files (missing xrbld key). Copied the key from another slaved, rebuilt. | Failed because mv-moz2-linux-ix-slave17.build.mozilla.org was unable to upload files (missing xrbld key). Copied the key from another slaved, rebuilt. | ||
Filed {{Bug|678804}} - Audit ssh keys on slaves | |||
====Build==== | ====Build==== | ||
No problems | No problems | ||
Line 365: | Line 369: | ||
=== Socorro Product Data Updates === | === Socorro Product Data Updates === | ||
N/A since there is no version change. | |||
=== Check permissions / AV scan === | === Check permissions / AV scan === | ||
Line 371: | Line 376: | ||
=== Reset reserved slaves === | === Reset reserved slaves === | ||
echo 0> reserved_slaves_bm07-build1 | echo 0> reserved_slaves_bm07-build1 | ||
=== Push to beta === | === Push to beta === | ||
Line 378: | Line 381: | ||
~/bin/backupsnip Firefox-6.0-build1-with-5.0-6.0b5-partials-beta | ~/bin/backupsnip Firefox-6.0-build1-with-5.0-6.0b5-partials-beta | ||
~/bin/pushsnip Firefox-6.0-build1-with-5.0-6.0b5-partials-beta | ~/bin/pushsnip Firefox-6.0-build1-with-5.0-6.0b5-partials-beta | ||
QA noticed that beta updates from 4.0b*, 5.0b*, and 6.0b* were getting 404'ed. This is because they were pointing at Bouncer, not directly at FTP. Shut off updates to stop the bustage by doing: | |||
# cltbld@aus2-staging | |||
cd /opt/aus2/incoming/3/Firefox | |||
chmod 700 4.0* 5.0* 6.0* | |||
Then started the push to internal mirrors. See the subsequent section for details | |||
=== Push to internal mirrors === | |||
Just like the Betas, this is only going to internal mirrors (at first), so we add the following line to stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude: | |||
- firefox/releases/6.0 | |||
After waiting 10 minutes, forced the "release-mozilla-release-push_to_mirrors" with the following properties: | |||
release_config: mozilla/release-firefox-mozilla-release.py | |||
script_repo_revision: FIREFOX_6_0_RELEASE | |||
After we got uptake on all of the internal mirrors, re-enabled updates: | |||
# cltbld@aus2-staging | |||
cd /opt/aus2/incoming/3/Firefox | |||
chmod 775 4.0* 5.0* 6.0* | |||
touch . | |||
===Push XULRunner to Mirrors === | ===Push XULRunner to Mirrors === | ||
from a slave: | |||
ssh -l xrbld -i ~/.ssh/xrbld_dsa stage.mozilla.org | |||
<pre> | |||
# DRYRUN | |||
rsync -n -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip --exclude=*.checksums \ | |||
/pub/mozilla.org/xulrunner/nightly/6.0-candidates/build1/ /pub/mozilla.org/xulrunner/releases/6.0/ | |||
# FOR REAL | |||
rsync -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip --exclude=*.checksums \ | |||
/pub/mozilla.org/xulrunner/nightly/6.0-candidates/build1/ /pub/mozilla.org/xulrunner/releases/6.0/ | |||
</pre> | |||
=== Update XULRunner wiki page === | === Update XULRunner wiki page === | ||
Updated [https://developer.mozilla.org/en/Gecko_SDK Gecko_SDK page] | |||
=== Publish Fennec === | === Publish Fennec === | ||
==== Create bouncer entry for maemo ==== | ==== Create bouncer entry for maemo ==== | ||
Line 387: | Line 423: | ||
==== Push the files ==== | ==== Push the files ==== | ||
Used the following script (~ffxbld/push_fennec_release.sh on stage): | |||
<pre> | |||
export VERSION=6.0 | |||
export BUILDNUM=1 | |||
export RD=/home/ftp/pub/mozilla.org/mobile/releases | |||
export CD=/home/ftp/pub/mozilla.org/mobile/candidates | |||
mkdir $RD/$VERSION | |||
cd $RD/$VERSION | |||
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* \ | |||
--exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=*install* \ | |||
--exclude=*logs* \ | |||
$CD/$VERSION-candidates/build$BUILDNUM/ $RD/$VERSION/ | |||
for p in linux macosx win32; do | |||
locales=`cd $CD/$VERSION-candidates/build$BUILDNUM/$p/; ls -1 --hide=en-US` | |||
for i in $locales; do | |||
cp -a $CD/$VERSION-candidates/build$BUILDNUM/$p/$i/install/*.xpi \ | |||
$RD/$VERSION/$p/$i | |||
done | |||
done | |||
# repos | |||
mkdir $RD/$VERSION/repos | |||
rsync -av --exclude=*.install $CD/$VERSION-candidates/repos/ $RD/$VERSION/repos/ | |||
# symlink repos | |||
rm -f maemo | |||
ln -s repos maemo | |||
# link fremantle to chinook for multi deb repo | |||
cd $RD/$VERSION/maemo/multi/dists | |||
ln -s fremantle chinook | |||
cd $RD | |||
rm -f latest | |||
ln -s $VERSION latest | |||
</pre> | |||
==== Publish to the Android Market ==== | ==== Publish to the Android Market ==== | ||
* Downloaded http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/6.0-candidates/build1/android/multi/fennec-6.0.multi.eabi-arm.apk | |||
* Uploaded to the Android Market | |||
* Disabled old, enabled new APK | |||
* Updated Recent Changes per {{Bug|679173}} - [Mobile] Update Firefox 6 "What's New" copy | |||
'''IMPORTANT -''' Apparently it is possible for the old apk to "come back from the dead" and on this release it turned out that a second visit to the (insert expletive here) Market was necessary to '''re-activate''' the 6.0b4 apk AGAIN. So watch your back with anything to do with the Market and check it twice.<br /> | '''IMPORTANT -''' Apparently it is possible for the old apk to "come back from the dead" and on this release it turned out that a second visit to the (insert expletive here) Market was necessary to '''re-activate''' the 6.0b4 apk AGAIN. So watch your back with anything to do with the Market and check it twice.<br /> | ||
PROTIP: after publishing new apk on android marketplace, ask anyone in RelEng who has an android device to check for updates. Some delay in seeing new apk might be caused by cache-needing-to-refresh. However, a multi-hour delay in seeing new apk means there is something wrong with the settings in marketplace website. Fixing this may require going to the "upload new apk" tab, then clicking the "advanced" tab and looking at the build ids to compare to the build date you're expecting. | PROTIP: after publishing new apk on android marketplace, ask anyone in RelEng who has an android device to check for updates. Some delay in seeing new apk might be caused by cache-needing-to-refresh. However, a multi-hour delay in seeing new apk means there is something wrong with the settings in marketplace website. Fixing this may require going to the "upload new apk" tab, then clicking the "advanced" tab and looking at the build ids to compare to the build date you're expecting. | ||
<nowiki>Insert non-formatted text here</nowiki> | |||
=== Push index file to mirrors === | === Push index file to mirrors === | ||
Added the following lines to the top of stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude: | |||
<pre> | |||
+ firefox | |||
+ firefox/releases | |||
+ firefox/releases/6.0 | |||
+ firefox/releases/6.0/*/ | |||
+ firefox/releases/6.0/*/*/ | |||
+ firefox/releases/6.0/*/*/*/ | |||
+ firefox/releases/6.0/**index.html | |||
- firefox/releases/6.0/** | |||
</pre> | |||
Waited 10 minutes to ensure the rsync server picks up the changes, then removed the previously added "- firefox/releases/6.0" line. After that, ran the following to lay out the index files: | |||
<pre> | |||
# ffxbld@stage | |||
cd /pub/mozilla.org/firefox/releases/6.0 | |||
wget --no-check-certificate -O index.html https://bugzilla.mozilla.org/attachment.cgi?id=540139 | |||
sed -i -e 's/5/6/g' index.html | |||
for dir in `find . -type d -mindepth 1`; do cp -pv index.html $dir/; done | |||
</pre> | |||
=== Push to external mirrors === | === Push to external mirrors === | ||
Removed the following lines to the top of stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude: | |||
<pre> | |||
+ firefox | |||
+ firefox/releases | |||
+ firefox/releases/6.0 | |||
+ firefox/releases/6.0/*/ | |||
+ firefox/releases/6.0/*/*/ | |||
+ firefox/releases/6.0/*/*/*/ | |||
+ firefox/releases/6.0/**index.html | |||
- firefox/releases/6.0/** | |||
</pre> | |||
Updated stage:/pub/mozilla.org/zz/rsyncd-mozilla-current.exclude to carry 6.0 instead of 5.0.1. | |||
Forced email once uptake was over 45k. | |||
=== Final verification === | === Final verification === | ||
Had to force builders with properties | |||
release_config: mozilla/release-firefox-mozilla-release.py | |||
script_repo_revision: FIREFOX_6_0_RELEASE | |||
* linux was green | |||
* mac was red - consistent miss from mozilla.cdn.cacheboy.net, disabled in bouncer | |||
* windows was red - some '301 Moved Permanently' from data.mserverz.de, resulting in a couple of 404's at spock.mserverz.de and a couple 200's at tuvok.mserverz.de. Disabled data.mserverz.de | |||
* linux64 was red - another 301 -> 404 on spock.mserverz.de | |||
=== Push to Release Channel === | === Push to Release Channel === | ||
Note: use Firefox-6.0-build1-with-5.0-6. | Note: use Firefox-6.0-build1-with-5.0-partials directory | ||
# cltbld@aus2-staging | |||
~/bin/backupsnip Firefox-6.0-build1-with-5.0-partials | |||
~/bin/pushsnip Firefox-6.0-build1-with-5.0-partials | |||
=== Update symlinks === | === Update symlinks === | ||
# ffxbld@stage | |||
cd /pub/mozilla.org/firefox/releases | |||
ln -s 6.0 latest-6.0 | |||
rm latest && ln -s latest-6.0 latest | |||
=== Remove index.html files === | |||
cd /pub/mozilla.org/firefox/releases/6.0 | |||
find . -name index.html -exec echo rm -v {} \; | |||
find . -name index.html -exec rm -v {} \; | |||
=== Update browser choice website === | === Update browser choice website === | ||
Filed {{Bug|679394}} - Please update browserchoice website and download links for EUballot for Fx 6.0 |