Commit Graph
86 Commits
Author SHA1 Message Date
Wander Lairson Costa e94d53d7f2 Bug 1223950: Fix branch name for balrog publishing. r=nthomas 2015-11-11 21:58:15 -02:00
Alexandre Lissy c45b63e8df Bug 1201540 - Add support for multiple OTA/FOTA types. r=catlee
B2G updates can be of multiple types:
 - OTA, applied without rebooting the device,
 - FOTA with only Gecko/Gaia,
 - FOTA with whole system partition files,
 - FOTA dumping partitions images.

Each type of updates has its advantages and drawbacks. There is an
extensive documentation maintained on MDN about each and the options:
https://developer.mozilla.org/en-US/Firefox_OS/Building_and_installing_Firefox_OS/Firefox_OS_update_packages

All those updates are being packaged as a MAR file that gets injected
into the classical Firefox update mechanism, submitted to Balrog and
downloaded by the client. The content of the MAR will however depend on
the type of update: an OTA update will packate a Gecko and Gaia set of
files to update those parts; while any FOTA package is just an
update.zip that will get applied in recovery mode on the device.

So one fundamental difference is that OTA will not reboot your device
(just Gecko) while FOTA requires a working recovery mode and will reboot
your device. But OTA needs more system partition space to get applied,
and it can only update files that are within the /system/b2g/ directory.
FOTA on the other hand can update anything since the payload will
contain an update script written in Edify (Android recovery update
scripting language).

For each device we might need to produce several types of updates that
will be pushed to users depending on the context: for some users we want
to push just a Gecko/Gaia update, for some we know that we need to
update more content and thus we need to send some partitions.
Previously, the b2g_build.py script would only allow one kind of update
payload to be produced for each device available: we would need to have
a device "flame-kk-ota" and "flame-kk-fota" just to produce the OTA and
FOTA packages for the same device, thus resulting in a waste of
computing power and storage.

This commit introduces a new field "update_types" that can take an array
of values:
 - ota, to produce an OTA package as before
 - fota, to produce a FOTA package with only Gecko/Gaia
 - fota:full, to produce a FOTA package of all files of the system
   partition
 - fota:fullimg, to produce a FOTA package dumping partitions

The old "update_type" will be used in the absence of "update_types". And
if none are present, we will keep defaulting to generating OTA as
previously.
2015-11-03 10:25:00 +01:00
Alexandre Lissy 3bb3d42877 Bug 1221645 - Make Nexus 4 KK and Nexus 5 L full images public. r=wcosta 2015-11-04 11:51:00 +01:00
Alexandre Poirot dd677b8501 Bug 1198877 - Tweak simulator build script to accept any platform package. r=jryans 2015-11-03 13:35:11 -08:00
Wander Lairson Costa 5631a7aebf Backout "Bug 1144808 part 2: Harden phone-builder image."
Things just got too hard for B2G people to change build scripts, so we
are backing out this.
2015-10-28 11:17:58 -02:00
Alexandre Poirot 29969f2cc2 Bug 1213011 - Use stable file name for simulator xpi in TC. r=garndt 2015-10-26 10:45:47 -07:00
Andrew Halberstadt 200cd93f14 Bug 1171033 - Add taskcluster linux64 test configs (but not scheduled anywhere yet), r=dustin
This adds test configs for desktop linux64 unittests, including: mochitest-plain,
mochitest-browser-chrome, mochitest-devtools-chrome, reftest and xpcshell. It
also does a minor refactor of the b2g configs to remove some b2g-specific logic
from the base 'test.yml' config.

This does *not* schedule these tests anywhere just yet.
2015-10-15 15:35:45 -04:00
Andrew Halberstadt da82c009a0 Backout 11ba4c03d205 for gecko decision bustage 2015-10-23 11:20:48 -04:00
Andrew Halberstadt 076dbdfb0e Bug 1171033 - Add taskcluster linux64 test configs (but not scheduled anywhere yet), r=dustin
This adds test configs for desktop linux64 unittests, including: mochitest-plain,
mochitest-browser-chrome, mochitest-devtools-chrome, reftest and xpcshell. It
also does a minor refactor of the b2g configs to remove some b2g-specific logic
from the base 'test.yml' config.

This does *not* schedule these tests anywhere just yet.
2015-10-15 15:35:45 -04:00
Wes Kocher 999e8cde6f Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Wander Lairson Costa df1634ab75 Bug 1144808 part 2: Harden phone-builder image. r=garndt
We don't run free commands from tasks, we now allow only scripts shipped
in the phone-builder image.

