Thunderbird 2.0.0.12:BuildNotes: Difference between revisions

Final steps
(Final steps)
 
(11 intermediate revisions by 2 users not shown)
Line 146: Line 146:
  ./release -o Repack -v 2>&1 | tee logs/release-Repack-Verify.log
  ./release -o Repack -v 2>&1 | tee logs/release-Repack-Verify.log


===Updates===
===Update Generation===


Generated on production-prometheus-vm,
Generated on production-prometheus-vm,
Line 157: Line 157:


NB: DisableCompleteJump will need to be manually added to the rc block of the patcher config if we do an rc2, then regenerate the snippets.
NB: DisableCompleteJump will need to be manually added to the rc block of the patcher config if we do an rc2, then regenerate the snippets.
QA found a problem with the details url - {{bug|418450}}. So we fix the config and regenerate the snippets:
cd /builds/updates/thunderbird-2.0.0.12/config
cvs up
cd ../patcher/temp/thunderbird/2.0.0.9-2.0.0.12
mkdir wrong-details-url
mv aus2* wrong-details-url/
cd ../../..
./patcher2.pl --create-patchinfo --app=thunderbird \
  --config=../config/moz18-branch-patcher2.cfg 2>&1 | tee thunderbird-create-patchinfo.log
Do some quick verification
cd temp/thunderbird/2.0.0.9-2.0.0.12
diff -r aus2.test/ wrong-details-url/aus2.test/ | less
diff -r aus2.beta/ wrong-details-url/aus2.beta/ | less
diff -r aus2/ wrong-details-url/aus2/ | less
Only the detailsURL differs.
Push to aus2-staging as 20080219-Thunderbird-2.0.0.12{-test,-beta,}, then manually push 20080219-Thunderbird-2.0.0.12-test live.


===Update Verify===
===Update Verify===
Line 164: Line 184:


On crazyhorse, verify failed because wget is too old. Removed <tt>--no-check-certificate</tt> argument in updates/verify.sh, common/download_mars.sh, and common/download_builds.sh, then reran.
On crazyhorse, verify failed because wget is too old. Removed <tt>--no-check-certificate</tt> argument in updates/verify.sh, common/download_mars.sh, and common/download_builds.sh, then reran.
patrocles doesn't have wget, so used production-pacifica-vm instead - needed to modify the win32_logDir from /cygdrive/e/... to /cygdrive/c/... in the bootstrap config.
Get expected FAIL's for 2.0b2/gu-IN/all platforms and 2.0b2/he/mac - no longer shipped. Also non-binary warnings for installed-chrome.txt and removed-files, which we no longer ignore.
===Updates to Beta Channel===
After QA gives "ok" to push to beta channel, on aus2-staging do:
  # put snippets on beta
  $ screen
  $ sudo su - cltbld
  $ cd /opt/aus2/snippets/staging
  $ ~/bin/pushsnip 20080219-Thunderbird-2.0.0.12-beta
===Stage===
On production-1.8-master
./release -o Stage 2>&1 | tee logs/release-Stage.log
Backed up /data/cltbld/bin/verify-locales.pl before running this, and modified the three regex's on the file name (firefox -> thunderbird, Firefox -> Thunderbird). This is {{bug|409232}}.
===Sign Installers===
* ''NOTE'' - production-1.8-master is not used from here on
* pull stage:/data/cltbld/thunderbird-2.0.0.12/batch1/stage-signed/ to signing machine
* follow installer-signing-instructions [https://intranet.mozilla.org/Build:Unified_Release_Process#Sign_builds here]
* push signed bits back to same location on stage
* complete stage-merged:
# on stage
cd /data/cltbld/thunderbird-2.0.0.12/
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.12/stage-merged/
~/bin/checksum-files .
* Fix permissions & ownership (on the two SUM files, and the detached sigs)
chown -R cltbld:thunderbird .
chmod 644 *SUMS
===Release===
* get the last formal "go" from QA/Dev/website/IT/release-drivers
* push the stage-merged directory to the releases area (had to create target dir as root first):
# on stage
rsync -av /data/cltbld/thunderbird-2.0.0.12/stage-merged/ /home/ftp/pub/thunderbird/releases/2.0.0.12/
* After pushing live, move forward the "latest" and "latest-2.0" symlinks.
  cd /home/ftp/pub/thunderbird/releases/
  rm latest
  ln -s 2.0.0.12 latest
  rm latest-2.0
  ln -s 2.0.0.12 latest-2.0
* Update stage:/etc/rsyncd-mozilla-current.exclude - not critical that this happens immediately.
===Update Bouncer===
* Add entries to download.mozilla.org
===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 | sed 's/betatest/releasetest/' > 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/20080219-Thunderbird-2.0.0.12
find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20080219-Thunderbird-2.0.0.12-test/$a");'
===Enable update channel===
* Wait for QA to finish testing update snippets on releasetest channel, then enable update snippets on release channel
  # on aus2-staging
  # put snippets on release/live channel
  $ screen
  $ sudo su - cltbld
  $ cd /opt/aus2/snippets/staging
  $ ~/bin/pushsnip 20080219-Thunderbird-2.0.0.12
Confirmed users
4,293

edits