Commit Graph

139 Commits

Author SHA1 Message Date
Ehsan Akhgari
717965ad0c Bug 1329307 - Only package the clang-tidy binaries for the clang-tidy builds; r=mystor 2017-01-06 16:02:23 -05:00
Ehsan Akhgari
46ef6a657d Bug 1328199 follow-up: Fix the incorrect filename 2017-01-04 17:44:18 -05:00
Ehsan Akhgari
05f2c5a464 Bug 1328617 - Switch Linux jobs for building clang to use the releng API proxy for accessing tooltool; r=dustin 2017-01-04 16:50:09 -05:00
Ehsan Akhgari
3f1ffb0276 Bug 1328199 - Part 2: Add a TaskCluster job to build clang-tidy for OSX on Linux; r=dustin 2017-01-04 16:50:09 -05:00
Ehsan Akhgari
fd6787dbb9 Bug 1324488 - Add a TaskCluster job to build clang-tidy on Linux; r=dustin 2017-01-04 16:50:08 -05:00
Ehsan Akhgari
f6927b19b4 Bug 1328200 - Add TaskCluster jobs to build clang-tidy for Win32 and Win64; r=dustin 2017-01-03 17:04:29 -05:00
Phil Ringnalda
3e66b4692b Backed out changeset b12680f82f7a (bug 1324488) since the thing it depended on was backed out
MozReview-Commit-ID: 9Z36fqcH5v6
2016-12-31 08:55:47 -08:00
Wes Kocher
adb5795cf9 Merge inbound to central, a=merge
MozReview-Commit-ID: KIm8XUkfyZW
2016-12-30 16:56:03 -08:00
Justin Wood
6f01f68800 Followup for Bug 1324998, set MOZ_AUTOMATION for l10n. r=dustin rs-a=Kwierso
MozReview-Commit-ID: 2FVf9UbvOUv
2016-12-30 13:05:26 -05:00
aleth
7e159f9b6e Bug 1324120 - Back out changeset a740323ace17 as mozconfig.rust now already uses the TOOLTOOL_DIR. r=gps 2016-12-22 13:21:22 +01:00
Ehsan Akhgari
e708ff3358 Bug 1324488 - Add a TaskCluster job to build clang-tidy on Linux; r=dustin 2016-12-30 11:51:00 -05:00
Steven Ellul
a9e9d182b9 Bug 1302767: remove TOOLTOOl_REPO from all tasks; r=dustin
MozReview-Commit-ID: Lc7JLW1aKZL
2016-12-22 21:13:53 +00:00
CuriousLearner
f27a0ad144 Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin r=CuriousLearner
MozReview-Commit-ID: 7v1uCDB5qoN
2016-10-20 18:25:34 +05:30
Ralph Giles
19a7e17419 Bug 1283898 - Add tooltool rust to path for js hazard jobs. r=gps
Tasks calling these generally use tooltool and the hazard
manifest to provide toolchains, but the setup job doesn't
they don't use a mozconfig to configure paths, and the analysis
job uses a different TOOLTOOL_DIR.

The build calls configure, which defaults to --enable-rust,
so we need to add the correct rust toolchain path to the
environment like we do for C++.

