Commit Graph
27 Commits
Author SHA1 Message Date
Ralph Giles 0207fcff0f Bug 1391427 - Package upstream rust in taskcluster. r=glandium
Add a toolchain job description which calls the
repack_rust.py script to package the requested
upstream build of Rust and its standard libraries
for use in gecko builds.

Links are added to these new toolchains for various build
and analysis tasks as appropriate. The base-toolchain
tasks use an explicitly-versioned toolchain since those
can be different from the current release used for most builds.

The corresponding tooltool manifest entries are removed
now that taskcluster artifact versions are available.
This simplifies the update process since new toolchains
can be packaged and used automatically by just updating
the versions in the task descriptions.

A 'linux64-rust' toolchain can be added to other tasks
as a dependency and artifact. It supports linux64-
hosted builds of Rust code targeting linux64 or linux32.

A 'linux64-rust-macos' toolchain targets linux64-hosted
builds of Rust code targeting macOS on x86_64.

A 'linux64-rust-android' toolchain targets linux64-hosted
builds of Rust code targeting various Android architectures.

Two 'win64-rust' and 'win32-rust' toolchain tasks create
similar entries for Windows-hosted builds. All our automation
builds are hosted on win64, so we could use one artifact
with support for both targets, but currently this doesn't
work because of cross-compilation issues in some crates.
This patch maintains the previous separation between
win32 and win64 rust toolchains until that can be addressed.

MozReview-Commit-ID: GRiJml8CtzO
2017-09-12 16:30:19 -07:00
Dustin J. Mitchell b129f522e9 Bug 1401180: rename 'toolchain' transform to 'use_toolchains'; r=glandium
MozReview-Commit-ID: 5vKM5dRBuZt
2017-09-14 20:12:59 +00:00
Mike Hommey 6af7923357 Bug 1389398 - Remove remaining clang entries in windows tooltool manifests. r=gps
Since the buildbot-based Windows builds using releng.manifest are busted
anyways, there is no reason to keep clang entries in there. Which makes
those manifests identical to clang.manifest, so remote the latter.
2017-08-11 16:16:32 +09:00
Mike Hommey 56ecb5de61 Bug 1388573 - Imply needs-sccache from toolchain dependencies. r=dustin
After bug 1388569 and bug 1388572, all jobs that have needs-sccache set
have a dependency on either linux64-sccache or win64-sccache, and
vice-versa. Which means they are now redundant, and one should imply the
other.
2017-08-09 09:22:43 +09:00
Mike Hommey c510a7bf75 Bug 1387346 - Set needs-sccache for static-analysis and valgrind builds. r=dustin 2017-08-08 14:08:34 +09:00
Mike Hommey 25b379df98 Bug 1386589 - Remove the linux64 tooltool manifests that look the same as releng.manifest. r=gps 2017-08-04 06:07:43 +09:00
Mike Hommey 4d03fb8251 Bug 1356926 - Use the same clang as normal builds for static analysis. r=gps
In practice, this upgrades from clang 3.8 to 3.9.
2017-08-04 06:07:42 +09:00
Mike Hommey 8a91c993bc Bug 1384422 - Use toolchain dependencies for clang. r=gps
This leaves out fuzzing and linux static analysis builds, which are
using, respectively, clang 4.0.1 and clang 3.8, while linux64-clang
produces a 3.9 and win*-clang a 5.0
2017-07-26 16:32:15 +09:00
Mike Hommey e79ca64ba0 Bug 1384417 - Use toolchain dependencies for sccache. r=gps 2017-07-20 17:56:49 +09:00
Mike Hommey 6b76fa9e72 Bug 1374940 - Allow to define a list of toolchains to use for a given TC job. r=dustin
Such a definition automatically sets up the corresponding dependencies
in the taskgraph, and adds the necessary artifact definitions for use in
the corresponding jobs. The jobs end up with a MOZ_TOOLCHAINS
environment variable with a list of path@task-id strings, where task-id
is corresponding to the (possibly optimized) toolchain job, and path
corresponding to the toolchain-artifact defined for that toolchain job.
2017-06-21 15:38:21 +09:00
Mike Hommey b364f2e49f Bug 1355118 - Remove OS X static analysis builds. r=gps
Since clang plugin is enabled in osx cross builds.
2017-07-19 07:05:02 +09:00
Chris AtLee cc0e5f0b94 Bug 1374351: Update platform names for cross-compiled OSX builds r=Callek
MozReview-Commit-ID: 4a2mhRVFhQP
2017-06-30 16:54:03 -07:00
Mike Hommey f12d79c24c Bug 1356952 - Add tooltool manifests defined in mozharness configurations to taskcluster job definitions. r=mshal
Since bug 1321847, mozharness tooltool manifests can be overriden from
the environment. We use that possibility to now define tooltool
manifests from taskcluster job definitions. Ideally, we'd also remove
the definitions from the mozharness configs, but with things still
running on buildbot, it's not clear what things might break because of
that. We'll do it in a separately back-out-able followup.
2017-06-06 16:17:40 +09:00
Gregory Szorc 18dc0b122b Bug 1362148 - Always collect build metrics; r=ted
Previously, mozharness defined a separate action to collect build
metrics. This required the script and/or config to define that
action.

