project-config/jenkins/jobs/grenade.yaml
James E. Blair 6dcebba9f8 Add AFS publishers to all docs jobs
This adds an equivalent AFS publisher everywhere we currently have
an FTP publisher.

Change-Id: Ie0bdedfeab7f7e7d831acbabd347ef5b26dfcc8b
2016-09-30 08:47:38 -07:00

44 lines
1.0 KiB
YAML

# Grenade does not support "python setup.py publish_sphinx", thus
# we cannot use the normal docs jobs.
- job:
name: grenade-publish-docs
node: ubuntu-trusty
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- tox:
envlist: 'docs'
- add-docs-root-marker:
docsrootdir: doc/build/html
publishers:
- ftp:
site: 'docs.openstack.org'
source: 'doc/build/html/**'
target: 'developer/grenade'
remove-prefix: 'doc/build/html'
excludes: ''
- afs:
site: afs-docs
source: 'doc/build/html/**'
target: 'developer/grenade'
remove-prefix: 'doc/build/html'
- console-log
- job:
name: gate-grenade-publish-docs
node: ubuntu-trusty
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- tox:
envlist: 'docs'
publishers:
- upload-sphinx-draft
- console-log