mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 13:40:17 -10:00
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
52 lines
1.5 KiB
YAML
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/**'
|