ReleaseEngineering/Archive/Promote Unagi to beta

From MozillaWiki
< ReleaseEngineering
Revision as of 20:45, 13 December 2012 by Rail (talk | contribs) (Created page with "{{Release Engineering How To|Promote_Unagi_to_beta}} = Convert date to build ID = Since we build nightly and beta as separate builds, their build IDs may be different. You need ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Convert date to build ID

Since we build nightly and beta as separate builds, their build IDs may be different. You need to find build ID for the beta build. For example, if release-drivers want to promote 12-12-12 build:

Publish updates

To make updates work properly you need to copy 2 files from the betatest direcotry to the beta directory:

  • MAR file (you also need to rename it)
  • application.ini file

Use a mock based host as a jump host:

ssh -i .ssh/b2gbld_dsa ec2-user@update.boot2gecko.org
bid=20121212102240
cd /data/update-channels/beta
cp -avi ../betatest/application_$bid.ini ../beta/
cp -avi ../betatest/b2g_update_$bid.mar ./b2g_beta_update_$bid.mar

Upload image file to https://releases.mozilla.com/b2g-testdrivers/

Download https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-beta-unagi_betatest/2012/12/2012-12-12-10-22-40/unagi.zip as unagi_beta_$bid.zip Copy it to stage.m.o using one of the slaves:

chmod 644 unagi_beta_$bid.zip
rsync -avP -e "ssh -i $HOME/.ssh/b2gbld_dsa" unagi_beta_$bid.zip b2gbld@stage.mozilla.org:/mnt/netapp/stage/releases.mozilla.com/b2g-testdrivers/
ssh -i $HOME/.ssh/b2gbld_dsa b2gbld@stage.mozilla.org ln -sf unagi_beta_$bid.zip /mnt/netapp/stage/releases.mozilla.com/b2g-testdrivers/unagi_beta_l

atest.zip

  • Dowble check if you can download the files.