MozReview-Commit-ID: gFnZ0SK1f7
2016-12-13 10:56:52 -08:00
Wander Lairson Costa
c44c8941d0 Bug 1266624: apply backoff mozharness fixes to macosx script. r=dustin 2016-12-07 10:29:00 +01:00
Wander Lairson Costa
372f7412ba Bug 1266624: Apply exponential backoff for mozharness download. r=dustin
MozReview-Commit-ID: Ip4MjVJFwT6
2016-12-06 15:27:40 -10:00
Ted Mielczarek
45193dbc8f bug 1269355 - Enable sccache for taskcluster linux32/64 builds. r=dustin,gps
MozReview-Commit-ID: LGqpNDb7uHN
2016-11-10 13:02:54 -05:00
Ting-Yu Chou
1a0467eee5 Bug 1316537 part 1 - Add 64-bit clang-cl toolchain build. r=dustin
MozReview-Commit-ID: 5EKWZ94TrMD
2016-11-15 09:06:08 +08:00
Wander Lairson Costa
128810b5c8 Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: 5ZaYYRueRVr
2016-11-08 12:11:15 -02:00
Sebastian Hengst
9bbe4e779f Backed out changeset 6228dfcfac3b (bug 1274980) 2016-11-07 17:57:04 +01:00
Wander Lairson Costa
fd6322d2df Bug 1274980 part 2: Support Mac OS tests in tc intree config. r=dustin
We add support for Mac OSX tests in Taskcluster by support
taskcluster-worker macosx engine. We also add a new configuration
blob-upload-branch needed by mochitest-other.

MozReview-Commit-ID: CxT3BP3sydG
2016-11-07 09:20:50 -02:00
Gregory Szorc
44df3cbad1 Bug 1314807 - Use vendored tooltool.py; r=dustin
Do not speak to github.com as part of CI. Do not open ourselves to a
MitM attack. Be more deterministic.

MozReview-Commit-ID: JRGbraQtqJi
2016-11-02 16:26:49 -07:00
Nathan Froyd
5f617e2198 Bug 1306650 - part 7 - add SVN, CMake, and Ninja to the clang-cl toolchain build; r=ehsan
We need these tools to build, and they are no longer installed on the build
machines for us.
2016-10-26 16:18:23 -04:00
Nathan Froyd
5cca25fd02 Bug 1306650 - part 6 - use a different tooltool manifest for clang-cl builds; r=ehsan
It doesn't seem good to tie ourselves to the Gecko tooltool manifest for
building clang-cl; we want to stick with something we can update on
clang-cl's schedule, not Gecko's.
2016-10-26 16:18:24 -04:00
Nathan Froyd
4fb8e01e48 Bug 1306650 - part 5 - modify clang-cl toolchain config to look for just cl.exe; r=ehsan
We cannot depend on a fixed location for cl.exe in a taskcluster world.
We therefore need to make our build-clang.py script accomodate relative
path names for cc/cxx and assume those are binaries that should be
looked up on PATH.

We also need to modify the Linux build script so that the virtualenv is
used to look up the new 'which' package.
2016-10-26 16:18:24 -04:00
Nathan Froyd
17601d2675 Bug 1306650 - part 4 - modify build-clang-windows.sh for running under taskcluster; r=ehsan
There are a number of changes here:

- Taskcluster machines don't have MSVC installed, so we have to setup all
  the MSVC infrastructure ourselves;
- Gecko contains useful Python packages to use, so we need to setup a
  python virtualenv to have access to those.  Fortunately, mach handles all
  of that for us;
- We need to add build tools to our PATH, as they are not pre-installed;
- We need to define UPLOAD_PATH ourself.
2016-10-26 16:18:24 -04:00
Nathan Froyd
d3233ed0fc Bug 1306650 - part 3 - add clang-cl toolchain builds; r=dustin
The build-clang-windows.sh is basically an exact copy of the Linux one
at the moment; we'll fix it up for all the Windows-specific taskcluster
bits in a future commit.
2016-10-26 16:18:24 -04:00
Gregory Szorc
ca434f80a4 Bug 1311791 - Explicitly declare path to shared hg store; r=dustin
332a08725ed0 changed the store path logic in a quick and crude manner.
The code could lead to multiple shared stores existing on a cache
if checkouts were in different parent directories.

This commit refactors the code to explicitly declare a path to the
shared hg store. This restores the behavior of ensuring there is only
a single shared store per cache.

MozReview-Commit-ID: 19Aa1QVrVQ8
2016-10-20 12:56:43 -07:00
Gregory Szorc
f277d5ebce Bug 1306641 - Remove TaskCluster automation related to b2g; r=dustin
This definitely isn't all of it. But I got the obvious chunks. Still
need to clean up mozharness.

