mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
85e8be2031
Differential Revision: https://phabricator.services.mozilla.com/D30684 --HG-- extra : moz-landing-system : lando
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
---
|
|
generate:
|
|
description: Generate the Sphinx documentation
|
|
platform: lint/opt
|
|
treeherder:
|
|
symbol: Doc
|
|
kind: test
|
|
tier: 1
|
|
run-on-projects: ['trunk', 'try']
|
|
worker-type: 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: 2
|
|
run-on-projects: [mozilla-central]
|
|
worker-type: 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]
|