Commit Graph

35 Commits

Author SHA1 Message Date
Wander Lairson Costa
cb4659e45b 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
2015-03-13 00:16:13 -03:00
jlal@mozilla.com
5461b13e7a Bug 1141417 - Remove cmake from builder image r=me a=taskcluster-only
Workaround apitrace compiler error by removing cmake package from builder...
2015-03-09 21:43:29 -07:00
jlal@mozilla.com
968057b057 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
2015-02-24 08:26:48 -08:00
jlal@mozilla.com
d73748a7b6 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
jlal@mozilla.com
2069e0c923 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
bc354dd593 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
070cfe8c1e 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
1509d1a7ec 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
36134991fe 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
af65306906 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
f898508e0d 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
af5de88aef 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
5d36eb255b 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
4c3088b130 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
5a07ea71c6 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
c280211568 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
c21d30198d 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
6a8f0f315c 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
5315cbee5d 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
4d329fbbaa 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
44625d068e 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
0bfe652960 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
824d0ebe0c 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
80e01e756c 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
146f5a3c4d 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
Greg Arndt
3e0b6c6422 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
Greg Arndt
7c48f0489a Bug 1091850 - Use worker for build tasks r=wcosta
--HG--
extra : rebase_source : 8b721e357428d880ae31d56c8318d0cc1e5e9419
extra : source : 6b05c1f86596e46e1fe6cc249aac59216bec9860
2014-11-26 10:11:32 -08:00
Greg Arndt
35668e61f2 Bug 1091850 - Use worker for build tasks r=wcosta
--HG--
extra : rebase_source : 93802e5aeff99351a601d7ace7be5559d1460d90
extra : source : ca02980769b64f144a303fd835b445d773002a91
2014-11-26 10:11:31 -08:00
Greg Arndt
94f593e768 Bug 1091850 - Use worker for build tasks r=wcosta
--HG--
extra : rebase_source : d7447854c147a15587f161d20e64f1e98b9086e3
extra : source : d4e33dca82fa133dd133b793155fb94915b15e94
2014-11-26 10:11:31 -08:00
Wander Lairson Costa
32f7797606 Bug 1085513 part3: Remove unused mozconfig files r=lightsofapollo,garndt.
Since we now use the gecko tree mozconfigs for building, the docker
mozconfigs are no longer necessary.

--HG--
extra : rebase_source : 86518f6418a00963e9abd23df288fce75d8f52e5
extra : source : bb3a81a684a1d66ae70242609c436b12405970bb
2014-11-26 10:11:30 -08:00
Wander Lairson Costa
e4a5da8c2b Bug 1085513 part1: Detect the mozconfig obj directory. r=lightsofapollo, garndt
We cannot hardcode the object directory because it is configurable
inside the mozconfig file.

Parse the mozconfig and extract the object directory. If it is not
defined, defaults to "/home/worker/object-folder".

--HG--
extra : rebase_source : 25eb9e7306d8844b20459c01b1a9a7ee85f3f03d
extra : source : 76e4a3bad9bc5eb124014b0332f82db17bdace11
2014-11-26 10:11:30 -08:00
Wander Lairson Costa
2cae2bb3e0 Bug 1087456 part4: use build-setup vars to reference repos. r=lightsofapollo,garndt
--HG--
extra : rebase_source : 0d2afcb93e1f5f3e992b3d888abd78fa9ca6370d
extra : source : a3d9683617a8ed72203345f4f268241d5d11c658
2014-11-26 10:11:29 -08:00
Wander Lairson Costa
7a498d7626 Bug 1087456 part3: create repositories parent dirs if they don't exist. r=lightsofapollo,garndt
Older versions of mercurial cannot create inner directories if the
parents don't exist.

--HG--
extra : rebase_source : 0a996db89416da64ca7be228814f208975a42570
extra : source : 42a93ffc374f4ef08a8b2f31d1f7ce1067fead15
2014-11-26 10:11:29 -08:00
Wander Lairson Costa
f849ffd29f Bug 1087456 part2: change builder image from "gecko-base" to "base". r=lightsofapollo,garndt
builder image is now based on the "base" image that lives on gecko
tree.

--HG--
extra : rebase_source : a22e083dca220a52e1b84cf5479969a6c1dc6882
extra : source : 664164ad527d89ce83812d15f99aaff656430f4b
2014-11-26 10:11:29 -08:00
James Lal
5a27e03e0c Bug 1068653 - Part 2 add taskcluster trygraph commands r=wcosta, garndt, mdas
--HG--
extra : rebase_source : 4d2c484bc780bd20c13b9bca129bd173ac66624a
extra : source : 630a93355767c7813dc7b761309f6728a79c2c80
2014-11-26 10:11:28 -08:00