Commit Graph

62 Commits

Author SHA1 Message Date
jlal@mozilla.com
f59a932fe9 Bug 1144528 - Use hg share on testers r=garndt ON CLOSED TREE
--HG--
extra : rebase_source : 80e2b5a1fd32bf677985562176a5e8d44ca9188f
extra : histedit_source : 4ccab8e005ee43888b60d519e6f5e05c8c54250f
2015-03-17 23:15:54 -07:00
jlal@mozilla.com
1ebdedca27 Bug 1142565 - Update tester images to include same fonts as test slaves r=garndt
--HG--
extra : rebase_source : 44ce3e45d009f539847dbcabbc5e014ba616211c
extra : source : 254214c968f1eb01b74074a153b8ba0af6066ce2
extra : histedit_source : 13f9ee5c0130f655650ec6e756515ed3a5a91d73%2Cb1b10f0bff4b0d320e45031942268db07916ec39
2015-03-13 20:01:06 -07:00
Wander Lairson Costa
540381943d Bug 1142801: Update docker images for taskcluster-vcs 2.3.1. CLOSED TREE
This version of tc-vcs fixes downloading of remote refs when they don't
exist locally [1].

[1] https://github.com/taskcluster/taskcluster-vcs/pull/12

--HG--
extra : histedit_source : e9a952d7b77d45bcb803d5a3188b93d3506c140c
2015-03-13 00:16:13 -03:00
Wander Lairson Costa
dbce32a790 Bug 1137820 part 3: Move phone builder scripts to gecko tree.
This avoids we have to generate a new image each time the build scripts
change.

--HG--
extra : rebase_source : 350ce922830e5f5b6b9d54fefebe6423ac016129
2015-03-12 07:13:54 -03:00
Wander Lairson Costa
804cec6cb6 Bug 1137820 part 1: Update phone build image.
Inherits from builder image version 0.5.0.

--HG--
extra : rebase_source : efe5016c8fb24c6e3ec083999c20e9bc5ebf769b
2015-03-12 07:13:54 -03:00
jlal@mozilla.com
b964a24f86 Bug 1141417 - Remove cmake from builder image r=me a=taskcluster-only
Workaround apitrace compiler error by removing cmake package from builder...

--HG--
extra : rebase_source : fbaaf97ab457919fb8beadfcdbbd9df27989e872
2015-03-09 21:43:29 -07:00
jlal@mozilla.com
3f0367b965 Bug 1132562 - Use workspace directory so autoclobber can function with caches r=wcosta
- Move builder scripts into tree proper instead of baked into docker images

--HG--
extra : rebase_source : 761884f4b2142e58455498564bc35874fa891a21
2015-02-24 08:26:48 -08:00
jlal@mozilla.com
2eeb8f8030 Bug 1132348 - Add missing executable for decision tasks from builder r=me a=taskcluster-only
--HG--
extra : rebase_source : 0386e7939bef58c49c0704997d1bccd643587899
2015-02-11 21:22:45 -08:00
Wander Lairson Costa
b3a99e4716 Bug 1130327: Update phone-builder to use builder image 0.2.6. 2015-02-10 17:36:18 -02:00
jlal@mozilla.com
a0d02aae4f Bug 1131465 - Use tc-vcs to clone gecko outside of mozharness in emulator builds r=me a=taskcluster-only
--HG--
extra : rebase_source : 68802303c91b1383572d1397318e2149144f92f1
extra : histedit_source : cdaa1c1cb827cbe49ddfa0d771993accb1457990
2015-02-09 23:54:54 -08:00
jlal@mozilla.com
a2d45d3cf5 Bug 1130778 - Update tc-vcs 2.20 to ensure use of git.mo mirror of repo r=me a=taskcluster-only
--HG--
extra : rebase_source : e67b6ca85c5551ba0b4eb8006474f0dfcd6c7ab5
2015-02-09 23:39:50 -08:00
jlal@mozilla.com
b028fa3d79 Bug 1124340 - Add buildbot step lines to tester image r=garndt
--HG--
extra : rebase_source : 6db4e1d4ac7731b9e2b96b30e988ee52c38e42ae
2015-02-07 00:55:46 -08:00
jlal@mozilla.com
aff4dbf976 Bug 1130696 - Update pull gaia script to use correct version based on gaia.json in gecko r=garndt
--HG--
extra : rebase_source : e16dbceac62312e1ad3d4d85bf65a6e879dc238d
2015-02-09 21:54:55 -08:00
jlal@mozilla.com
d7fca75a4e Bug 1131154 - Use fake buildprops file to bypass use of buildbotconfigs in mozharness r=garndt
--HG--
extra : rebase_source : 9bc360c7b40b1e3d9eb0c687eecf7990dd9afe77
2015-02-07 00:01:23 -08:00
jlal@mozilla.com
bf8f8cbb20 Bug 1131152 - Update tester image to use tc-vcs and download mozharness r=garndt
--HG--
extra : rebase_source : 36fe51e73ba81c49d3c0861de4a25c5857699df9
2015-02-06 23:08:48 -08:00
jlal@mozilla.com
5f998ddabe Bug 1130106 - Schedule b2g-inbound jobs r=garndt
- Update scopes in decision task to something easier to use locally
  - Schedule flame builds (they may fail now)
  - Add optional revision-hash argument to decision task mach target
  - Use b2gtest worker type for tests
  - Use build specific worker types

