Files
firefox/taskcluster/ci/source-test/doc.yml
T
Dustin J. Mitchell 7a65a88247 Bug 1351012: replace b2gtest with gecko-t-linux-xlarge; r=garndt
b2gtest uses *.xlarge instances, so it seems a reasonable substitution.

MozReview-Commit-ID: Ev6tnNpx13c
2017-03-27 20:18:38 +00:00

33 lines
968 B
YAML

sphinx:
description: Generate the Sphinx documentation
platform: lint/opt
treeherder:
symbol: tc(Doc)
kind: test
tier: 1
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
implementation: docker-worker
docker-image: {in-tree: "lint"}
max-run-time: 1800
artifacts:
- type: file
name: public/docs.tar.gz
path: /home/worker/checkouts/gecko/docs.tar.gz
run:
using: run-task
command: >
cd /home/worker/checkouts/gecko &&
./mach doc --outdir docs-out --no-open &&
rm -rf docs-out/html/Mozilla_Source_Tree_Docs/_venv &&
mv docs-out/html/Mozilla_Source_Tree_Docs docs &&
tar -czf docs.tar.gz docs
run-on-projects:
- integration
- release
when:
files-changed:
- '**/*.py'
- '**/*.rst'
- 'tools/docs/**'