mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
886aa46879
--HG-- extra : rebase_source : b291693b70cfde1d64693e4b3c11b641a8080181
60 lines
1.6 KiB
YAML
60 lines
1.6 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}}builder{{/docker_image}}'
|
|
- 'queue:define-task:aws-provisioner/build-c4-2xlarge'
|
|
- 'queue:create-task:aws-provisioner/build-c4-2xlarge'
|
|
|
|
|
|
payload:
|
|
image: '{{#docker_image}}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:
|
|
'public/build':
|
|
type: directory
|
|
path: '/home/worker/artifacts/'
|
|
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}}'
|
|
|
|
extra:
|
|
treeherder:
|
|
groupSymbol: tc
|
|
groupName: Submitted by taskcluster
|
|
symbol: B
|