taskcluster/ci/legacy/tasks/tests/taskgraph-tests.yml
author Dustin J. Mitchell <dustin@mozilla.com>
Mon, 13 Jun 2016 03:37:23 +0100
changeset 342245 7599603d0edf2aac6f2ac6b52bd7f2e77f283098
child 346548 b4c3e613fee80fdec958f103d7b8deb62346b547
permissions -rw-r--r--
Bug 1277413: add a task to run taskgraph unit tests; r=Callek MozReview-Commit-ID: n8122F3ocx

---
$inherits:
  from: 'tasks/lint.yml'
  variables:
    build_product: 'lint'
    build_name: 'taskgraph-tests'
    build_type: 'opt'

docker-image: lint
task:
  metadata:
    name: '[TC] - Taskgraph Tests'
    description: 'Run test suite for taskcluster/taskgraph'
  payload:
    image:
      type: 'task-image'
      path: 'public/image.tar'
      taskId:
        task-reference: "<docker-image>"
    command:
      - bash
      - -cx
      - >
          tc-vcs checkout ./gecko {{base_repository}} {{head_repository}} {{head_rev}} {{head_ref}} &&
          cd gecko &&
          ./mach taskgraph python-tests
  extra:
    locations:
      build: null
      tests: null
    treeherder:
      machine:
        # this should probably get a fresh new platform, but linux64 is what, for example, marionette uses
        platform: linux64
      symbol: tg
      tier: 2
    treeherderEnv:
      - production
      - staging