Files
firefox/taskcluster/ci/source-test/doc.yml
T
Andrew Halberstadt ada64d6ce5 Bug 1395717 - Use filename source-test tasks are defined in as part of their label, r=dustin
This creates a new "job-from" field that contains the relative filename the job was defined
in. The filename is relative to 'config.path'. If the task came from the 'jobs' key defined
in kind.yml, this field will be set to 'kind.yml'.

MozReview-Commit-ID: 9e1tEb6XuZT
2017-08-31 16:38:08 -04:00

52 lines
1.5 KiB
YAML

generate:
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:
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: run-task
command: >
cd /builds/worker/checkouts/gecko &&
./mach doc --outdir docs-out --no-open --archive
sparse-profile: sphinx-docs
when:
files-changed:
- '**/*.py'
- '**/*.rst'
- 'tools/docs/**'
upload:
description: Generate and upload the Sphinx documentation
platform: lint/opt
treeherder:
symbol: tc(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: run-task
command: cd /builds/worker/checkouts/gecko && ./mach doc --upload --no-open
sparse-profile: sphinx-docs
scopes:
- secrets:get:project/releng/gecko/build/level-{level}/gecko-docs-upload
when:
files-changed:
- '**/*.py'
- '**/*.rst'
- 'tools/docs/**'