tenfourfox/testing/taskcluster/tasks/post-builds/mulet_simulator.yml
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

59 lines
1.5 KiB
YAML

# This tasks takes a mulet build, pull gaia and craft a xpi file for FxOS simulator addon
---
taskId: {{taskId}}
task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: https://hg.mozilla.org/mozilla-central/file/tip/b2g/simulator
owner: apoirot@mozilla.com
name: '[TC] FxOS Simulator'
description: 'Firefox OS Simulator addon'
tags:
createdForUser: {{owner}}
workerType: b2gbuild
provisionerId: aws-provisioner-v1
schedulerId: task-graph-scheduler
routes:
- 'index.gecko.v1.{{project}}.latest.simulator.{{build_type}}'
scopes:
- 'docker-worker:cache:tc-vcs'
payload:
image: '{{#docker_image}}builder{{/docker_image}}'
maxRunTime: 600
command:
- /bin/bash
- -exc
- >
tc-vcs checkout ./gecko {{base_repository}} {{head_repository}} {{head_rev}} {{head_ref}} &&
./gecko/testing/taskcluster/scripts/builder/pull-gaia.sh ./gecko ./gaia gaia_props.py &&
./gecko/testing/taskcluster/scripts/builder/build-simulator.sh ./gecko ./gaia {{build_url}}
artifacts:
'public/build':
type: directory
path: '/home/worker/artifacts/'
expires: '{{#from_now}}1 year{{/from_now}}'
env:
GECKO_BASE_REPOSITORY: '{{base_repository}}'
GECKO_HEAD_REPOSITORY: '{{head_repository}}'
GECKO_HEAD_REV: '{{head_rev}}'
GECKO_HEAD_REF: '{{head_ref}}'
extra:
treeherderEnv:
- production
- staging
treeherder:
groupSymbol: tc-Sim
groupName: Simulator build
symbol: 'S'