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
|
||||
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
|
||||
|
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-releases-tox-validate
|
||||
- gate-releases-docs
|
||||
post:
|
||||
- publish-release-history
|
||||
|
||||
- name: openstack/requirements
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user