--HG--
extra : rebase_source : dff37d59c35efcfc1698f2716e0fc0dc5e86937d
2015-02-06 00:18:42 -08:00
jlal@mozilla.com
0d65fdd992 Bug 1129143 - Upgrade tc-vcs and fix related emulator building issues r=wcosta
--HG--
extra : rebase_source : a22718c5d0b4fee099bdf5eea8e312e9f66b25ce
extra : source : 0c3168ac2a1bee766f5246828fda5a4aa769fbad
2015-02-05 12:15:44 -08:00
Dustin J. Mitchell
3623630d74 Bug 1122589: prefer mockbuild-repos over puppetagain repos; r=jopsen
--HG--
extra : rebase_source : 37c1c39f172301fa19c656a423c20b51a2b3003b
extra : source : 253403427bb4af82a06b247707223a5d488e3b16
extra : histedit_source : 8adddc6c6f02d8efddfb156975690117ce5aa93f
2015-01-21 15:35:36 -05:00
Dustin J. Mitchell
d720e84307 Bug 1122598: Refactor testing/docker to support Android; r=wcosta
* split much of base-build that's not useful for Android into b2g-build
 * always run docker with --no-cache, so we get the latest packages
 * improve README

--HG--
extra : rebase_source : 9446b68ae0ffd7cbdd2da831e208019a6974a636
extra : source : 91164440e535825949a2e7dda8909da2f6085dff
extra : histedit_source : 5b9e14c8714f1cbb1853e1ecdc3e3e9918830ce2
2015-01-21 10:45:34 -05:00
Wander Lairson Costa
4cb529b51a Bug 1085636 part2: Add gaia language files build option. r=lightsofapollo
--HG--
extra : rebase_source : 39c05b4a835c60fb8390e2320ee22c9c8caed5b6
extra : source : 1f82b9eb335d648becdebc5c743a488a820a0518
extra : histedit_source : c3cb57fe6d301b8e26b9eb702a15f24937e13511
2015-01-02 11:27:29 -02:00
Wander Lairson Costa
91313c38df Bug 1085636 part1: Add "bc" utility to phone-builder image. r=lightsofapollo
This is necessary for Dolphin kernel build.

--HG--
extra : rebase_source : d15c5c6b3e4b8ed4adf45b5d9567bb82fd78e4dd
extra : source : 0f149d402baef03a0ad47dbfc466813a55aee6b9
extra : histedit_source : ed20505e19f559692e2f64df380f8eb438240c7b
2014-12-30 09:31:08 -02:00
Wander Lairson Costa
af677eb89b Bug 1085639: Add Nexus 4 user build. r=lightsofapollo
--HG--
extra : rebase_source : b3b79f3c5be338239924e597ab655bf85d906fab
extra : source : e5dba35f9e3eb5e2e3b5807476ded3309cc6e810
extra : histedit_source : f0d6da374b16c68a9f0f61d5499da75cca638474
2015-01-02 11:21:18 -02:00
Wander Lairson Costa
87f60f0695 Bug 1085632: Add Flame KK eng build task. r=lightsofapollo
--HG--
extra : rebase_source : a07ec2a7e181e03dfd20e5abe8930623205ac773
extra : source : dad8dbc115d4f791a655be9ca891e609c6e7e6a6
extra : histedit_source : 4bceea0d03cbe33572ea8393a5f7cdf3d2348fd2
2015-01-02 10:59:31 -02:00
Wander Lairson Costa
c147ed0a23 Bug 1101166: Add custom mozharness repo and rev to taskcluster builds. r=lightsofapollo
taskcluster-build and taskcluster-trygraph now has two options to
specify mozharness custom repo and revision: --mozharness-repo and
--mozharness-rev.

