ReleaseEngineering/Archive/Promote Unagi to beta
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:
- go to http://update.boot2gecko.org/betatest/
- search for update_20121212*.xml
- open that file and search for buildID (20121212102240 in my case)
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
- Double check if http://update.boot2gecko.org/beta/update.xml returns proper build ID
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.