ReleaseEngineering/How To/Generate partial updates: Difference between revisions

m
 
(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}}


<h1> Intro </h1>
= Intro =
<p>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 <span class="fck_mw_template">{{bug|575317}}</span> makes some progress.
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.
</p><p>Assumptions:
 
</p>
Assumptions:
<ul><li> 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 automated updates builder has already run, and you're re-using the slave for the copy of the utilities and scripts you need
</li><li> the request is for the release channel
* the request is for the release channel
</li><li> all locales are being generated, possibly only some of the platforms
* all locales are being generated, possibly only some of the platforms
</li></ul>
 
<p>For the purposes of this doc we'll say the update will be between $OLDV and $NEWV build$BUILD. The bug is $XXX<a href="http://www.freepornpump.com">XXX</a>
For the purposes of this doc we'll say the update will be between $OLDV and $NEWV build$BUILD. The bug is $XXXXXX
</p>


= 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 \
   "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/slave
  cd /e/builds/moz2_slave
  # else
  # else
  cd /builds/slave
  cd /builds/slave
Confirmed users
4,293

edits