-
Notifications
You must be signed in to change notification settings - Fork 54
/
doc.yml
44 lines (43 loc) · 1.28 KB
/
doc.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
generate:
description: Generate the Sphinx documentation
platform: lint/opt
treeherder:
symbol: Doc
kind: test
tier: 1
run-on-projects: ['trunk', 'try']
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
docker-image: {in-tree: "lint"}
max-run-time: 1800
artifacts:
- type: file
name: public/docs.tar.gz
path: /builds/worker/checkouts/gecko/docs-out/main.tar.gz
run:
using: mach
mach: doc --outdir docs-out --no-open --no-serve --archive
sparse-profile: sphinx-docs
optimization:
skip-unless-schedules: [docs]
upload:
description: Generate and upload the Sphinx documentation
platform: lint/opt
treeherder:
symbol: DocUp
kind: test
tier: 3
run-on-projects: [mozilla-central]
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
docker-image: {in-tree: "lint"}
max-run-time: 1800
taskcluster-proxy: true
run:
using: mach
mach: doc --upload --no-open --no-serve
sparse-profile: sphinx-docs
scopes:
- secrets:get:project/releng/gecko/build/level-{level}/gecko-docs-upload
optimization:
skip-unless-schedules: [docs]