This repository has been archived by the owner on Jan 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.taskcluster.yml
62 lines (61 loc) · 1.98 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: 0
metadata:
name: "taskcluster-lib-monitor test"
description: "Things for metrics and monitoring library"
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
tasks:
- provisionerId: "{{ taskcluster.docker.provisionerId }}"
workerType: "{{ taskcluster.docker.workerType }}"
extra:
github:
env: true
events:
- pull_request.opened
- pull_request.synchronize
- pull_request.reopened
- push
payload:
maxRunTime: 3600
image: "node:8"
command:
- "/bin/bash"
- "-lc"
- "git clone {{event.head.repo.url}} repo && cd repo && git checkout {{event.head.sha}} && yarn global add node-gyp && yarn install && yarn test"
metadata:
name: "taskcluster-lib-monitor test"
description: "tests for metrics and monitoring library"
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
- provisionerId: '{{ taskcluster.docker.provisionerId }}'
workerType: '{{ taskcluster.docker.workerType }}'
extra:
github:
events:
- push
branches:
- master
scopes:
- auth:aws-s3:read-write:taskcluster-raw-docs/taskcluster-lib-monitor/
payload:
maxRunTime: 3600
image: taskcluster/upload-project-docs:latest
features:
taskclusterProxy:
true
command:
- /bin/bash
- '--login'
- '-cx'
- >-
git clone {{event.head.repo.url}} repo &&
cd repo &&
git config advice.detachedHead false &&
git checkout {{event.head.sha}} &&
export DEBUG=* DOCS_PROJECT=taskcluster-lib-monitor DOCS_TIER=libraries DOCS_FOLDER=docs DOCS_README=README.md &&
upload-project-docs
metadata:
name: "taskcluster-lib-monitor docs upload"
description: "Upload documentation for this project"
owner: '{{ event.head.user.email }}'
source: '{{ event.head.repo.url }}'