--HG--
extra : rebase_source : 3c16d13596412ad2b66b1387e35c84e18d0addfc
extra : source : 0a3e1c17cf050ec53720cafd02e7bcf4ec166927
extra : histedit_source : fe0e4f9c0e5e35f984c9b2e65513b3fdd90583a6
2014-12-31 10:58:19 -02:00
Wander Lairson Costa
24e80daf54 Bug 1109346: Use tc-vcs for cloning repos. r=lightsofapollo
--HG--
rename : testing/docker/phone-builder/tests/invalid_repo.yml => testing/docker/phone-builder/tests/invalid_head_repo.yml
extra : rebase_source : c94926e0159ebd3d4f86f0496d74262d68d32024
extra : source : b71cb513b0304ba272c04003c3d4deada9fee157
extra : histedit_source : 0ebef5f218febcbd2e813e4fdd1849e55c13604a
2014-12-23 18:15:32 -02:00
Wander Lairson Costa
fd0196ad49 Bug 1098467: Validate the task before build the phone image r=lightsofapollo.
Phone builds are special because they may contain vendor blobs that we
are not allowed to distribute. So, we have to make sure the task is not
leaking anything.

We check that the gecko repository is a mozilla oficial repository and
that we are not copying the built stuff to public folders.

--HG--
extra : rebase_source : 84f5b40ff0dcef5d0407832ef38f187ccef7766a
extra : source : 1520c6cd07da116dc1c7aac462d1807247cdc7f9
extra : histedit_source : d8d5db00102c06b3ab9937a1c86394cc6de9c4fd
2014-12-16 18:40:14 -02:00
Wander Lairson Costa
3b6c8d880d Bug 1085631 part4: Add the phone build task. r=lightsofapollo
--HG--
extra : rebase_source : 84f4c39a1b5b9748d98979c66c4423ea30a1d377
extra : source : 5148fe501609cc6d0989ee599a0e6acfb4a0b981
extra : histedit_source : 5737189d8bf13358a142aac676171878c01d38c3
2014-12-16 12:24:56 -02:00
Wander Lairson Costa
dd8be7e418 Bug 1085631 part3: Add phone builder docker image. r=lightsofapollo
As this image handles files containing partners blobs, it must be
private in quay.io, and the builds cannot be made public either.

You must use "-i" and "-k" build parameters to handle s3 credentials.

--HG--
extra : rebase_source : e23e07c93c04dd28052043be736ecaab3100c161
extra : source : 1bc2ad4d70eb91a4e98107685f7d6eacf603f7ac
extra : histedit_source : 473922c18f0fd18b1b1eebbc890f5e7960aacd43
2014-12-16 12:24:55 -02:00
Wander Lairson Costa
2e366bf710 Bug 1085631 part2: Allow the use of a custom build script. r=lightsofapollo
If the image folder contains an inner build.sh script, runs it to build
the image. The tag value is passed through a "-t" argument. All
arguments passed after the folder parameter are forwarded to the inner
build script.

--HG--
extra : rebase_source : 50a1f4d13e8d086f935425633f65a67e5d7e452f
extra : source : cc041ffa9a022399be1c18f9c01fb2b9b94b1efa
extra : histedit_source : 48c31997e540ea5acb2e93d9af4713a700e7e1e3
2014-12-16 12:24:55 -02:00
Wander Lairson Costa
1b875a76e3 Bug 1085631 part1: Replace b2g-config by target. r=lightsofapollo
In practice, there is no much difference between b2g-config and target
mozharness options, and we are fine specifying both with the same value.

We replace b2g-config by target in our mach command interface because
it seems easier to understand and will make the life for phone builds
easier.

--HG--
extra : rebase_source : 57a629563a17ddf6a1daa4e67e91a097b8081d09
extra : source : df726365e2761ff8c8b3849b03db72cf05f73500
extra : histedit_source : eaefaed9c6f3cf8273d9df425dd0f1e29c07c20d
2014-12-16 12:24:55 -02:00
jlal@mozilla.com
25aff81337 Bug 1111980 - Part 5 fix bug where using moztt from cache breaks builds. r=garndt
--HG--
extra : rebase_source : a192ece73a35a498ca2328f63057bd66b998014e
extra : source : eff30c0f16e7309052546a31c40dc68156b8a2c4
2014-12-09 18:16:29 -08:00
James Lal
71cd0fcbd1 Bug 1105439 - Part 9 Finalize decision task and simplify emulator caching logic r=wcosta, garndt
--HG--
extra : rebase_source : f59ae0290f04feaafefe893efa0d0da2eb635747
extra : source : deadeba968b58c4ee1fedb39854444938a27e8e9
2014-12-04 22:33:01 -08:00
James Lal
3b8331ad17 Bug 1105439 - Part 4 Framework for inheriting one task from another. r=wcosta, garndt
Adds the $inherits key at the top level of all tasks within gecko. This initial
work covers the deep inheritance cases as well as cyclic references during
inheritance.

