Confirmed users
4,293
edits
No edit summary |
|||
(9 intermediate revisions by 2 users not shown) | |||
Line 91: | Line 91: | ||
Automated, no problems | Automated, no problems | ||
====Build==== | ====Build/Repack==== | ||
Automated, no problems | Automated, no problems | ||
Line 113: | Line 113: | ||
====Push updates to beta channel==== | ====Push updates to beta channel==== | ||
'' | $ sudo su - cltbld | ||
$ time ~/bin/backupsnip 20081107-Thunderbird-2.0.0.18-beta | |||
Running /bin/tar cfvj /opt/aus2/snippets/backup/20081112-1-pre-20081107-Thunderbird-2.0.0.18-beta.tar.bz2 . | |||
real 26m45.116s | |||
user 0m34.449s | |||
sys 1m7.300s | |||
$ time ~/bin/pushsnip 20081107-Thunderbird-2.0.0.18-beta | |||
real 1m34.444s | |||
user 0m0.074s | |||
sys 0m2.976s | |||
====Sign Installers==== | |||
* Done manually using these installer-signing-instructions [https://intranet.mozilla.org/Build:Unified_Release_Process#Sign_builds here] | |||
* complete stage-merged: | |||
# on stage | |||
cd /data/cltbld/thunderbird-2.0.0.18/ | |||
rsync -av batch1/mar/ stage-merged/ | |||
rsync -av batch1/stage-signed/ stage-merged/ | |||
* Create MD5 and SHA1 checksum files | |||
# on stage | |||
cd /data/cltbld/thunderbird-2.0.0.18/stage-merged/ | |||
~/bin/checksum-files . | |||
* Fix permissions & ownership (on the two SUM files, and the detached sigs) | |||
chown -R cltbld:thunderbird . | |||
chmod 644 *SUMS | |||
====Update Bouncer==== | |||
* Manually added entries to download.mozilla.org | |||
* ''Note for next release: Do not remove the Check Now bit on the Thunderbird-2.0.0.18 Products until well after the change to the rsync module (to prevent the likes of {{bug|464566}})'' | |||
==== Push to mirrors ==== | |||
* push the stage-merged directory to the releases area: | |||
# on stage (as cltbld) | |||
rsync -av /data/cltbld/thunderbird-2.0.0.18/stage-merged/ /home/ftp/pub/thunderbird/releases/2.0.0.18/ | |||
==== Update rsync module ==== | |||
On stage.mozilla.org, add the new release to the smaller, faster, rsync module: | |||
# on stage (as cltbld) | |||
cd /pub/mozilla.org/zz/ | |||
vi rsyncd-mozilla-current.exclude | |||
and replace the previous latest release (Tb2.0.0.17) with: | |||
+ thunderbird/releases/2.0.0.18 | |||
+ thunderbird/releases/2.0.0.18/** | |||
====Final Verification==== | |||
* Verify that releasetest points to valid bouncer links: | |||
# this can be run from anywhere | |||
cvs co mozilla/testing/release | |||
cd mozilla/testing/release/updates | |||
cat moz18-thunderbird-*.cfg | grep -v major | sed 's/betatest/releasetest/' | grep -v 2.0a | grep -v 2.0b > update.cfg | |||
./verify.sh -t update.cfg 2>&1 | tee quickVerify.log | |||
* Look for any HTTP error codes besides 200 ("OK") and 302 ("Found"): | |||
grep HTTP quickVerify.log | grep -v 200 | grep -v 302 | |||
* Look for mirrors that do not respond | |||
grep FAIL quickVerify.log | |||
* Before pushing final updates,verify that "release" and "releasetest" channel match: | |||
# on aus2-staging | |||
cd /opt/aus2/snippets/staging/20081107-Thunderbird-2.0.0.18 | |||
find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20081107-Thunderbird-2.0.0.18-test/$a");' | |||
==== Publish Updates to Release Channel ==== | |||
* '''In case you need to cancel/abort updates, the quickest way to do this is [https://intranet.mozilla.org/Build:Updates here]''' | |||
* While waiting for QA to finish testing, do a backup: | |||
# on aus2-staging verify we have correct tools | |||
$ sudo su - cltbld | |||
$ cd ~/bin | |||
$ cvs update -dP | |||
# backup snippets on release/live channel | |||
$ time ~/bin/backupsnip 20081107-Thunderbird-2.0.0.18 | |||
Running /bin/tar cfvj /opt/aus2/snippets/backup/20081119-1-pre-20081107-Thunderbird-2.0.0.18.tar.bz2 . | |||
real 29m24.758s | |||
user 0m27.689s | |||
sys 0m44.439s | |||
* After QA finished testing the releasetest channel and go from release driver, enable release channel: | |||
# on aus2-staging | |||
# put snippets on release/live channel | |||
$ sudo su - cltbld | |||
$ time ~/bin/pushsnip 20081107-Thunderbird-2.0.0.18 | |||
====Update symlink==== | |||
On stage.m.o, change symlink to point to new release: | |||
$ cd /pub/mozilla.org/thunderbird/releases | |||
# confirm where latest symlinks point to where before starting | |||
$ ls -la latest* | |||
lrwxrwxrwx 1 cltbld thunderbird 8 Sep 25 15:17 latest -> 2.0.0.17 | |||
lrwxrwxrwx 1 root thunderbird 8 Feb 26 2008 latest-1.5 -> 1.5.0.14 | |||
lrwxrwxrwx 1 cltbld thunderbird 8 Sep 25 15:17 latest-2.0 -> 2.0.0.17 | |||
$ rm latest # (note no trailing slash) | |||
$ ln -s 2.0.0.18 latest | |||
$ rm latest-2.0 # (note no trailing slash) | |||
$ ln -s 2.0.0.18 latest-2.0 | |||
# confirm latest symlinks point to newest release | |||
$ ls -la latest* | |||
lrwxrwxrwx 1 cltbld thunderbird 8 Nov 19 15:21 latest -> 2.0.0.18 | |||
lrwxrwxrwx 1 root thunderbird 8 Feb 26 2008 latest-1.5 -> 1.5.0.14 | |||
lrwxrwxrwx 1 cltbld thunderbird 8 Nov 19 15:21 latest-2.0 -> 2.0.0.18 |