0af9b2c178
Between the Icehouse and Juno releases, OpenStack changed its supported Ubuntu LTS platform from Precise to Trusty. In support of continuing testing stable/icehouse and prior branches on Precise while starting to test newer branches on Trusty, a branch-based decision tree was introduced into our Zuul configuration by way of complex parameter functions with an ever growing list of regular expression matches on job names. Now that Icehouse is EOL (in fact, Juno is too) this simply adds unnecessary complexity and an attractive nuisance for cargo-cult copying into new job and job-template definitions which don't even need it. In preparation to remove the associated parameter functions, get rid of multiple labels in all jobs and set them to whatever label Zuul would ultimately select. This change touches a vast number, possibly a majority, of our jobs and so manual jenkins-jobs updates on all Jenkins masters will be needed after this merges, before it's safe to approve the corresponding Zuul configuration cleanup. Change-Id: Ic952ee02da2c77fe2ace81c4e2fa87531be6119c
132 lines
2.8 KiB
YAML
132 lines
2.8 KiB
YAML
- job-template:
|
|
name: '{name}-tox-doc-{envlist}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 40
|
|
- timestamps
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: '{envlist}'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-to-docs-site
|
|
- upload-doc-build-results
|
|
|
|
node: '{node}'
|
|
|
|
- job:
|
|
name: openstack-api-ref
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- 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/'
|
|
|
|
- job:
|
|
name: openstack-api-ref-publish-lang
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- 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/'
|
|
|
|
# in zuul/layout.yaml specified to only run against master branch.
|
|
# this copies static files from www
|
|
- job:
|
|
name: openstack-api-site
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'www/**'
|
|
target: ''
|
|
remove-prefix: 'www/'
|
|
excludes: ''
|
|
- console-log
|
|
|
|
- job:
|
|
name: gate-compute-api-guide
|
|
description: Build and draft the Compute API Guide from nova source.
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'api-guide'
|
|
|
|
publishers:
|
|
- console-log
|
|
- upload-api-guide-draft
|
|
|
|
- job:
|
|
name: compute-api-guide
|
|
description: Build and publish the Compute API Guide from nova source.
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'api-guide'
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'api-guide/build/html/**'
|
|
target: 'api-guide/compute'
|
|
remove-prefix: 'api-guide/build/html/'
|
|
|
|
- job:
|
|
name: python-openstacksdk-docs
|
|
description: Build and publish the Python SDK docs from source.
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- docs
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: developer.openstack.org
|
|
source: 'doc/build/html/**'
|
|
target: 'sdks/python/openstacksdk'
|
|
remove-prefix: 'doc/build/html/'
|
|
excludes: ''
|
|
- console-log
|