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:
parent
3d67642239
commit
d2f1866661
@ -2871,16 +2871,16 @@
|
|||||||
name: releases
|
name: releases
|
||||||
node: 'bare-precise || bare-trusty'
|
node: 'bare-precise || bare-trusty'
|
||||||
tarball-site: tarballs.openstack.org
|
tarball-site: tarballs.openstack.org
|
||||||
docroot: governance
|
doc-publisher-site: docs.openstack.org
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- 'gate-{name}-docs'
|
- 'gate-{name}-docs'
|
||||||
- 'static-{name}-publish'
|
|
||||||
- 'gate-{name}-tox-{envlist}':
|
- 'gate-{name}-tox-{envlist}':
|
||||||
envlist: validate
|
envlist: validate
|
||||||
- 'gate-{name}-tox-{envlist}':
|
- 'gate-{name}-tox-{envlist}':
|
||||||
envlist: list-changes
|
envlist: list-changes
|
||||||
- gate-{name}-pep8
|
- gate-{name}-pep8
|
||||||
|
- publish-release-history
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: requirements
|
name: requirements
|
||||||
|
20
jenkins/jobs/release-jobs.yaml
Normal file
20
jenkins/jobs/release-jobs.yaml
Normal 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: ''
|
@ -4633,6 +4633,8 @@ projects:
|
|||||||
gate:
|
gate:
|
||||||
- gate-releases-tox-validate
|
- gate-releases-tox-validate
|
||||||
- gate-releases-docs
|
- gate-releases-docs
|
||||||
|
post:
|
||||||
|
- publish-release-history
|
||||||
|
|
||||||
- name: openstack/requirements
|
- name: openstack/requirements
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user