testing/taskcluster/tasks/builds/mulet_linux.yml
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 23 Jul 2015 17:34:21 +0900
changeset 274657 dddcfde8f0858162c2a6ad3f97b7939983938e27
parent 274534 129fd95e3d41b63e879b3ccbc4ff6f4a1d133de1
child 276596 422048bf53a0a20a9ba49f7366b75cb1bb11e08f
permissions -rw-r--r--
Bug 1177951 - Use tooltool on b2g desktop and mulet taskcluster builds. r=wcosta,r=garndt

$inherits:
  from: 'tasks/build.yml'
  variables:
    build_name: 'mulet'
    build_type: 'opt'
task:
  metadata:
    name: '[TC] Mulet Linux'
    description: Mulet Linux

  workerType: mulet-opt

  routes:
    - 'index.buildbot.branches.{{project}}.linux64-mulet'
    - 'index.buildbot.revisions.{{head_rev}}.{{project}}.linux64-mulet'

  scopes:
    - 'docker-worker:cache:build-mulet-linux-workspace'
    - 'docker-worker:cache:tooltool-cache'
    - 'docker-worker:relengapi-proxy:tooltool.download.public'

  payload:
    cache:
      build-mulet-linux-workspace: '/home/worker/workspace'
      tooltool-cache: '/home/worker/tools/tooltool-cache'

    features:
      relengAPIProxy: true

    env:
      MOZCONFIG: 'b2g/dev/config/mozconfigs/linux64/mulet'
      TOOLTOOL_MANIFEST: 'b2g/dev/config/tooltool-manifests/linux64/releng.manifest'

    maxRunTime: 3600

    command:
      - /bin/bash
      - -c
      - >
        checkout-gecko workspace &&
        cd ./workspace/gecko/testing/taskcluster/scripts/builder &&
        buildbot_step 'Build' ./build-mulet-linux.sh $HOME/workspace

  extra:
    treeherderEnv:
      - production
      - staging
    treeherder:
      # Disable "TC" prefix...
      groupSymbol: "?"
      machine:
        platform: mulet-linux64
    # Rather then enforcing particular conventions we require that all build
    # tasks provide the "build" extra field to specify where the build and tests
    # files are located.
    locations:
      build: 'public/build/target.linux-x86_64.tar.bz2'
      test_packages: 'public/build/test_packages.json'