We also added support to an allowed whitelist of github and bitbucket
users to run tasks from their respective private repositories.
2015-10-22 11:40:22 -02:00
Dustin J. Mitchell 510f817a88 Bug 1214809: use 'sudo' instead of 'su' to drop root privs; r=ted 2015-10-20 18:12:09 -04:00
Ehsan Akhgari d6c2b34c5e Bug 1214948 - Add a script to build Linux clang using TaskCluster; r=ted
DONTBUILD
2015-10-19 16:14:12 -04:00
Dustin J. Mitchell 85cc1730ce Bug 1213325: refactor desktop-test to use an in-tree script; r=ahal
This generally makes the approach look more like that for desktop-build.  The
major difference is that `bin/test.sh` takes arguments which are passed on to
the mzoharness script (MOZHARNESS_SCRIPT) with the addition of config
arguments (MOZHARNESS_CONFIG)
2015-10-13 14:20:34 -04:00
Wes Kocher 99de1183ae Backed out changeset e58169d5f96a (bug 1204800) for flame-kk build failures 2015-10-06 17:51:12 -07:00
Dustin J. Mitchell e945097647 Bug 1209494: remove refs to RELENGAPI_TOKEN, TOOLTOOL_CACHE; r=jlund
RELENGAPI_TOKEN is no longer needed, with the advent of the relengapi proxy.

