Commit Graph

4 Commits

Author SHA1 Message Date
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