Releases/Firefox 3.1a2:BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

bhearsum

Signed-off Revision

http://hg.mozilla.org/mozilla-central/rev/73967cc9e4ee

Bugs

Filed version bump bug in 452778

Tags

Module Tag Changeset
mozilla-central FIREFOX_3_1a2_BUILD1

FIREFOX_3_1a2_RELEASE

f197b51bbc29

Build data

Type Build ID SHA1 Push date Build machine
[Windows installer/zip] 20080829082037 moz2-win32-slave06
[Mac compressed] 20080829065003 bm-xserve19
[Linux compressed] 20080829071937 moz2-linux-slave03

Build 1

  • Done completely manually (no tinderbox, bootstrap, or buildbot).

Tagging

Source

  • Created a tar.bz2 and hg bundle. Basically, did this:
hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
hg up -r FIREFOX_3_1a2_BUILD1
hg bundle --base 0 -r FIREFOX_3_1a2_BUILD1 ../firefox-3.1a2-source.bundle
rm -rf .hg*
tar -cjf ../firefox-3.1a2-source.tar.bz2 .
  • Pushed to stage.m.o:/home/ftp/pub/firefox/nightly/3.1a2-candidates/build1/

Build

Forgot to log what I did. Basically, did this:

hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
hg up -r FIREFOX_3_1a2_BUILD1
hg clone http://hg.mozilla.org/build/buildbot-configs configs
cp configs/mozilla2/win32-release/mozconfig .mozconfig
cat .mozconfig
export MOZ_OBJDIR=fx-objdir
make -f client.mk build # 'make -f client.mk profiledbuild' on windows
cd fx-objdir
export SYMBOL_SERVER_HOST=dm-symbolpush01.mozilla.org
export SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_ffx/
export SYMBOL_SERVER_USER=ffxbld
export SYMBOL_SERVER_SSH_KEY=$properPathForHost
make buildsymbols
make uploadsymbols
make package # 'make installer' on windows
  • Pushed to dated directories (XXXXXX), and 3.1a2-candidates

Sign

Signed windows builds with instructions here: https://intranet.mozilla.org/Build:Signing Had to tag: browser/installer/windows/app.tag other-licenses/7zstub/firefox/7zSD.sfx

with FIREFOX_3_1a2_BUILD1 in CVS, because the signing tools do not support pulling stub files from HG (FIXME)

Stage

To rename the files, did the following:

# cltbld@stage.mozilla.org in /data/cltbld
mkdir -p batch1/stage-signed
cd batch1/stage-signed
rsync -av /home/ftp/pub/firefox/nightly/3.1a2-candidates/firefox-* .
mv firefox-3.1a2.en-US.linux-i686.tar.bz2 shiretoko-alpha2.en-US.linux-i686.tar.bz2
mv firefox-3.1a2.en-US.mac.dmg "Shiretoko Alpha 2.dmg"
mv firefox-3.1a2.en-US.win32.installer.exe "Shiretoko Alpha 2 Setup.exe"
mv firefox-3.1a2-source.bundle shiretoko-alpha2-source.bundle
mv firefox-3.1a2-source.tar.bz2 shiretoko-alpha2-source.tar.bz2

Sign installers

Done manually using these installer-signing-instructions here

  • complete stage-merged:
# on stage
cd /data/cltbld/firefox-3.1a2/
rsync -av batch1/stage-signed/ stage-merged/
  • Create MD5 and SHA1 checksum files
# on stage
cd /data/cltbld/firefox-3.1a2/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/admin.php