Confirmed users
4,293
edits
Line 390: | Line 390: | ||
==== Generate 12.0 to 14.0.1 partial update for windows ==== | ==== Generate 12.0 to 14.0.1 partial update for windows ==== | ||
<pre> | |||
## on linux-ix-slave36 | |||
cd /builds/slave/rel-m-rel-updates/build | |||
mkdir -p logs/12.0-14.0.1 | |||
curl -sL https://bugzilla.mozilla.org/attachment.cgi?id=642484 \ | |||
> patcher-configs/mozRelease-branch-patcher2-758795.cfg | |||
# save the previous partial working space, but duplicate 14.0.1 | |||
# win32 completes as a speed up (2 min) | |||
mv temp/ temp-13.0.1-14.0.1-partial/ | |||
mkdir -p temp/firefox/14.0.1/ftp | |||
cp -pv temp-13.0.1-14.0.1-partial/firefox/14.0.1/ftp/*win32* temp/firefox/14.0.1/ftp/ | |||
## build tools - skipped as we had this from 12.0.1 - 13.0.1 | |||
## Get the complete mar files (8 min) | |||
perl patcher2.pl --download \ | |||
--app=firefox --brand=Firefox \ | |||
--config=patcher-configs/mozRelease-branch-patcher2-758795.cfg | |||
## Generate unsigned partial updates (28 min) | |||
perl patcher2.pl --create-patches --partial-patchlist-file=patchlist.cfg \ | |||
--app=firefox --brand=Firefox \ | |||
--config=patcher-configs/mozRelease-branch-patcher2-758795.cfg \ | |||
2>&1 | tee logs/12.0-14.0.1/create-partials.log | |||
## Make a backup of the new partials/snippets, destroy snippets (< 1 min) | |||
rsync -a temp/firefox/12.0-14.0.1{,-unsigned}/ | |||
rm -rf temp/firefox/12.0-14.0.1/aus2* | |||
## Sign the mar files (< 1 min) | |||
# get a token | |||
# look up the values for --user in the release-signing part of passwords.py, on the master | |||
unset HISTFILE | |||
IP=`/sbin/ifconfig eth0 | grep "inet addr" | awk -F: '{print $2}' | awk '{print $1}'` | |||
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" \ | |||
> /builds/slave/rel-m-rel-updates/token | |||
rm /builds/slave/rel-m-rel-updates/nonce | |||
# update the channel id and version, then sign ( min) | |||
(for f in `find temp/firefox/12.0-14.0.1/ftp -type f -name *partial.mar | sort`; do | |||
echo Signing $f | |||
mozilla/obj/dist/host/bin/mar -H firefox-mozilla-release -V 14.0.1 -i $f; | |||
/tools/python-2.6.5/bin/python \ | |||
/builds/slave/rel-m-rel-updates/tools/release/signing/signtool.py \ | |||
-t /builds/slave/rel-m-rel-updates/token -n /builds/slave/rel-m-rel-updates/nonce \ | |||
-c /builds/slave/rel-m-rel-updates/tools/release/signing/host.cert \ | |||
-H signing1.build.scl1.mozilla.com:9120 -H signing2.build.scl1.mozilla.com:9120 -f gpg -f mar \ | |||
"$f" | |||
done ) 2>&1 | tee logs/12.0-14.0.1/sign-partials.log | |||
</pre>'''DONE TO HERE''' | |||
<pre> | |||
## Regenerate the snippets () | |||
perl patcher2.pl --create-patchinfo \ | |||
--app=firefox --brand=Firefox \ | |||
--config=patcher-configs/mozRelease-branch-patcher2-758795.cfg \ | |||
2>&1 | tee logs/12.0-14.0.1/generate_snippets.log | |||
# Snippet verification (1 min) | |||
cd temp/firefox/12.0-14.0.1 | |||
bash /builds/slave/rel-m-rel-updates/tools/release/compare-channel-snippets.sh \ | |||
aus2 release aus2.test releasetest | |||
# Tidy and upload mar files () | |||
find ftp/firefox/nightly/14.0.1-candidates/build1 -type f -exec chmod 644 {} \; | |||
find ftp/firefox/nightly/14.0.1-candidates/build1 -type d -exec chmod 755 {} \; | |||
# $BUILD is the build number, eg 1, 2, ... | |||
rsync -nav -e 'ssh -oIdentityFile=~/.ssh/ffxbld_dsa' '--exclude=*complete.mar' \ | |||
ftp/firefox/nightly/14.0.1-candidates/build1/update \ | |||
ffxbld@stage.mozilla.org:/pub/mozilla.org/firefox/nightly/14.0.1-candidates/build1/ | |||
# then repeat without the -n | |||
# Upload snippets () | |||
rsync -av -e 'ssh -oIdentityFile=~/.ssh/auspush' --exclude=complete.txt \ | |||
aus2.test/ \ | |||
ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-14.0.1-build1-12.0-partial-test | |||
rsync -av -e 'ssh -oIdentityFile=~/.ssh/auspush' --exclude=complete.txt \ | |||
aus2/ \ | |||
ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-14.0.1-build1-12.0-partial | |||
==== Generate release-cck-mozilla11/12 snippets ==== | ==== Generate release-cck-mozilla11/12 snippets ==== |