project-config/jenkins/jobs/infra-publish-jobs.yaml
Andreas Jaeger 5f73b62b70 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
2016-06-29 21:31:54 +02:00

85 lines
2.0 KiB
YAML

- job-template:
name: '{name}-infra-docs'
node: 'ubuntu-trusty'
builders:
- print-template-name:
template-name: "{template-name}"
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- docs
publishers:
- ftp:
site: '{doc-publisher-site}'
source: 'doc/build/html/**'
target: 'infra/{doc-publisher-folder}'
remove-prefix: 'doc/build/html'
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.
node: ubuntu-trusty
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- tox:
envlist: infra-docs
publishers:
- ftp:
site: docs.openstack.org
source: 'docs-site/output/index.html'
target: 'infra/'
remove-prefix: 'docs-site/output/'
- console-log
- job:
name: gate-infra-docs-index
description: Render the infra docs index without publishing it.
node: ubuntu-trusty
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- tox:
envlist: infra-docs
publishers:
- console-log
- job-group:
name: infra-publish-jobs
jobs:
- '{name}-infra-docs'
- '{name}-infra-docs-tags-only'