--HG--
extra : rebase_source : b48a70553af287356afa5e34a686e7ba2e6de21c
extra : source : 485adb4ce1ddc0280ed49fbd6e77e60431d74c2b
2014-11-29 15:05:46 -08:00
James Lal
aa23837b3f Bug 1105439 - Part 3 Initial decision task logic for gecko r=wcosta, garndt
--HG--
extra : rebase_source : 99f285bc44727c62c069781e81b3713b753da745
extra : source : cc2ac46d1bd5b321d222526e6ee0daf8e4283d70
2014-11-29 15:05:45 -08:00
James Lal
e0ba53bda2 Bug 1105439 - Part 2 Update builder to use tc-vcs for b2g-desktop/mulet (and related repos) r=wcosta, garndt
Primarily builder performance optimizations by leveraging both vcs caching and
docker caching improvmenets. By side effect this is also the ground work for
supporting git.

--HG--
extra : rebase_source : e680f43b426e8f02f340616975edf18c19a18bd4
extra : source : 7bb48bcb10e8f7a0b8c7b945d5add1bdc56dfed7
2014-11-29 15:05:44 -08:00
James Lal
7b4609abaf Bug 1105439 - Part 1 New gaia_props.py util for getting gaia version needed by the gecko r=garndt, wcosta
Normalizes gaia tooling to a central file with a set of commands / help.

--HG--
extra : rebase_source : 50f0a7c0b993d46c9a5803e270ff30ea125fe8ad
extra : source : 4d711d8eb9177085e619923d3ae92419cc2dd257
2014-11-29 15:05:44 -08:00
Wander Lairson Costa
29fc2f51ff Bug 1102085: Use "mach environment" to extract the object directory r=lightsofapollo.
If "topobjdir" is None, use default object directory.

--HG--
extra : rebase_source : 0bfbd32686cce7479c652e9141ed83fa8a38967c
extra : source : 63101782f55005d8f74f576ec3447f264d6035b4
2014-11-26 10:11:41 -08:00
Wander Lairson Costa
896c3e7454 Bug 1098406: Fix gaia repository path r=garndt.
A commit in the mozilla-central repository [1] broke the gaia URL
repository URL construction code.

We now make sure our code works independent of the leading slash
presence.

[1] http://hg.mozilla.org/mozilla-central/rev/f3782f5c2710

