Bug 1247170 - Part 2: Add "android-gradle-build-dependencies" TaskCluster job. r=dustin

MozReview-Commit-ID: I6rgyqci67J
This commit is contained in:
Nick Alexander 2016-02-16 11:11:42 -08:00
parent 8993be4716
commit ba6fc4a24d

View File

@ -0,0 +1,66 @@
# A task to fetch Android Gradle dependencies from jcentral and package them
# for consumption by tooltool users. Normally invoked manually.
---
taskId: {{build_slugid}}
task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
name: '[TC] - Android Gradle build dependencies'
description: 'Fetch and package Android Gradle build dependencies'
owner: nalexander@mozilla.com
source: http://todo.com/soon
tags:
createdForUser: {{owner}}
workerType: b2gtest
provisionerId: aws-provisioner-v1
schedulerId: task-graph-scheduler
routes:
- 'index.gecko.v1.{{project}}.revision.linux.{{head_rev}}.{{build_name}}.{{build_type}}'
- 'index.gecko.v1.{{project}}.latest.linux.{{build_name}}.{{build_type}}'
scopes:
- 'docker-worker:cache:level-{{level}}-{{project}}-tc-vcs'
payload:
image:
type: 'task-image'
path: 'public/image.tar'
taskId: '{{#task_id_for_image}}android-gradle-build{{/task_id_for_image}}'
command:
- bash
- /build/build.sh
maxRunTime: 1800
cache:
level-{{level}}-{{project}}-tc-vcs: '/home/worker/.tc-vcs'
artifacts:
'public/build':
type: directory
path: '/artifacts/'
expires: '{{#from_now}}1 year{{/from_now}}'
extra:
build_product: '{{build_product}}'
build_name: '{{build_name}}'
build_type: '{{build_type}}'
index:
rank: {{pushlog_id}}
locations:
build: null
tests: null
treeherder:
machine:
platform: lint
groupSymbol: tc
symbol: AG
treeherderEnv:
- production
- staging