Commit Graph

22 Commits

Author SHA1 Message Date
Aki Sasaki
c9431f881e bug 1442793 - job public_artifacts -> artifacts. r=bhearsum
MozReview-Commit-ID: F1byXqn5Yan
2018-03-07 14:07:58 -08:00
Nick Fitzgerald
6af810fd84 Bug 1277338 - Part 10: Add the SM-tc(rust) taskcluster task; r=sfink
This adds a new SpiderMonkey taskcluster test task that builds and tests the
js/rust crate.
2017-09-05 09:26:21 -07:00
Wander Lairson Costa
6b7f9ef0d1 Bug 1338651 part 1: Change docker image home dir to /build. r=dustin,mshal
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: 554IPMRWgzK
2017-08-28 08:44:51 -03:00
Gregory Szorc
5e32e83855 Bug 1391476 - Automatically set cache/volume permissions in run-task; r=dustin
run-task's --chown and --chown-recursive are only used on volumes and
caches - the only locations that aren't controlled by the Docker image
itself and thus whose permissions could be "undefined."

Previous commits have taught run-task about the locations of all caches
and volumes. Therefore, we no longer need to manually define paths to
chown. Instead, we can chown as a side-effect of the path being a
cache or a volume.

So, this commit changes run-task to chown caches and volumes
automatically. Since we no longer have a use for --chown and
--chown-recursive, those arguments are removed.

There /could/ be some paths that are caches or volumes but aren't
getting defined as such in Taskgraph. I consider this a bug in
Taskgraph and the recourse is to properly define a path as a cache or
a volume there.

MozReview-Commit-ID: 1yqrhjil6gy
2017-08-23 12:07:18 -07:00
Gregory Szorc
c122832581 Bug 1391476 - Track whether caches should be used in untrusted environments; r=dustin
Previously, we conditionally added caches to a task if the current
parameters warranted it.

In order to audit that all caches fulfill basic requirements, we need
to have unconditional knowledge of all caches.

This commit introduces an optional key on each cache entry stating
whether it should be skipped in "untrusted" environments. When we
convert a task definition to a worker payload, we filter out these
caches if necessary.

This change uncovered an inconsistency with filtering caches. In
one location we filtered on the source repo name. In others, we
filtered on the SCM level.

Setting the caches in the spidermonkey kind also changed slightly
to ensure we're not overwriting existing caches. I don't think this
has any behavior changes. But the new method is more correct.

MozReview-Commit-ID: 1crpdWHqQ68
2017-08-22 15:06:40 -07:00
Gregory Szorc
5be5579a6a Bug 1391789 - Consolidate tooltool modifications to shared function; r=dustin
This pattern is repeated a number of times. Let's consolidate it.

A few places set relengapi-proxy=False. AFAICT this was a no-op because
the default value in the worker schema is False. So, these assignments
were dropped.

MozReview-Commit-ID: EoNPBhaMT2J
2017-08-18 16:06:19 -07:00
Justin Wood
fc991d301f Bug 1387199 - Do spidermonkey windows in taskgraph. r=dustin
Set these as tier 3 right now, because there are frequent intermittent test failures.

MozReview-Commit-ID: Gs6AXLKaVrF
2017-08-16 15:27:30 -04:00
Wes Kocher
87809bff97 Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
Wander Lairson Costa
484b2f6d33 Bug 1338651: Change docker image home dir to /build. r=dustin,mshal a=hopefullyavoidingmergebustagelater
Using /home/worker is the build directory has a 30% talos performance
loss, because test machines has a /home mount directory.

MozReview-Commit-ID: zehcGJrUQX
2017-06-29 15:45:01 -07:00
Mike Hommey
efa0ed2395 Bug 1356952 - Use environment variable to define tooltool manifest in spidermonkey builds. r=mshal
Like hazard jobs.
2017-06-06 16:55:28 +09:00
Mike Hommey
4b2e037ea6 Bug 1370469 - Fix transform for spidermonkey jobs to actually do schema validation. r=dustin 2017-06-06 16:50:40 +09:00
Dustin J. Mitchell
c7ed7c16c7 Bug 1350390: make fields that were unnecesarily optional, required; r=Callek
Docker-worker's `command` field is actually not required, as it will run a
docker image's default command when command is not specified.

MozReview-Commit-ID: I3vBHeixlxW
2017-03-24 17:53:57 +00:00
Carsten "Tomcat" Book
b047084618 Backed out changeset 6009a4677a10 (bug 1350390) for breaking decision tasks 2017-03-27 16:49:02 +02:00
Dustin J. Mitchell
0e36e9525a Bug 1350390: only require worker.implementation for jobs; r=Callek
MozReview-Commit-ID: CtnXN1ts1Bb
2017-03-24 17:53:57 +00:00
Dustin J. Mitchell
b7a652c5b1 Bug 1337360: check for schema elements that aren't dashed-identifiers, with whitelist; r=Callek
MozReview-Commit-ID: FirYCrjFXAS
2017-03-22 16:24:38 +00:00
Dustin J. Mitchell
4e0aee3873 Bug 1337903: add support for OS X in run-task; r=ahal
* add run.using = 'run-task' for native-engine
* modify run-task to run on OS X
  - not as root
  - without assuming /home/worker (using ~ and os.expanduser instead)
  - hg is in /usr/local/bin on OS X; trust the PATH
* add_build_dependency isn't docker-worker specific, so just rename
* support_vcs_checkout modified to omit caches on native-engine
* don't download fingerprints on OS X; these hosts are configured with
  the proper fingerprint via puppet

MozReview-Commit-ID: C83XClXtcn4
2017-03-03 22:49:23 +00:00
Jordan Lund
9b9318450f Bug 1314795 - introduce build_date to params that defaults to pushdate, r=dustin
MozReview-Commit-ID: AviPKtw3BiY
2016-11-02 19:23:27 -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
Gregory Szorc
75ff38bebe Bug 1289249 - Use run-task in spidermonkey tasks; r=dustin
This is a pretty straightforward port.

MozReview-Commit-ID: HaQ6EyrdoKT
2016-09-28 23:36:26 -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
Dustin J. Mitchell
b68fcb7735 Bug 1286075: remove unused secrets access from spidermonkey; r=sfink
MozReview-Commit-ID: DkctcaxkGA4
2016-09-07 16:10:36 +00:00
Dustin J. Mitchell
a34ad8a0ad Bug 1286075: add a spidermonkey kind; r=sfink
MozReview-Commit-ID: 4uI8LxHrSOS
2016-09-12 18:04:24 +00:00