644ae7f102
Add test-results publisher so that we get output from tox. Remove swagger job, it's not used anymore. Change-Id: I0de625525cab7db126e608877ad1cc1c3f4d05b6
167 lines
4.1 KiB
YAML
167 lines
4.1 KiB
YAML
- job:
|
|
name: openstack-api-ref
|
|
node: ubuntu-xenial
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'publishdocs-api'
|
|
|
|
publishers:
|
|
- upload-doc-build-results
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'publish-docs/api-ref/**'
|
|
target: '/'
|
|
remove-prefix: 'publish-docs/api-ref/'
|
|
- test-results
|
|
- console-log
|
|
|
|
- job:
|
|
name: openstack-api-ref-publish-lang
|
|
node: ubuntu-xenial
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'publishlang-api'
|
|
|
|
publishers:
|
|
- upload-doc-build-results
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'publish-docs/api-ref/**'
|
|
target: '/'
|
|
remove-prefix: 'publish-docs/api-ref/'
|
|
- test-results
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: gate-{name}-api-guide
|
|
description: Build and draft the API Guide from source.
|
|
node: ubuntu-xenial
|
|
|
|
builders:
|
|
- zuul-git-prep-upper-constraints
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'api-guide'
|
|
|
|
publishers:
|
|
- upload-api-guide-draft
|
|
- test-results
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: '{name}-api-guide'
|
|
description: Build and publish the API Guide from source.
|
|
node: ubuntu-xenial
|
|
|
|
builders:
|
|
- zuul-git-prep-upper-constraints
|
|
- 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/'
|
|
- test-results
|
|
- console-log
|
|
|
|
# Be aware that the variable "service" needs to be set when this job
|
|
# group is used.
|
|
# The "service" variable comes from the service catalog, which is
|
|
# based on the openstack/service-types-authority project as a
|
|
# canonical reference for names. When your project has spaces in the
|
|
# service entry, use dashes for the spaces, such as "object-storage"
|
|
# (the service is not swift).
|
|
- job-group:
|
|
name: api-guide-jobs
|
|
|
|
jobs:
|
|
- gate-{name}-api-guide
|
|
- '{name}-api-guide'
|
|
|
|
- job-template:
|
|
name: gate-{name}-api-ref
|
|
description: Build and draft the API Reference from source.
|
|
node: ubuntu-xenial
|
|
|
|
builders:
|
|
- zuul-git-prep-upper-constraints
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- tox:
|
|
envlist: 'api-ref'
|
|
|
|
publishers:
|
|
- upload-api-ref-draft
|
|
- test-results
|
|
- console-log
|
|
|
|
- job-template:
|
|
name: '{name}-api-ref'
|
|
description: Build and publish the API Reference from source.
|
|
node: ubuntu-xenial
|
|
|
|
builders:
|
|
- zuul-git-prep-upper-constraints
|
|
- 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/'
|
|
- test-results
|
|
- console-log
|
|
|
|
# Be aware that the variable "service" needs to be
|
|
# set when this job group is used.
|
|
# The "service" variable comes from the service catalog, which is
|
|
# based on the openstack/service-types-authority project as a
|
|
# canonical reference for names. When your project has spaces in the
|
|
# service entry, use dashes for the spaces, such as "object-storage"
|
|
# (the service is not swift).
|
|
- job-group:
|
|
name: api-ref-jobs
|
|
|
|
jobs:
|
|
- gate-{name}-api-ref
|
|
- '{name}-api-ref'
|
|
|
|
- job:
|
|
name: python-openstacksdk-docs
|
|
description: Build and publish the Python SDK docs from source.
|
|
node: ubuntu-xenial
|
|
|
|
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: ''
|
|
- test-results
|
|
- console-log
|