Confirmed users
4,293
edits
(→Intro) |
m (→Update Verify) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
{{Release Engineering How To|Generate_partial_updates}} | {{Release Engineering How To|Generate_partial_updates}} | ||
= Intro = | |||
This document is about generating partial updates from older releases, eg N-2 to N, on request from Release Management. We generate N-1 to N updates in the release automation, but more than that is a manual process until {{bug|575317}} makes some progress. | |||
Assumptions: | |||
* the automated updates builder has already run, and you're re-using the slave for the copy of the utilities and scripts you need | |||
* the request is for the release channel | |||
* all locales are being generated, possibly only some of the platforms | |||
For the purposes of this doc we'll say the update will be between $OLDV and $NEWV build$BUILD. The bug is $XXXXXX | |||
= Create config files = | = Create config files = | ||
| Line 83: | Line 82: | ||
IP=`/sbin/ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}'` | IP=`/sbin/ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}'` | ||
ssh -oBatchMode=no cltbld@buildbot-master12.build.mozilla.org \ | ssh -oBatchMode=no cltbld@buildbot-master12.build.mozilla.org \ | ||
"curl --fail -k -Fslave_ip=$IP -Fduration=3600 --user reda:cted \ | |||
https://signing1.build.scl1.mozilla.com:9120/token | https://signing1.build.scl1.mozilla.com:9120/token" \ | ||
> /builds/slave/rel-m-rel-updates/token | > /builds/slave/rel-m-rel-updates/token | ||
rm /builds/slave/rel-m-rel-updates/nonce | rm /builds/slave/rel-m-rel-updates/nonce | ||
| Line 118: | Line 117: | ||
ftp/firefox/nightly/$NEWV-candidates/build$BUILD/update \ | ftp/firefox/nightly/$NEWV-candidates/build$BUILD/update \ | ||
ffxbld@stage.mozilla.org:/pub/mozilla.org/firefox/nightly/$NEWV-candidates/build$BUILD/ | ffxbld@stage.mozilla.org:/pub/mozilla.org/firefox/nightly/$NEWV-candidates/build$BUILD/ | ||
# after verifying output replace -nav with -av to push for real | |||
Upload snippets (~ 1 min) | Upload snippets (~ 1 min) | ||
| Line 144: | Line 144: | ||
# windows | # windows | ||
cd /e/builds/ | cd /e/builds/moz2_slave | ||
# else | # else | ||
cd /builds/slave | cd /builds/slave | ||