d106eee750
This commit adds docs jobs to grenade. Previously grenade didn't have support for building docs and just relied on having rst files in the repo. Now that doc building mechanism from devstack was ported over to grenade this adds the necessary jobs to publish the resulting rendered documentation. Change-Id: I17d62fba8a8cd49f2e4bb777df02e3313119b16b Depends-On: I505c1d5e250d103b6e0f9da008f44d3ce28df94f
38 lines
888 B
YAML
38 lines
888 B
YAML
# Grenade does not support "python setup.py publish_sphinx", thus
|
|
# we cannot use the normal docs jobs.
|
|
- job:
|
|
name: grenade-publish-docs
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'docs'
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: 'docs.openstack.org'
|
|
source: 'doc/build/html/**'
|
|
target: 'developer/grenade'
|
|
remove-prefix: 'doc/build/html'
|
|
excludes: ''
|
|
- console-log
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-grenade-publish-docs
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'docs'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-sphinx-draft
|
|
- zuul-swift-upload-console-log
|
|
# TODO(jhesketh): Add job for uploading built docs
|