gecko/testing/taskcluster/tasks/phone_build.yml
Wander Lairson Costa de34310bc6 Bug 1119387 part 3: Add option to specify mozharness branch.
Allow the user to specify the mozharness branch to use
through the option --mozharness-ref.
2015-03-25 14:25:27 -03:00

62 lines
1.7 KiB
YAML

# This is the "base" task which contains the common values all builds must
# provide.
---
taskId: {{build_slugid}}
task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: http://todo.com/soon
owner: mozilla-taskcluster-maintenance@mozilla.com
tags:
createdForUser: {{owner}}
workerType: b2gbuild
provisionerId: aws-provisioner
schedulerId: task-graph-scheduler
scopes:
# Nearly all of our build tasks use tc-vcs so just include the scope across
# the board.
- 'docker-worker:cache:tc-vcs'
- 'docker-worker:image:{{#docker_image}}phone-builder{{/docker_image}}'
payload:
image: '{{#docker_image}}phone-builder{{/docker_image}}'
# One hour is a good value for most builds
maxRunTime: 3600
cache:
tc-vcs: '/home/worker/.tc-vcs'
# All builds share a common artifact directory for ease of uploading.
artifacts:
'private/build':
type: directory
path: '/home/worker/artifacts/'
expires: '{{#from_now}}1 year{{/from_now}}'
'public/build':
type: directory
path: '/home/worker/artifacts-public/'
expires: '{{#from_now}}1 year{{/from_now}}'
env:
# Common environment variables for checking out gecko
GECKO_BASE_REPOSITORY: '{{base_repository}}'
GECKO_HEAD_REPOSITORY: '{{head_repository}}'
GECKO_HEAD_REV: '{{head_rev}}'
GECKO_HEAD_REF: '{{head_ref}}'
MOZHARNESS_REPOSITORY: '{{mozharness_repository}}'
MOZHARNESS_REV: '{{mozharness_rev}}'
MOZHARNESS_REF: '{{mozharness_ref}}'
extra:
treeherder:
groupSymbol: tc
groupName: Submitted by taskcluster
symbol: B