MozReview-Commit-ID: JTZBydP3i2r
2016-09-30 09:21:09 -07:00
Gregory Szorc
af5fb4af80 Bug 1292071 - Put Mercurial store on same cache as checkout; r=dustin
We were seeing issues with the Mercurial working directory not being
pristine. While I can't reproduce this, I have a hunch it is due to
mixing and matching stores and checkouts in TaskCluster. For example,
if a worker supports running concurrent tasks and 2 tasks arrive at
the same time, the caches for the store and checkout may look like:

  (store0, checkout0)
  (store1, checkout1)

However, the next task may get:

  (store1, checkout0)

This may confuse Mercurial.

This commit eliminates the "hg-shared" cache and places the shared
stores as a sibling directory of the checkout.

MozReview-Commit-ID: 8SzyS6wWf9C
2016-10-18 09:46:55 -07:00
Steve Fink
00392aa19f Bug 1310819 - Fix developer runs of hazard analysis, r=fitzgen 2016-10-17 14:04:38 -07:00
Nick Fitzgerald
2a1f07b50c Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
Justin Wood
e9d11c6ed8 Bug 1308950 - L10n in taskcluster is broken due to run-task landing. r=dustin
MozReview-Commit-ID: FKNYqhNoevP
2016-10-10 15:01:28 -04:00
Dustin J. Mitchell
b92a5d34ae Bug 1307177: print recognizable error when unzip fails; r=philor
MozReview-Commit-ID: DAi2cOdugE
2016-10-03 17:47:16 +00:00
Gregory Szorc
9a69ca40e6 Bug 1289249 - Make build-linux.sh executable; r=dustin
Currently, it is executed via another shell script (build.sh from
the desktop-build image). build.sh is going away and this will be
the main script called by run-task. It already has a shebang. So
make it executable.

MozReview-Commit-ID: GT4Ix4xdx88
2016-09-28 22:43:35 -07:00
Gregory Szorc
82f9419bdd Bug 1289249 - Use vendored tooltool.py in SpiderMonkey tasks; r=dustin
Previously, SpiderMonkey tasks were using tc-vcs to clone the tooltool
repository so they could have access to tooltool.py. tooltool.py is
already in the execution environment courtesy of being part of the
source checkout. So use it from there.

One less dependency on a 3rd party service at run-time. One less
point for a MITM attack against our automation.

MozReview-Commit-ID: JmavaBG4vii
2016-09-29 18:13:36 -07:00
Gregory Szorc
922cff0756 Bug 1289249 - Ensure cwd is /home/worker; r=dustin
When we switch to run-task in a subsequent commit, we can no longer
rely on cwd being /home/worker. So have build-linux.sh change the cwd
explicitly.

MozReview-Commit-ID: 5sYAjHCFi3s
2016-09-29 15:40:54 -07:00
Carsten "Tomcat" Book
ff5b25e2c0 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Ted Mielczarek
2ef5233dd2 bug 1303980 - update minidump_stackwalk.sh to build Breakpad from git repo (NPOTB)
MozReview-Commit-ID: DA80ulpEaJt
2016-09-20 06:56:01 -04:00
Gregory Szorc
23928807d4 Bug 1302907 - Run mozharness from source checkout if available; r=dustin
Currently, build tasks produce a zip file artifact containing the
content of testing/mozharness.  This zip file is downloaded and applied
by any test using mozharness (which is most of them).

Now that some tests have a source checkout, we don't need to download
a mozharness zip because we can just use the source checkout.

This commit teaches test-ubuntu.sh to accept a custom path to
mozharness files. If that path is defined, we skip downloading the
mozharness zip.

The taskgraph has been updated to pass the path of mozharness in the
checkout to test-ubuntu.sh when a source checkout is available.

MozReview-Commit-ID: 2P17Wx1oytI
2016-09-14 18:20:57 -07:00
Gregory Szorc
ba95645651 Bug 1302907 - Use relative path to mozharness configs; r=dustin
Same deal as the last commit except for config paths.