TOOLTOOL_CACHE has a reasonable default (and why would you want to change
that, anyway?)
2015-10-02 11:37:28 -04:00
John Dai 05446059d8 Bug 1204800 - Add tooltool dependencies to phone builds. r=wcosta 2015-10-05 22:57:00 +02:00
Mike Hommey 22342db97d Bug 1210642 - s/APP_BUILDID/MOZ_APP_BUILDID/ to use the same variable name across products. r=gps 2015-10-06 11:15:05 +09:00
Wander Lairson Costa babc28b546 Bug 1210467: Exit script if aws fails to list backup file. r=garndt
Make a dummy call to aws client to make sure credentials are ok.
2015-10-02 11:30:08 -03:00
Wander Lairson Costa 184b2f8c45 Backed out changeset 19db5133d27c 2015-10-01 16:10:16 -03:00
Wander Lairson Costa 4118b78e67 Bug 1210467: Exit script if aws fails to list backup file. r=garndt
As the aws command line tool call is piped, its status is lost, but the
net result is an empty variable assigment. We take advantage of this to
detect errors in the aws tool.
2015-10-01 15:29:46 -03:00
Jordan Lund 89d6f23b22 Bug 1199720 - Setup builds for b2gdroid, taskcluster and mozharness bits, r=dustin 2015-09-30 13:57:52 -07:00
Alexandre Poirot a837c0de9b Bug 1207653 - Build simulator from mulet. r=garndt,jryans 2015-09-29 03:02:48 -07:00
Carsten "Tomcat" Book 33c17559d5 Merge mozilla-central to b2g-inbound 2015-09-23 12:35:32 +02:00
Alexandre Lissy d15dab7a90 Bug 1206379 - Fix blobfree distribution collect for nexus-5-l. r=wcosta 2015-09-22 04:13:00 +02:00
Jordan Lund 8da8e9b0ab Bug 1206106 - Create a java tarball that works on CentOS 6, taskcluster task template, CLOSED TREE NPOTB r=testing 2015-09-22 11:34:15 -07:00
Wes Kocher 3ccd3bed20 Backed out changeset 520103c26e0c (bug 1206106) for apparently breaking b2g device builds CLOSED TREE 2015-09-22 11:56:01 -07:00
Jordan Lund 0633b5653f Bug 1206106 - Create a java tarball that works on CentOS 6, taskcluster task template, NPOTB r=testing 2015-09-22 11:34:15 -07:00
Edgar Chen cd1347d243 Bug 1188330 - Use intree mozharness for taskcluster tests. r=dustin,garndt,wcosta 2015-09-04 17:01:36 +08:00
Edgar Chen d0273fe58b Bug 1205934 - Switch Taskcluster Dolphin builds to in-tree mozharness. r=wcosta 2015-09-18 10:44:51 +08:00
Dustin J. Mitchell 42b9e77829 Bug 1198179: in taskcluster, have 'make upload' just copy; r=ted.mielczarek 2015-09-11 11:35:00 -04:00
Ted Mielczarek 152ef48b7a Tweak cctools build script (No bug, NPOTB) 2015-09-09 11:36:28 -04:00
Ted Mielczarek 16967c9cd7 bug 1202811 - Invoke mozharness with python 2.7 from build-linux.sh. r=dustin 2015-09-08 15:32:38 -04:00
Wander Lairson Costa ae3de59727 Bug 1201179: Use custom branch gecko objdir for emulator and phone builds. r=garndt
Messing up with shared cached object directories for different branches
often triggers build bustage. Make the object directory unique for each
branch.
2015-09-10 11:40:21 -03:00
Carsten "Tomcat" Book 201b7ecb33 Backed out 1 changesets (bug 1201179) for bustage on a CLOSED TREE
Backed out changeset aa3cbda42b11 (bug 1201179)
2015-09-10 14:25:24 +02:00
Wander Lairson Costa 0f1a6b5d89 Bug 1203144: Add tooltool dependencies to emulator builds. r=garndt,dustin 2015-09-10 08:26:33 -03:00
Wander Lairson Costa 440d5e105e Bug 1201179: Use custom branch gecko objdir for emulator and phone builds. r=garndt
Messing up with shared cached object directories for different branches
often triggers build bustage. Make the object directory unique for each
branch.
2015-09-09 11:28:06 -03:00
Ted Mielczarek 1da64308a2 bug 1201012 - Update minidump_stackwalk taskcluster build script to build stackwalk-http as the minidump_stackwalk for testing (NPOTB) 2015-09-02 12:19:23 -04:00
Carsten "Tomcat" Book ff771c93e1 Backed out 1 changesets (bug 1204800) for b2g build bustages
Backed out changeset e244ce56e745 (bug 1204800)
2015-09-21 10:06:38 +02:00
John Dai 7abf02e2ff Bug 1204800 - Add tooltool dependencies to phone builds. r=wcosta 2015-09-16 01:59:00 +02:00
Dustin J. Mitchell 776efcb29e Bug 1199379: drop root before beginning the build r=ted.mielczarek
This requires doing some cleanup of permissions on the cache mounts first;
eventually, this should be done by the docker-worker.
2015-08-27 14:13:32 -04:00
Dustin J. Mitchell aa52306650 Bug 1185643: use in-tree mozharness for builds; r=wander
This required moving the custom mozharness configs out of the builder image
(which puts them in ~, where mozharness no longer looks) and moving them into
mozharness itself.
2015-07-27 15:21:15 -04:00
Ted Mielczarek a6f05444f8 Fix minidump_stackwalk build script to produce working WinXP binaries. No bug, NPOTB. 2015-08-14 14:01:20 -04:00
Wander Lairson Costa 396c77e24d Bug 1175934 part 2: Support blobfree images.
When we ./build.sh blobfree, we have a new zip file called
<target>.blobfree-dist.zip which contains a blobfree image. We copy this
file to public artifact.

We also refactor the build scripts a little bit to deduplicate the post
build code.
2015-07-31 17:24:46 -03:00
Wander Lairson Costa 3bfcc89b28 Bug 1187706 part 3: Small optimization on repo cloning. r=garndt
checkout-gecko already clones gecko, tell mozharness to clone from it.
2015-07-26 15:58:57 -03:00
Wander Lairson Costa 53a3ebf680 Bug 1187706 part 1: Switch B2G builds to in tree mozharness. r=garndt
Mozharness now lives inside gecko tree, so switch B2G builds to use it.
2015-07-26 15:58:57 -03:00
Mike Hommey e647f316a2 Bug 1177951 - Use tooltool on b2g desktop and mulet taskcluster builds. r=wcosta,r=garndt 2015-07-26 06:46:44 +09:00
Carsten "Tomcat" Book 1c838936c0 Backed out changeset a9241b319f14 (bug 1177951) on request per garndt in #taskcluster 2015-07-24 16:15:07 +02:00
Mike Hommey d102ff622b Bug 1177951 - Use tooltool on b2g desktop and mulet taskcluster builds. r=wcosta,r=garndt 2015-07-24 16:51:57 +09:00
Chris Manchester a43ab2ac4f Bug 1179687 - Fix TC emulator builds to upload test packages and test_packages.json correctly. r=garndt 2015-07-18 18:19:11 -07:00