forked from mozilla/activity-stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.taskcluster.yml
34 lines (34 loc) · 961 Bytes
/
.taskcluster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: 1
policy:
pullRequests: public
tasks:
$if: 'tasks_for in ["github-push", "github-pull-request"]'
then:
$let:
repo_url:
$if: 'tasks_for == "github-push"'
then: ${event.repository.clone_url}
else: ${event.pull_request.head.repo.clone_url}
ref:
$if: 'tasks_for == "github-push"'
then: ${event.after}
else: ${event.pull_request.head.sha}
in:
- provisionerId: proj-misc
workerType: ci
deadline: ${fromNow('1 day')}
payload:
maxRunTime: 7200
image: piatra/asmochitests
command:
- /bin/bash
- '--login'
- '-c'
- >-
git clone ${repo_url} /activity-stream && cd /activity-stream &&
git checkout ${ref} && bash ./mochitest.sh
metadata:
name: activitystream
description: run mochitests for PRs
owner: [email protected]
source: ${repo_url}