--HG--
extra : rebase_source : b9266befc06d3566c22dc68581550ac8da798947
extra : source : 24b368aaa3cb6baff2f7de260d66d2719de63019
2014-11-26 10:11:41 -08:00
Greg Arndt
eb60a85d85 Bug 1104013 - Add reftest task for b2g emulator r=lightsofapollo
--HG--
extra : rebase_source : 94c4f24cbd08fd9921360daf0d2c93e3e670eeae
extra : source : 35970803778fce701f5b18dec95ad000aaa8b92f
2014-11-26 10:11:40 -08:00
Greg Arndt
2e0ed4de29 bug 1103031 - create artifacts directory in tester r=lightsofapollo
--HG--
extra : rebase_source : 36ba94c25ceef012f501819422554e5344288931
extra : source : 1238e0af84c1e9001145814818bffa1426b2a888
2014-11-26 10:11:40 -08:00
Greg Arndt
0d8090dbad Bug 1103031 - switch over to using base-test and base-build images r=lightsofapollo
--HG--
rename : testing/docker/base/Dockerfile => testing/docker/base-build/Dockerfile
rename : testing/docker/base/system-setup.sh => testing/docker/base-build/system-setup.sh
rename : testing/docker/base/Dockerfile => testing/docker/base-test/Dockerfile
extra : rebase_source : b0f10136c2dfbffca3b4f77e16820b046f6edbe9
extra : source : 5fcc4a5663467e57bd5a36eef3a6669062886f97
2014-11-26 10:11:40 -08:00
Greg Arndt
044e154dbe Bug 1099239 - add reftests to linux64 mulet r=lightsofapollo
--HG--
extra : rebase_source : e3e7881e766a78ab00173e17436237294755a72a
extra : source : 35a7d68956cdb3cbf26fc7296b05315e54e77542
2014-11-26 10:11:38 -08:00
Greg Arndt
bf78849830 Bug 1099217 - add support for gaia js integration tests r=lightsofapollo
--HG--
extra : rebase_source : 505de6b0ff25a58ab46de807d434b918025e5ad7
extra : source : d13338844aff2919dc85aca6b5f7be846e175484
2014-11-26 10:11:38 -08:00
Greg Arndt
093eceb566 Bug 1095480 - enable mochitests for linux64 mulet r=lightsofapollo,mshal
--HG--
extra : rebase_source : b804d42570094df4232011fb5ecc4cb7568e5562
extra : source : 320c6c008bddfb3993c7724ee6d1babcee5591de
2014-11-26 10:11:37 -08:00
Greg Arndt
92f37f88e9 BUG 1093830 - builds need moztt package r=lightsofapollo
--HG--
extra : rebase_source : c7925ffc70d87f5afb829cd9d164cca7c8141cfe
extra : source : 074bff523826013a9d120e282abdd39d3bfb6d0c
2014-11-26 10:11:37 -08:00
Wander Lairson Costa
ab78451b99 Bug 1098336: Use mozharness debug flag for emulator debug builds.
--HG--
extra : rebase_source : c01b02793cddab9ac334d25d6ca287bee3ee2c3a
extra : source : 58bdb89189e49a3fca3f2a790b9283d2576a9466
2014-11-26 10:11:36 -08:00
Wander Lairson Costa
7fb5abde92 Bug 1085620 part3: Add emulator build task. r=lightsofapollo
The "mach ci-build" has a new optional argument called b2g-config. This
allows the user to pass the b2g config directory for the target. This
argument is necessary for emulator and phone builds.

--HG--
extra : rebase_source : 40724b5d1b9b33961180e2a019a7237ca13410b4
extra : source : c20ec1fd15670422f517c352c388bd036c454fb6
2014-11-26 10:11:34 -08:00
Wander Lairson Costa
ec6d8af21f Bug 1085620 part2: Support for emulator builds in the builder image. r=lightsofapollo
The setup of builder image moved to system-setup.sh script because
needs to do more complex work, like downloading repo and installing
mozilla buildtools package.

The build-emulator.sh script is reponsible for building emulators.
Besides the REPOSITORY and REVISION environment variables, it requires
TARGET and B2G_CONFIG too.

--HG--
extra : rebase_source : 670c03f343a6d6aca51f81373aa5c6734d4b8b6b
extra : source : 30b4e858f2c3d5f093ad87c6098d0d1298ca2fdb
2014-11-26 10:11:34 -08:00
Wander Lairson Costa
721835a133 Bug 1085620 part1: Install virtualenv in the base image. r=lightsofapollo
virtualenv is a dependency for mozharness.

--HG--
extra : rebase_source : a99c7ecc014d3039859d053572681929d007c9c8
extra : source : 336b87456be85c55b4573b2ae8cfb6b3c61dfabe
2014-11-26 10:11:34 -08:00
Greg Arndt
c3685f31d2 Bug 1085516 - gecko builds: Add Mulet Linux x64 Opt r=lightsofapollo, wcosta
--HG--
rename : testing/docker/builder/build-b2g-desktop.sh => testing/docker/builder/bin/build-b2g-desktop.sh
rename : testing/docker/builder/build-b2g-desktop.sh => testing/docker/builder/bin/build-mulet-linux.sh
rename : testing/docker/builder/build-setup.sh => testing/docker/builder/bin/build-setup.sh
rename : testing/docker/builder/build.sh => testing/docker/builder/bin/build.sh
rename : testing/docker/builder/get-objdir.py => testing/docker/builder/bin/get-objdir.py
rename : testing/docker/builder/get_gaia_repo.js => testing/docker/builder/bin/get_gaia_repo.js
rename : testing/docker/builder/get_gaia_revision.js => testing/docker/builder/bin/get_gaia_revision.js
rename : testing/taskcluster/tasks/builds/b2g_desktop.yml => testing/taskcluster/tasks/builds/mulet_linux.yml
extra : rebase_source : 27c0bcb0e99214f5994c1e9a98ab91f3ed9a747c
extra : source : cb990f8f1c8140a287fecae536b59f39c3d745e6
2014-11-26 10:11:33 -08:00