Releases/Firefox 2.0.0.17:BuildNotes: Difference between revisions

Jump to navigation Jump to search
Line 116: Line 116:
====Sign====
====Sign====
* [https://intranet.mozilla.org/Build:Signing Signing doc]
* [https://intranet.mozilla.org/Build:Signing Signing doc]
 
** failed during signing due to timestamp error
====L10nVerify====
*** chose to ignore, since we'll be pursuing a second build
No changes
 
====Generate Updates====
* No problems.
 
====Publish Updates to Test Channels (betatest & releasetest)====
No problems
 
====Update Verify====
No problems
 
====Stage====
No problems
 
====Push Updates to Beta Channels====
-bash-3.2$ time ~/bin/backupsnip 20080703-Firefox-2.0.0.17-beta
Running /bin/tar cfvj /opt/aus2/snippets/backup/20080703-3-pre-20080703-Firefox-2.0.0.17-beta.tar.bz2 .
real  28m28.028s
user  0m23.019s
sys    0m34.685s
~/bin/pushsnip 20080703-Firefox-2.0.0.17-beta
 
====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/firefox-2.0.0.17/
rsync -av batch1/mar/ stage-merged/
rsync -av batch1/stage-signed/ stage-merged/
* Create MD5 and SHA1 checksum files
# on stage
cd /data/cltbld/firefox-2.0.0.17/stage-merged/
~/bin/checksum-files .
* Fix permissions & ownership (on the two SUM files, and the detached sigs)
chown -R cltbld:firefox .
chmod 644 *SUMS
 
====Update Bouncer====
* Manually added entries to download.mozilla.org
 
==== Add release to 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 (FF2.0.0.15) with:
+ firefox/releases/2.0.0.17
+ firefox/releases/2.0.0.17/**
 
==== Push to mirrors ====
* push the stage-merged directory to the releases area:
# on stage (as cltbld)
rsync -av /data/cltbld/firefox-2.0.0.17/stage-merged/ /home/ftp/pub/firefox/releases/2.0.0.17/
 
 
 
====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-firefox-*.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
 
* Before pushing final updates,verify that "release" and "releasetest" channel match:
# on aus2-staging
cd /opt/aus2/snippets/staging/20080703-Firefox-2.0.0.17
find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20080703-Firefox-2.0.0.17-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:
  # as cltbld on aus2-staging.mozilla.org
  $ cd /opt/aus2/snippets/staging
  $ time ~/bin/backupsnip 20080703-Firefox-2.0.0.17
real  34m11.108s
user  0m22.534s
sys    0m32.862s
 
====Release====
 
====Free Software Builds====
* Bump the BuildTag definition in the three tinder-config.pl, [http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=MOZILLA_1_8_BRANCH_release_free_software&branchtype=regexp&dir=mozilla%2Ftools%2Ftinderbox-configs%2F&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=day&mindate=2008-02-07+08%3A00&maxdate=2008-02-07+08%3A45&cvsroot=%2Fcvsroot like this]
 
* Done on production machines:
** production-pacifica-vm (win32)
** bm-xserve05 (macosx)
** production-prometheus-vm (linux)
 
* Start builds:
cd /builds/tinderbox/Fx-Mozilla1.8-FS
./build-seamonkey.pl --once --depend --config-cvsup-dir `pwd`/tinderbox-configs/ 2>&1 | tee FIREFOX_2.0.0.17build1_FS.log
 
* Stage
# as cltbld@stage
mkdir -p ~/firefox-2.0.0.17-fs/batch1/prestage
cd ~/firefox-2.0.0.17-fs/batch1
# rsync from push dirs
rsync -av /home/ftp/pub/firefox/nightly/2008-07-03-07-mozilla1.8-fs/ ./prestage/
rsync -av prestage/ prestage-trimmed/
rm -v prestage-trimmed/*.zip
rsync -av prestage-trimmed/ stage/
cd stage
~/bin/groom-files --long="2.0.0.17.fs" .
chown -R cltbld:firefox * .
find . -type f -exec chmod -v 644 {} \;
find . -type d -exec chmod -v 755 {} \;
cd ../
rsync -av stage/ /home/ftp/pub/firefox/releases/2.0.0.17/contrib/free-software/
541

edits

Navigation menu