Thunderbird3.0a1:BuildNotes: Difference between revisions

Line 152: Line 152:
==Build==
==Build==


1. Stop tinderbox
cd /builds/tinderbox
./tinderbox multi stop  # ps -ef | auxww to see check for tinderbox stopped and kill otherwise
2. Update tinderbox code to the latest release automation milestone
cd /builds/tinderbox
cvs up -r RELEASE_AUTOMATION_M9
3. Create the tinderbox build directories
# on linux and mac (skip to windows otherwise)
cd /builds/tinderbox
mkdir Tb-Mozilla1.9-Release
cd Tb-Mozilla1.9-Release
../mozilla/tools/tinderbox/install-links
# on windows
cd /e/
mkdir tb19rel
cd tb19rel
<copy in files from tinderbox dir>
# all platforms
rm tinderbox
cvs -d tbirdbld@cvs.mozilla.org:/cvsroot co -r release -d tinderbox-configs mozilla/tools/tinderbox-configs/thunderbird/linux # or macosx or win32
ln -s tinderbox-configs/mozconfig
ln -s tinderbox-configs/tinder-config.pl
4. Symlink the ssh keys
cd ~/.ssh
rm id_dsa; ln -s cltbld_dsa id_dsa
rm id_dsa.pub; ln -s cltbld_dsa.pub id_dsa.pub
5. Checkout the release code and set up log dir, log and bootstrap links
cd /builds
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d release -r RELEASE_AUTOMATION_M9 mozilla/tools/release
cd release/configs
cvs up -A
cd ..
rm bootstrap.cfg logs
ln -s configs/tb-moz19-bootstrap.cfg bootstrap.cfg
mkdir -p old-logs/logs.tb30a1/rc1
ln -s old-logs/logs.tb30a1/rc1 logs
make test
After the build is complete, switch the keys back to tbirdbld, <tt>cvs up -A</tt> in <tt>/builds/tinderbox/mozilla/tools/tinderbox</tt> and restart tinderbox
After the build is complete, switch the keys back to tbirdbld, <tt>cvs up -A</tt> in <tt>/builds/tinderbox/mozilla/tools/tinderbox</tt> and restart tinderbox
66

edits