This commit is contained in:
Simon Sapin 2018-08-16 17:12:57 +02:00
parent 903dce08ca
commit 73d9baf9fa

View file

@ -4,33 +4,34 @@ policy:
pullRequests: collaborators pullRequests: collaborators
tasks: tasks:
- $if: 'tasks_for == "github-push"' - $if: 'tasks_for == "github-push"'
provisionerId: aws-provisioner-v1 then:
workerType: github-worker provisionerId: aws-provisioner-v1
created: {$fromNow: ''} workerType: github-worker
deadline: {$fromNow: '1 hour'} created: {$fromNow: ''}
metadata: deadline: {$fromNow: '1 hour'}
name: "Taskcluster experiments for Servo" metadata:
description: "Initial task" name: "Taskcluster experiments for Servo"
owner: ${event.pull_request.user.login}@users.noreply.github.com description: "Initial task"
source: ${event.compare} owner: ${event.pull_request.user.login}@users.noreply.github.com
source: ${event.compare}
routes: routes:
- "index.servo.taskcluster-experiments" - "index.servo.taskcluster-experiments"
payload: payload:
maxRunTime: 600 maxRunTime: 600
image: "node:8" image: "node:8"
env: env:
DEBUG: "* -mocha* -nock* -express* -body-parser* -eslint*" DEBUG: "* -mocha* -nock* -express* -body-parser* -eslint*"
features: features:
taskclusterProxy: true taskclusterProxy: true
command: command:
- /bin/bash - /bin/bash
- '--login' - '--login'
- '-c' - '-c'
- >- - >-
git clone ${event.pull_request.head.repo.clone_url} repo && git clone ${event.pull_request.head.repo.clone_url} repo &&
cd repo && cd repo &&
git checkout ${event.push.after} && git checkout ${event.push.after} &&
echo "Hello World!" && echo "Hello World!" &&
ls ls