2015-08-28 19:23:22 -04:00
|
|
|
# Grenade does not support "python setup.py publish_sphinx", thus
|
|
|
|
# we cannot use the normal docs jobs.
|
|
|
|
- job:
|
|
|
|
name: grenade-publish-docs
|
2016-12-06 13:18:33 -08:00
|
|
|
node: ubuntu-xenial
|
2015-08-28 19:23:22 -04:00
|
|
|
|
|
|
|
builders:
|
2016-08-05 11:02:12 +02:00
|
|
|
- zuul-git-prep-upper-constraints
|
2016-03-05 16:11:23 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-08-28 19:23:22 -04:00
|
|
|
envlist: 'docs'
|
2016-09-16 10:09:45 +02:00
|
|
|
- add-docs-root-marker:
|
|
|
|
docsrootdir: doc/build/html
|
2015-08-28 19:23:22 -04:00
|
|
|
|
|
|
|
publishers:
|
2016-09-30 08:31:56 -07:00
|
|
|
- afs:
|
|
|
|
site: afs-docs
|
|
|
|
source: 'doc/build/html/**'
|
|
|
|
target: 'developer/grenade'
|
|
|
|
remove-prefix: 'doc/build/html'
|
2015-08-28 19:23:22 -04:00
|
|
|
- console-log
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: gate-grenade-publish-docs
|
2016-12-06 13:18:33 -08:00
|
|
|
node: ubuntu-xenial
|
2015-08-28 19:23:22 -04:00
|
|
|
|
|
|
|
builders:
|
2016-08-05 11:02:12 +02:00
|
|
|
- zuul-git-prep-upper-constraints
|
2016-03-05 16:11:23 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-08-28 19:23:22 -04:00
|
|
|
envlist: 'docs'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- upload-sphinx-draft
|
2016-06-15 10:03:06 -04:00
|
|
|
- console-log
|