Metrics collection for CI is important. So it should be enabled by
default.

This commit changes the "build" action/method to always call the
metrics collection function after successful build. References to
the "generate-build-stats" action have been removed because it is
redundant.

A side-effect of this change is we may generate build metrics where
we weren't before. This could lead to e.g. duplicate entries in some
Perfherder series. Let's see what breaks ;)

MozReview-Commit-ID: 42UQI5YQTMC
2017-05-04 12:28:52 -07:00
Dustin J. Mitchell f3f59ca1c7 Bug 1359976: base worker payload generation on worker-type; r=wcosta r=aki
To date we have variously specified both worker-type and worker-implementation,
often manually coordinated. We also embedded a few awkward assumptions such as
that the native engine only runs on OS X.

But a worker type has one and only one implementation, and that implementation
is stable over time (as changing it would require simultaneous landings on all
trees).

Instead, this change makes worker-type the primary configuration, and derives
both a worker implementation (defining the payload format) and worker OS
(determining what to include in the payload) from that value. The derivation
occurs when deciding how to implement a particular job, where the run_using
functions are distinguished by worker implementation.

The two-part logic to determine how and where to run a test task based on its
platform is combined into a single transform, `set_worker_type`.

This contains some other related changes:
 - MOZ_AUTOMATION is set in specific jobs, rather than everywhere docker-worker
   is used
 - the URL to test packages is factored out into a shared function
 - docker-worker test defaults are applied in `mozharness_test.py`
 - the WORKER_TYPE array in `task.py`, formerly mixing two types of keys, is
   split
 - the 'invalid' workerType is assigned an 'invalid' implementation
 - all tasks that do not use job descriptions but use docker-worker, etc. have
   `worker.os` added

Tested to not produce a substantially different taskgraph for a regular push, a
try push, or a nightly cron.

MozReview-Commit-ID: LDHrmrpBo7I
2017-05-08 22:53:50 +00:00
Dustin J. Mitchell 7b617b9156 Bug 1333255: rename taskgraph.task to taskgraph.loader; r=jonasfj
MozReview-Commit-ID: 6aPdGbxn0D1
2017-03-09 19:00:49 -05:00
Dustin J. Mitchell 37dca4a3be Bug 1333255: always transform tasks; r=jonasfj
MozReview-Commit-ID: 3A5wzXKG0Yp
2017-03-09 16:40:33 -05:00
Dustin J. Mitchell a0095736a7 Bug 1333255: use normal old functions to load tasks; r=jonasfj
Instead of using a class's static method, use a simple function, specified by
the `loader` key.

MozReview-Commit-ID: IeOl9qiSCXf
2017-03-09 23:14:40 -05:00
Kartikaya Gupta 9adf9f0d63 Bug 1264494 - Turn on Mac OSX 64 debug static analysis builds on Taskcluster. r=dustin,kmoir
MozReview-Commit-ID: 4EruHcLydBR
2017-03-02 14:17:37 -05:00
Kartikaya Gupta ec3fe7e376 Bug 1264494 - Turn on Linux64 debug static analysis builds on Taskcluster. r=dustin,kmoir
MozReview-Commit-ID: KXimjewdpz4
2017-03-02 14:17:19 -05:00
Kartikaya Gupta 43e7664803 Bug 1264494 - Remove xvfb and secrets from static analysis builds. r=dustin
MozReview-Commit-ID: IsIKIJX8dy1
2017-03-02 14:16:37 -05:00
Ehsan Akhgari 4b74f80f9a Bug 1331749 - Promote Windows clang-cl builds to tier 1; r=KWierso 2017-01-17 18:11:47 -05:00
Ehsan Akhgari 7f8a567f37 Bug 1328502 follow-up: Move the worker section out of job-defaults to make sure it doesn't apply to the Windows jobs
Landed on a CLOSED TREE
2017-01-04 13:22:07 -05:00
Ehsan Akhgari baea1f676b Bug 1328502 - Move the Windows static analysis builds to the static-analysis kind; r=dustin 2017-01-04 12:25:58 -05:00
elluls f621158b4f Bug 1302774: rename cross-opt to cross-opt-st-an; r=dustin
MozReview-Commit-ID: 4U6kJiaZCGa
2016-11-22 15:45:33 +00:00
Haard Panchal 319be1a1d4 Bug 1307771: rename opt-* and dbg-* and android-* workerTypes to gecko-L-b-*; r=dustin
MozReview-Commit-ID: JGgl97czNIl
2016-10-26 18:24:11 +00:00
Dustin J. Mitchell e7c9cbb4f2 Bug 1286075: add a static-analysis kind; r=Ehsan
MozReview-Commit-ID: G8muXBcNd5L
2016-09-08 00:31:35 +00:00