Fix doc publishing for infra
Documents that we only publish in the release pipeline, need to get published to the top level directory as well as to a versioned subdir. Create docs-tags job for publishing of these repositories, like it was done for normal python projects. Remove the storyboard publish jobs, we can use the normal infra publish jobs for these. ci.openstack.org is not used anymore and the location http://ci.openstack.org/storyboard redirects to http://docs.openstack.org/infra/storyboard/ Also, update a misleading description. Change-Id: Ibef97f8d0c06b9f7f000872de14283e2911d3099
This commit is contained in:
parent
02456d0d9e
commit
5f73b62b70
@ -19,6 +19,29 @@
|
||||
excludes: ''
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{name}-infra-docs-tags-only'
|
||||
description: Publish infra documents, use when only publish on tag
|
||||
node: ubuntu-trusty
|
||||
|
||||
builders:
|
||||
- print-template-name:
|
||||
template-name: "{template-name}"
|
||||
- gerrit-git-prep
|
||||
- install-distro-packages
|
||||
- revoke-sudo
|
||||
- docs-tags-only-env:
|
||||
env: venv
|
||||
|
||||
publishers:
|
||||
- ftp:
|
||||
site: '{doc-publisher-site}'
|
||||
source: 'doc/build/html/**'
|
||||
target: 'infra/{doc-publisher-folder}'
|
||||
remove-prefix: 'doc/build/html'
|
||||
excludes: ''
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: publish-infra-docs-index
|
||||
description: Render and publish the infra docs index.
|
||||
@ -58,3 +81,4 @@
|
||||
name: infra-publish-jobs
|
||||
jobs:
|
||||
- '{name}-infra-docs'
|
||||
- '{name}-infra-docs-tags-only'
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
- job-template:
|
||||
name: '{name}-docs-tags-only'
|
||||
description: Publish documents only to tag location
|
||||
description: Publish infra documents, use when only publish on tag
|
||||
node: ubuntu-trusty
|
||||
|
||||
builders:
|
||||
|
@ -8216,10 +8216,13 @@
|
||||
- project:
|
||||
name: python-storyboardclient
|
||||
tarball-site: tarballs.openstack.org
|
||||
doc-publisher-site: docs.openstack.org
|
||||
doc-publisher-folder: python-storyboardclient
|
||||
|
||||
jobs:
|
||||
- python-jobs
|
||||
- pypi-jobs
|
||||
- infra-publish-jobs
|
||||
|
||||
- project:
|
||||
name: python-surveilclient
|
||||
|
@ -1,19 +0,0 @@
|
||||
# This is a non-standard docs job because it uses SCP instead of FTP
|
||||
- job:
|
||||
name: python-storyboardclient-infra-docs
|
||||
node: ubuntu-trusty
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- install-distro-packages
|
||||
- revoke-sudo
|
||||
- docs
|
||||
|
||||
publishers:
|
||||
- scp:
|
||||
site: '173.203.107.207' # ci.openstack.org
|
||||
files:
|
||||
- target: 'ci/python-storyboardclient'
|
||||
source: 'doc/build/html/**/*'
|
||||
keep-hierarchy: true
|
||||
- console-log
|
@ -1,23 +1,3 @@
|
||||
# This is a non-standard docs job because it uses SCP instead of FTP
|
||||
- job:
|
||||
name: storyboard-docs
|
||||
node: ubuntu-trusty
|
||||
|
||||
builders:
|
||||
- gerrit-git-prep
|
||||
- install-distro-packages
|
||||
- revoke-sudo
|
||||
- docs
|
||||
|
||||
publishers:
|
||||
- scp:
|
||||
site: '173.203.107.207'
|
||||
files:
|
||||
- target: 'ci/storyboard'
|
||||
source: 'doc/build/html/**/*'
|
||||
keep-hierarchy: true
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: gate-storyboard-js-integration
|
||||
node: ubuntu-trusty
|
||||
|
@ -3074,7 +3074,7 @@ projects:
|
||||
post:
|
||||
- bindep-coverage
|
||||
release:
|
||||
- bindep-infra-docs
|
||||
- bindep-infra-docs-tags-only
|
||||
|
||||
- name: openstack-infra/bugdaystats
|
||||
template:
|
||||
@ -3208,7 +3208,7 @@ projects:
|
||||
check:
|
||||
- gate-git-restack-python34
|
||||
release:
|
||||
- git-restack-infra-docs
|
||||
- git-restack-infra-docs-tags-only
|
||||
|
||||
- name: openstack-infra/git-review
|
||||
template:
|
||||
@ -3219,7 +3219,7 @@ projects:
|
||||
check:
|
||||
- gate-git-review-python34
|
||||
release:
|
||||
- git-review-infra-docs
|
||||
- git-review-infra-docs-tags-only
|
||||
|
||||
- name: openstack-infra/gitdm
|
||||
template:
|
||||
@ -4069,7 +4069,7 @@ projects:
|
||||
post:
|
||||
- python-storyboardclient-coverage
|
||||
release:
|
||||
- python-storyboardclient-infra-docs
|
||||
- python-storyboardclient-infra-docs-tags-only
|
||||
|
||||
# TODO: add docs
|
||||
- name: openstack-infra/release-tools
|
||||
@ -4167,9 +4167,9 @@ projects:
|
||||
- storyboard-branch-tarball
|
||||
- storyboard-coverage-db
|
||||
pre-release:
|
||||
- storyboard-infra-docs
|
||||
- storyboard-infra-docs-tags-only
|
||||
release:
|
||||
- storyboard-infra-docs
|
||||
- storyboard-infra-docs-tags-only
|
||||
experimental:
|
||||
- gate-storyboard-js-integration
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user