Commit Graph

11 Commits

Author SHA1 Message Date
Dave Hunt
e4d5298a92 Bug 1388016 - Add support for specifying the Python version to use in TaskCluster; r=ahal
MozReview-Commit-ID: Mo6KWrzPU3
2018-06-21 06:07:01 +01:00
Andrew Halberstadt
53b01cfcf4 Bug 1461980 - [taskgraph] Use run-task's 'use-artifacts' key to setup artifacts in mochitest and reftest selftests, r=dustin
Instead of downloading the build artifacts (rather hackily) in moztest.fixtures, this now happens
directly in the taskgraph module via the run-task script.

For now extraction and setup happens in the task's command key. It might be a good idea to figure
out a syntax to tell run-task to do this extraction, e.g something like:

run:
    using-artifacts:
        build:
            target.tar.bz2:
                extract: true
                path: /home/worker/build
                name: firefox

But for now I wanted to avoid this extra complexity, so maybe it could be done in a follow-up.

MozReview-Commit-ID: KOhFFpFdP7Y
2018-05-18 08:22:36 -04:00
Chris AtLee
1f47f275a3 Bug 1420449: Skip schema validation with --fast r=dustin,ahal
MozReview-Commit-ID: 6wWYrNOG677
2017-12-07 22:23:57 -05:00
Coroiu Cristina
1d235fed44 Backed out changeset 7a47accb11c5 (bug 1420449) for build bustage r=backout on a CLOSED TREE 2018-01-03 19:04:32 +02:00
Chris AtLee
d1b5d6b8cf Bug 1420449: Skip schema validation with --fast r=dustin,ahal 2018-01-03 10:27:16 -05:00
Dustin J. Mitchell
72136a4618 Bug 1403342 - use try_job transform for source tests too; r=ahal
Just a minor refactor

MozReview-Commit-ID: 2YdOtO2sGEc
2017-10-03 21:09:22 +00:00
Andrew Halberstadt
ada64d6ce5 Bug 1395717 - Use filename source-test tasks are defined in as part of their label, r=dustin
This creates a new "job-from" field that contains the relative filename the job was defined
in. The filename is relative to 'config.path'. If the task came from the 'jobs' key defined
in kind.yml, this field will be set to 'kind.yml'.

MozReview-Commit-ID: 9e1tEb6XuZT
2017-08-31 16:38:08 -04:00
Andrew Halberstadt
3d1b8119dd Bug 1048446 - [taskcluster] Move 'require-build' out of run_task and into source_test, r=dustin
The 'platform' key was recently moved out of 'job' tasks and into the 'source-test' kind. Since
the concept of requiring a build depends on this key, let's move that back to source-test as
well.

MozReview-Commit-ID: 4bs8G4wN5OH
2017-05-29 15:34:54 -04:00
Andrew Halberstadt
364331950b Bug 1368733 - [taskcluster] Ensure job tasks run automatically on try when they're supposed to, r=dustin
The logic here is a bit tricky to grok, but essentially there are two kinds of "job" tasks, those that
should always be considered (and possibly be optimized away later due to "skip-unless-changed"), and
those that should only be considered if their associated build-platform is also going to be scheduled.
If -j is specified, that should supercede both cases.

This patch uses the prescence of the 'build_platform' attribute to draw the distinction.

MozReview-Commit-ID: H9SjeYuZ8F0
2017-05-30 12:37:03 -04:00
Dustin J. Mitchell
ebf4711d4e Bug 1337903: add and use a job_try_name attribute; r=ahal
This fixes the ability to run mozbase via `-j mozbase`, with the
added advantage that it will obey `-p` too.

MozReview-Commit-ID: 1zkitUephXk
2017-03-08 17:28:34 +00:00
Dustin J. Mitchell
4e3b3f8b2f Bug 1337903: handle platforms for source-test distinctly; r=ahal
This clears up some confusion and undocumented behavior around platforms in
source-tests (and available to any job).

With this change, the attributes come out like this:

  "source-test-mozbase-linux64/opt": {
    "attributes": {
      "build_platform": "linux64",
      "build_type": "opt",
      "kind": "source-test",
      "run_on_projects": [
        "integration",
        "release"
      ]
    },

MozReview-Commit-ID: HN1Zi8YUf0
2017-03-03 23:32:39 +00:00