MozReview-Commit-ID: 3AXwc3i3Iqu
2016-09-14 17:07:04 -07:00
Gregory Szorc
7a2bf57b17 Bug 1302907 - Use relative path to mozharness script; r=dustin
Mozharness scripts all live in "mozharness/scripts." So, we don't need
to redundantly define this path. Let's define the script as the relative
path within "mozharness/scripts" instead.

IMO this cosmetic improvement can stand on its own. However, the real
reason for this change is to pave the way for running mozharness from
a source checkout instead of downloading a zip archive of it.

MozReview-Commit-ID: FUnMiLlCcGK
2016-09-14 16:56:55 -07:00
Gregory Szorc
c0da03e5db Bug 1302907 - Merge test-ubuntu1204.sh and test-ubuntu1604.sh; r=dustin
The only difference in these files was the order that pulseaudio is
started and whether compiz is started. We rename test-ubuntu1604.sh
to test-ubuntu.sh, add some distro release detection, and add
some conditional branches so it works on both Ubuntu 12.04 and 16.04.

MozReview-Commit-ID: CaSfuDxss3d
2016-09-20 17:17:18 -07:00
Enes Goktas
705a4ffd34 Bug 1272629 - Add taskcluster task to build binutils package; r=glandium
MozReview-Commit-ID: AEOShpN8ZMI
2016-09-14 18:47:50 -07:00
Wes Kocher
240967746d Backed out changeset f227ea4d52fe (bug 1302907) because it caused some updated packages to get built, causing linux64 failures a=backout CLOSED TREE 2016-09-15 14:40:10 -07:00
Gregory Szorc
e07a33facb Backed out changesets 11ffdc565be, dda84d1fb12b, and 21fdf73bbb17 (bug 1302907) for Windows build bustage
Because Windows.
2016-09-15 12:49:03 -07:00
Gregory Szorc
eda4ddc1db Bug 1302907 - Run mozharness from source checkout if available; r=dustin
Currently, build tasks produce a zip file artifact containing the
content of testing/mozharness.  This zip file is downloaded and applied
by any test using mozharness (which is most of them).

Now that some tests have a source checkout, we don't need to download
a mozharness zip because we can just use the source checkout.

This commit teaches test-ubuntu.sh to accept a custom path to
mozharness files. If that path is defined, we skip downloading the
mozharness zip.

The taskgraph has been updated to pass the path of mozharness in the
checkout to test-ubuntu.sh when a source checkout is available.

MozReview-Commit-ID: 2P17Wx1oytI
2016-09-14 18:20:57 -07:00
Gregory Szorc
636e39da6e Bug 1302907 - Use relative path to mozharness configs; r=dustin
Same deal as the last commit except for config paths.

MozReview-Commit-ID: 3AXwc3i3Iqu
2016-09-14 17:07:04 -07:00
Gregory Szorc
ea83b1810b Bug 1302907 - Use relative path to mozharness script; r=dustin
Mozharness scripts all live in "mozharness/scripts." So, we don't need
to redundantly define this path. Let's define the script as the relative
path within "mozharness/scripts" instead.

IMO this cosmetic improvement can stand on its own. However, the real
reason for this change is to pave the way for running mozharness from
a source checkout instead of downloading a zip archive of it.

MozReview-Commit-ID: FUnMiLlCcGK
2016-09-14 16:56:55 -07:00
Gregory Szorc
28f966d3fe Bug 1302907 - Merge test-ubuntu1204.sh and test-ubuntu1604.sh; r=dustin
The only difference in these files was the order that pulseaudio is
started and whether compiz is started. We rename test-ubuntu1604.sh
to test-ubuntu.sh, add some distro release detection, and add
some conditional branches so it works on both Ubuntu 12.04 and 16.04.

MozReview-Commit-ID: CaSfuDxss3d
2016-09-14 16:29:25 -07:00