2012-10-31 10:39:25 -05:00
|
|
|
- job:
|
2012-11-02 15:13:51 +00:00
|
|
|
name: openstack-api-ref
|
2016-07-29 11:58:28 +02:00
|
|
|
node: ubuntu-xenial
|
2012-10-31 10:39:25 -05:00
|
|
|
|
2014-02-14 19:43:19 +01:00
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 14:07:08 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2014-02-14 19:43:19 +01:00
|
|
|
envlist: 'publishdocs-api'
|
2012-10-31 10:39:25 -05:00
|
|
|
|
|
|
|
publishers:
|
2014-02-14 19:43:19 +01:00
|
|
|
- upload-doc-build-results
|
2016-09-30 08:31:56 -07:00
|
|
|
- afs:
|
|
|
|
site: afs-developer-docs
|
|
|
|
source: 'publish-docs/api-ref/**'
|
|
|
|
target: '/'
|
|
|
|
remove-prefix: 'publish-docs/api-ref/'
|
2016-09-01 07:26:27 +02:00
|
|
|
- test-results
|
2016-06-15 09:59:19 -04:00
|
|
|
- console-log
|
2012-11-02 15:13:51 +00:00
|
|
|
|
2015-10-09 10:15:58 +02:00
|
|
|
- job:
|
|
|
|
name: openstack-api-ref-publish-lang
|
2016-07-29 11:58:28 +02:00
|
|
|
node: ubuntu-xenial
|
2015-10-09 10:15:58 +02:00
|
|
|
|
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 14:07:08 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-10-09 10:15:58 +02:00
|
|
|
envlist: 'publishlang-api'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- upload-doc-build-results
|
2016-09-30 08:31:56 -07:00
|
|
|
- afs:
|
|
|
|
site: afs-developer-docs
|
|
|
|
source: 'publish-docs/api-ref/**'
|
|
|
|
target: '/'
|
|
|
|
remove-prefix: 'publish-docs/api-ref/'
|
2016-09-01 07:26:27 +02:00
|
|
|
- test-results
|
2016-06-15 09:59:19 -04:00
|
|
|
- console-log
|
2016-01-19 12:35:27 -06:00
|
|
|
|
2016-03-13 20:16:56 +01:00
|
|
|
- job-template:
|
|
|
|
name: gate-{name}-api-guide
|
|
|
|
description: Build and draft the API Guide from source.
|
2016-07-29 11:58:28 +02:00
|
|
|
node: ubuntu-xenial
|
2015-10-05 08:44:40 -05:00
|
|
|
|
2015-11-13 15:00:30 +01:00
|
|
|
builders:
|
2016-07-18 16:30:05 +02:00
|
|
|
- zuul-git-prep-upper-constraints
|
2016-03-04 14:07:08 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-10-05 08:44:40 -05:00
|
|
|
envlist: 'api-guide'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- upload-api-guide-draft
|
2016-09-01 07:26:27 +02:00
|
|
|
- test-results
|
2016-06-15 09:59:19 -04:00
|
|
|
- console-log
|
2015-10-05 08:44:40 -05:00
|
|
|
|
2016-03-13 20:16:56 +01:00
|
|
|
- job-template:
|
|
|
|
name: '{name}-api-guide'
|
|
|
|
description: Build and publish the API Guide from source.
|
2016-07-29 11:58:28 +02:00
|
|
|
node: ubuntu-xenial
|
2015-10-05 08:44:40 -05:00
|
|
|
|
2015-11-13 15:00:30 +01:00
|
|
|
builders:
|
2016-07-18 16:30:05 +02:00
|
|
|
- zuul-git-prep-upper-constraints
|
2016-03-04 14:07:08 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-10-05 08:44:40 -05:00
|
|
|
envlist: 'api-guide'
|
2016-09-14 19:09:22 +02:00
|
|
|
- add-docs-root-marker:
|
|
|
|
docsrootdir: api-guide/build/html
|
2015-10-05 08:44:40 -05:00
|
|
|
|
|
|
|
publishers:
|
2016-09-30 08:31:56 -07:00
|
|
|
- afs:
|
|
|
|
site: afs-developer-docs
|
|
|
|
source: 'api-guide/build/html/**'
|
|
|
|
target: 'api-guide/{service}'
|
|
|
|
remove-prefix: 'api-guide/build/html/'
|
2016-09-01 07:26:27 +02:00
|
|
|
- test-results
|
2016-03-21 12:34:44 -07:00
|
|
|
- console-log
|
2015-10-05 08:44:40 -05:00
|
|
|
|
2016-05-03 20:24:15 +02:00
|
|
|
# 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'
|
|
|
|
|
2016-03-29 13:31:25 -04:00
|
|
|
- job-template:
|
|
|
|
name: gate-{name}-api-ref
|
|
|
|
description: Build and draft the API Reference from source.
|
2016-07-29 11:58:28 +02:00
|
|
|
node: ubuntu-xenial
|
2016-03-29 13:31:25 -04:00
|
|
|
|
|
|
|
builders:
|
2016-07-18 16:30:05 +02:00
|
|
|
- zuul-git-prep-upper-constraints
|
2016-03-29 13:31:25 -04:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2016-03-29 13:31:25 -04:00
|
|
|
envlist: 'api-ref'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- upload-api-ref-draft
|
2016-09-01 07:26:27 +02:00
|
|
|
- test-results
|
2016-06-15 09:59:19 -04:00
|
|
|
- console-log
|
2016-03-29 13:31:25 -04:00
|
|
|
|
2017-03-24 13:26:17 +03:00
|
|
|
- job-template:
|
|
|
|
name: gate-placement-api-ref-nv
|
|
|
|
description: Build and draft the placement API Reference from source.
|
|
|
|
node: ubuntu-xenial
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- zuul-git-prep-upper-constraints
|
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
|
|
|
- run-tox:
|
|
|
|
envlist: 'placement-api-ref'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- upload-placement-api-ref-draft
|
|
|
|
- test-results
|
|
|
|
- console-log
|
|
|
|
|
2016-09-12 08:46:25 -04:00
|
|
|
- job-template:
|
|
|
|
name: gate-{name}-api-ref-src
|
|
|
|
description: Build and draft the API Reference from source using os-api-ref from source.
|
|
|
|
node: ubuntu-xenial
|
|
|
|
|
|
|
|
builders:
|
2016-09-13 07:31:35 -04:00
|
|
|
- zuul-git-prep-upper-constraints-api-ref:
|
|
|
|
project: openstack/{name}
|
2016-09-12 08:46:25 -04:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-09-13 07:31:35 -04:00
|
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox-api-ref.sh"
|
2016-09-12 08:46:25 -04:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- upload-api-ref-draft
|
|
|
|
- test-results
|
|
|
|
- console-log
|
|
|
|
|
2016-03-29 13:31:25 -04:00
|
|
|
- job-template:
|
|
|
|
name: '{name}-api-ref'
|
|
|
|
description: Build and publish the API Reference from source.
|
2016-07-29 11:58:28 +02:00
|
|
|
node: ubuntu-xenial
|
2016-03-29 13:31:25 -04:00
|
|
|
|
|
|
|
builders:
|
2016-07-18 16:30:05 +02:00
|
|
|
- zuul-git-prep-upper-constraints
|
2016-03-29 13:31:25 -04:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2016-03-29 13:31:25 -04:00
|
|
|
envlist: 'api-ref'
|
2016-09-14 19:09:22 +02:00
|
|
|
- add-docs-root-marker:
|
|
|
|
docsrootdir: api-ref/build/html
|
2016-03-29 13:31:25 -04:00
|
|
|
|
|
|
|
publishers:
|
2016-09-30 08:31:56 -07:00
|
|
|
- afs:
|
|
|
|
site: afs-developer-docs
|
|
|
|
source: 'api-ref/build/html/**'
|
|
|
|
target: 'api-ref/{service}'
|
|
|
|
remove-prefix: 'api-ref/build/html/'
|
2016-09-01 07:26:27 +02:00
|
|
|
- test-results
|
2016-03-29 13:31:25 -04:00
|
|
|
- console-log
|
|
|
|
|
2016-05-03 20:24:15 +02:00
|
|
|
# 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
|
2016-09-12 08:46:25 -04:00
|
|
|
- gate-{name}-api-ref-src
|
2016-05-03 20:24:15 +02:00
|
|
|
- '{name}-api-ref'
|
|
|
|
|
2015-11-17 14:26:27 -06:00
|
|
|
- job:
|
|
|
|
name: python-openstacksdk-docs
|
|
|
|
description: Build and publish the Python SDK docs from source.
|
2016-07-29 11:58:28 +02:00
|
|
|
node: ubuntu-xenial
|
2015-11-17 14:26:27 -06:00
|
|
|
|
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 14:07:08 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2015-11-17 14:26:27 -06:00
|
|
|
- docs
|
|
|
|
|
|
|
|
publishers:
|
2016-09-30 08:31:56 -07:00
|
|
|
- afs:
|
|
|
|
site: afs-developer-docs
|
|
|
|
source: 'doc/build/html/**'
|
|
|
|
target: 'sdks/python/openstacksdk'
|
|
|
|
remove-prefix: 'doc/build/html/'
|
2016-09-01 07:26:27 +02:00
|
|
|
- test-results
|
2015-11-17 14:26:27 -06:00
|
|
|
- console-log
|
2016-10-10 16:40:32 +02:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: murano-firstapp-docs
|
|
|
|
description: Build and publish the Murano Firstapp docs from source.
|
|
|
|
node: ubuntu-xenial
|
|
|
|
|
|
|
|
builders:
|
2016-10-14 20:00:58 +02:00
|
|
|
- zuul-git-prep-upper-constraints
|
2016-10-10 16:40:32 +02:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2016-10-10 16:40:32 +02:00
|
|
|
envlist: 'murano-firstapp'
|
|
|
|
- add-docs-root-marker:
|
|
|
|
docsrootdir: doc/build/murano-firstapp/html
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- afs:
|
|
|
|
site: afs-developer-docs
|
|
|
|
source: 'doc/build/murano-firstapp/html/**'
|
|
|
|
target: 'murano-firstapp'
|
|
|
|
remove-prefix: 'doc/build/murano-firstapp/html/'
|
|
|
|
- test-results
|
|
|
|
- console-log
|
2016-10-14 15:24:47 +02:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: gate-murano-firstapp-docs
|
|
|
|
description: Build and publish draft of the Murano Firstapp docs.
|
|
|
|
node: ubuntu-xenial
|
|
|
|
|
|
|
|
builders:
|
2016-10-14 20:00:58 +02:00
|
|
|
- zuul-git-prep-upper-constraints
|
2016-10-14 15:24:47 +02:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2016-10-14 15:24:47 +02:00
|
|
|
envlist: 'murano-firstapp'
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- scp:
|
|
|
|
site: 'static.openstack.org'
|
|
|
|
files:
|
|
|
|
- target: 'docs-draft/$LOG_PATH'
|
|
|
|
source: 'doc/build/murano-firstapp/html/**'
|
|
|
|
keep-hierarchy: true
|
|
|
|
copy-after-failure: true
|
|
|
|
- test-results
|
|
|
|
- console-log
|