publish docs built from releases repository

We now have the doc build working in the releases repository, and want
to publish the results to docs.openstack.org/releases. This change is
meant to enable that.

Change-Id: Ie7c752ba2ff601e4e0522e0c74ee89e7a23133d5
This commit is contained in:
Doug Hellmann 2015-09-01 19:28:32 +00:00
parent 3d67642239
commit d2f1866661
3 changed files with 24 additions and 2 deletions

View File

@ -2871,16 +2871,16 @@
name: releases
node: 'bare-precise || bare-trusty'
tarball-site: tarballs.openstack.org
docroot: governance
doc-publisher-site: docs.openstack.org
jobs:
- 'gate-{name}-docs'
- 'static-{name}-publish'
- 'gate-{name}-tox-{envlist}':
envlist: validate
- 'gate-{name}-tox-{envlist}':
envlist: list-changes
- gate-{name}-pep8
- publish-release-history
- project:
name: requirements

View File

@ -0,0 +1,20 @@
# This job is meant to be used *only* by the openstack/releases
# repository for publishing the release history after building the
# documentation in that repository.
- job-template:
name: publish-release-history
node: '{node}'
builders:
- revoke-sudo
- gerrit-git-prep
- docs
publishers:
- console-log
- ftp:
site: '{doc-publisher-site}'
source: 'doc/build/html/**'
target: 'releases'
remove-prefix: 'doc/build/html'
excludes: ''

View File

@ -4633,6 +4633,8 @@ projects:
gate:
- gate-releases-tox-validate
- gate-releases-docs
post:
- publish-release-history
- name: openstack/requirements
template: