cffd41baf7
This creates most of the api-ref publishing pipeline along the lines of api-guide. It's designed to support the new initiative to get API docs into RST and back into project trees directly. Also make nova patches ignore api-ref for the same things that api-guide was ignored for. Change-Id: I3265398fe46b04330401ca60391c105fd5d837fc
154 lines
3.4 KiB
YAML
154 lines
3.4 KiB
YAML
- job:
|
|
name: openstack-api-ref
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'publishdocs-api'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-doc-build-results
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'publish-docs/api-ref/**'
|
|
target: '/'
|
|
remove-prefix: 'publish-docs/api-ref/'
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'swagger/**'
|
|
target: 'draft/swagger/'
|
|
remove-prefix: 'swagger/'
|
|
|
|
- job:
|
|
name: openstack-api-ref-publish-lang
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'publishlang-api'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-doc-build-results
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'publish-docs/api-ref/**'
|
|
target: '/'
|
|
remove-prefix: 'publish-docs/api-ref/'
|
|
|
|
- job:
|
|
name: gate-build-swagger
|
|
description: Build and publish draft Swagger files from WADL migration.
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- npm-install
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'makeswagger'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-swagger-draft
|
|
|
|
- job-template:
|
|
name: gate-{name}-api-guide
|
|
description: Build and draft the API Guide from source.
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'api-guide'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-api-guide-draft
|
|
|
|
- job-template:
|
|
name: '{name}-api-guide'
|
|
description: Build and publish the API Guide from source.
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'api-guide'
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'api-guide/build/html/**'
|
|
target: 'api-guide/{service}'
|
|
remove-prefix: 'api-guide/build/html/'
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: gate-{name}-api-ref
|
|
description: Build and draft the API Reference from source.
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'api-ref'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-api-ref-draft
|
|
|
|
- job-template:
|
|
name: '{name}-api-ref'
|
|
description: Build and publish the API Reference from source.
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'api-ref'
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'api-ref/build/html/**'
|
|
target: 'api-ref/{service}'
|
|
remove-prefix: 'api-ref/build/html/'
|
|
- console-log
|
|
|
|
- job:
|
|
name: python-openstacksdk-docs
|
|
description: Build and publish the Python SDK docs from source.
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- docs
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'doc/build/html/**'
|
|
target: 'sdks/python/openstacksdk'
|
|
remove-prefix: 'doc/build/html/'
|
|
excludes: ''
|
|
- console-log
|