Monty Taylor 3d32e37d44 Implement version filtering for oslo.
Oslo libraries want the following:

A tag to the repo will trigger tarball generation.

If the tag contains alpha\d*, beta\d* or rc\d*, the tarball will only
be uploaded to tarballs.openstack.org. This will allow those pre-releases
to be used in the other projects.

Otherwise, the tarball will be uploaded to tarballs.o.o AND PyPI. This
should allow us to use released versions of oslo libraries in pip-requires.

Change-Id: If99f048be36c249620368b19d8ca7504c698f29a
Reviewed-on: https://review.openstack.org/18171
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-28 17:58:32 +00:00

956 lines
24 KiB
YAML

includes:
- python-file: openstack_functions.py
pipelines:
- name: check
description: Newly uploaded patchsets enter this pipeline to receive an initial +/-1 Verified vote from Jenkins.
manager: IndependentPipelineManager
trigger:
- event: patchset-created
- event: comment-added
comment_filter: (?i)^\s*recheck( (?:bug|lp)[\s#:]*(\d+))?\s*$
success:
verified: 1
failure:
verified: -1
- name: gate
description: Changes that have been approved by core developers are enqueued in order in this pipeline, and if they pass tests in Jenkins, will be merged.
manager: DependentPipelineManager
trigger:
- event: comment-added
approval:
- approved: 1
- event: comment-added
comment_filter: (?i)^\s*reverify( (?:bug|lp)[\s#:]*(\d+))?\s*$
start:
verified: 0
success:
verified: 2
submit: true
failure:
verified: -2
- name: post
description: This pipeline runs jobs that operate after each change is merged.
manager: IndependentPipelineManager
trigger:
- event: ref-updated
ref: ^(?!(devnull|refs/.*)).*$
- name: pre-release
description: This pipeline runs jobs on projects in response to pre-release tags.
manager: IndependentPipelineManager
trigger:
- event: ref-updated
ref: ^refs/tags/([0-9]+\.)+[0-9]*(alpha|beta|candidate|rc|a|b|c|r)[0-9]*$
- name: publish
description: When a commit is tagged with a release tag, this pipeline runs jobs that operate on tags, such as uploading releases.
manager: IndependentPipelineManager
trigger:
- event: ref-updated
ref: ^refs/tags/([0-9]+\.)+[0-9]+$
- name: silent
description: This pipeline is used for silently testing new jobs.
manager: IndependentPipelineManager
trigger:
- event: patchset-created
- event: comment-added
comment_filter: (?i)^\s*recheck( (?:bug|lp)[\s#:]*(\d+))?\s*$
jobs:
- name: ^gate-tempest-devstack-vm.*$
parameter-function: devstack_params
- name: gate-tempest-devstack-vm-cinder
branch: stable/folsom
- name: ^.*-python27$
parameter-function: python27_params
- name: gate-nova-pylint
voting: false
branch: ^(?!stable/(diablo|essex)).*$
- name: dev-zuul-coverage
voting: false
- name: dev-heat-coverage
voting: false
- name: dev-python-heatclient-coverage
voting: false
- name: jenkins-job-builder-compare-xml
voting: false
failure-message: XML output has changed.
success-message: XML output is unchanged.
- name: config-compare-xml
voting: false
failure-message: Jenkins XML output has changed.
success-message: Jenkins XML output is unchanged.
- name: openstack-docs-site
branch: ^master$
- name: openstack-ha-guide
branch: ^master$
- name: gate-openstack-cli-guide
success-pattern: http://docs-draft.openstack.org/{job.name}/{pipeline.name}/{build.number}/cli/quick-start
- name: gate-tempest-devstack-vm-quantum
branch: ^(?!stable/(diablo|essex|folsom)).*$
voting: false
- name: gate-devstack-vm-quantum
branch: ^(?!stable/(diablo|essex|folsom)).*$
voting: false
projects:
- name: openstack-infra/zuul
check:
- gate-zuul-docs
- gate-zuul-pep8
- gate-zuul-pyflakes
- gate-zuul-python26
- gate-zuul-python27
- dev-zuul-coverage
gate:
- gate-zuul-docs
- gate-zuul-pep8
- gate-zuul-pyflakes
- gate-zuul-python26
- gate-zuul-python27
post:
- zuul-branch-tarball
- zuul-coverage
- zuul-docs
pre-release:
- zuul-docs
- zuul-tarball-upload
publish:
- zuul-docs
- zuul-pypi-sdist
- name: openstack-infra/nose-html-output
check:
- gate-noop
gate:
- gate-noop
post:
- nose-html-output-branch-tarball
pre-release:
- nose-html-output-tarball-upload
publish:
- nose-html-output-pypi-sdist
- name: openstack-infra/gerrit
check:
- check-gerrit-unittests
gate:
- gate-gerrit-unittests
post:
- gerrit-package
- name: openstack-infra/gerritbot
check:
- gate-gerritbot-pep8
- gate-gerritbot-pyflakes
gate:
- gate-gerritbot-pep8
- gate-gerritbot-pyflakes
post:
- gerritbot-branch-tarball
pre-release:
- gerritbot-tarball-upload
publish:
- gerritbot-pypi-sdist
- name: openstack-infra/gerritlib
check:
- gate-gerritlib-pep8
- gate-gerritlib-pyflakes
gate:
- gate-gerritlib-pep8
- gate-gerritlib-pyflakes
pre-release:
- gerritlib-tarball-upload
publish:
- gerritlib-pypi-sdist
- name: openstack-infra/jeepyb
check:
- gate-jeepyb-pep8
- gate-jeepyb-pyflakes
gate:
- gate-jeepyb-pep8
- gate-jeepyb-pyflakes
pre-release:
- jeepyb-tarball-upload
publish:
- jeepyb-pypi-sdist
- name: openstack-infra/jenkins-job-builder
check:
- gate-jenkins-job-builder-docs
- gate-jenkins-job-builder-pep8
- gate-jenkins-job-builder-pyflakes
- jenkins-job-builder-compare-xml
gate:
- gate-jenkins-job-builder-docs
- gate-jenkins-job-builder-pep8
- gate-jenkins-job-builder-pyflakes
post:
- jenkins-job-builder-branch-tarball
- jenkins-job-builder-docs
pre-release:
- jenkins-job-builder-tarball-upload
publish:
- jenkins-job-builder-pypi-sdist
- name: openstack-infra/lodgeit
check:
- gate-noop
gate:
- gate-noop
- name: openstack-infra/meetbot
check:
- gate-noop
gate:
- gate-noop
- name: openstack-infra/config
merge-mode: cherry-pick
check:
- gate-config-syntax
- gate-config-lint
- config-compare-xml
gate:
- gate-config-syntax
- gate-config-lint
post:
- ci-docs
- name: openstack-infra/puppet-apparmor
check:
- gate-noop
gate:
- gate-noop
- name: openstack-infra/puppet-dashboard
check:
- gate-noop
gate:
- gate-noop
- name: openstack-infra/puppet-vcsrepo
check:
- gate-noop
gate:
- gate-noop
- name: openstack/cinder
check:
- gate-cinder-docs
- gate-cinder-pep8
- gate-cinder-python26
- gate-cinder-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-cinder-docs
- gate-cinder-pep8
- gate-cinder-python26
- gate-cinder-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- cinder-tarball
- cinder-coverage
- cinder-docs
publish:
- cinder-docs
- name: openstack/glance
check:
- gate-glance-docs
- gate-glance-pep8
- gate-glance-python26
- gate-glance-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-glance-docs
- gate-glance-pep8
- gate-glance-python26
- gate-glance-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- glance-tarball
- glance-coverage
- glance-docs
publish:
- glance-docs
- name: openstack/horizon
check:
- gate-horizon-docs
- gate-horizon-pep8
- gate-horizon-python26
- gate-horizon-python27
- gate-horizon-selenium
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-horizon-docs
- gate-horizon-pep8
- gate-horizon-python26
- gate-horizon-python27
- gate-horizon-selenium
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- horizon-tarball
- horizon-coverage
- horizon-docs
publish:
- horizon-docs
- name: openstack/keystone
check:
- gate-keystone-docs
- gate-keystone-pep8
- gate-keystone-python26
- gate-keystone-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-keystone-docs
- gate-keystone-pep8
- gate-keystone-python26
- gate-keystone-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- keystone-tarball
- keystone-coverage
- keystone-docs
- keystone-upstream-translation-update
- name: openstack/nova
check:
- gate-nova-docs
- gate-nova-pep8
- gate-nova-python26
- gate-nova-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
- gate-nova-pylint
gate:
- gate-nova-docs
- gate-nova-pep8
- gate-nova-python26
- gate-nova-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- nova-tarball
- nova-coverage
- nova-docs
- nova-upstream-translation-update
publish:
- nova-docs
- name: openstack/oslo-incubator
check:
- gate-oslo-incubator-docs
- gate-oslo-incubator-pep8
- gate-oslo-incubator-pyflakes
- gate-oslo-incubator-python26
- gate-oslo-incubator-python27
gate:
- gate-oslo-incubator-docs
- gate-oslo-incubator-pep8
- gate-oslo-incubator-python26
- gate-oslo-incubator-python27
post:
- oslo-incubator-docs
publish:
- oslo-incubator-docs
- name: openstack/quantum
check:
- gate-quantum-docs
- gate-quantum-pep8
- gate-quantum-python26
- gate-quantum-python27
- gate-tempest-devstack-vm-quantum
- gate-devstack-vm-quantum
gate:
- gate-quantum-docs
- gate-quantum-pep8
- gate-quantum-python26
- gate-quantum-python27
- gate-tempest-devstack-vm-quantum
- gate-devstack-vm-quantum
post:
- quantum-tarball
- quantum-coverage
- quantum-docs
publish:
- quantum-docs
- name: openstack/swift
check:
- gate-swift-docs
- gate-swift-pep8
- gate-swift-python26
- gate-swift-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-swift-docs
- gate-swift-pep8
- gate-swift-python26
- gate-swift-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- swift-tarball
- swift-coverage
- swift-docs
publish:
- swift-docs
- name: openstack/python-ceilometerclient
check:
- gate-python-ceilometerclient-docs
- gate-python-ceilometerclient-pep8
- gate-python-ceilometerclient-python26
- gate-python-ceilometerclient-python27
gate:
- gate-python-ceilometerclient-docs
- gate-python-ceilometerclient-pep8
- gate-python-ceilometerclient-python26
- gate-python-ceilometerclient-python27
post:
- python-ceilometerclient-branch-tarball
- python-ceilometerclient-coverage
pre-release:
- python-ceilometerclient-tarball-upload
publish:
- python-ceilometerclient-pypi-sdist
- python-ceilometerclient-docs
- name: openstack/python-cinderclient
check:
- gate-python-cinderclient-docs
- gate-python-cinderclient-pep8
- gate-python-cinderclient-python26
- gate-python-cinderclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-python-cinderclient-docs
- gate-python-cinderclient-pep8
- gate-python-cinderclient-python26
- gate-python-cinderclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- python-cinderclient-branch-tarball
- python-cinderclient-coverage
pre-release:
- python-cinderclient-tarball-upload
publish:
- python-cinderclient-pypi-sdist
- python-cinderclient-docs
- name: openstack/python-glanceclient
check:
- gate-python-glanceclient-docs
- gate-python-glanceclient-pep8
- gate-python-glanceclient-python26
- gate-python-glanceclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-python-glanceclient-docs
- gate-python-glanceclient-pep8
- gate-python-glanceclient-python26
- gate-python-glanceclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- python-glanceclient-branch-tarball
- python-glanceclient-coverage
pre-release:
- python-glanceclient-tarball-upload
publish:
- python-glanceclient-pypi-sdist
- python-glanceclient-docs
- name: openstack/python-keystoneclient
check:
- gate-python-keystoneclient-docs
- gate-python-keystoneclient-pep8
- gate-python-keystoneclient-python26
- gate-python-keystoneclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-python-keystoneclient-docs
- gate-python-keystoneclient-pep8
- gate-python-keystoneclient-python26
- gate-python-keystoneclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- python-keystoneclient-branch-tarball
- python-keystoneclient-coverage
pre-release:
- python-keystoneclient-tarball-upload
publish:
- python-keystoneclient-pypi-sdist
- python-keystoneclient-docs
- name: openstack/python-novaclient
check:
- gate-python-novaclient-docs
- gate-python-novaclient-pep8
- gate-python-novaclient-python26
- gate-python-novaclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-python-novaclient-docs
- gate-python-novaclient-pep8
- gate-python-novaclient-python26
- gate-python-novaclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- python-novaclient-branch-tarball
- python-novaclient-coverage
pre-release:
- python-novaclient-tarball-upload
publish:
- python-novaclient-pypi-sdist
- python-novaclient-docs
- name: openstack/python-openstackclient
check:
- gate-python-openstackclient-docs
- gate-python-openstackclient-pep8
- gate-python-openstackclient-python26
- gate-python-openstackclient-python27
gate:
- gate-python-openstackclient-docs
- gate-python-openstackclient-pep8
- gate-python-openstackclient-python26
- gate-python-openstackclient-python27
post:
- python-openstackclient-branch-tarball
- python-openstackclient-coverage
pre-release:
- python-openstackclient-tarball-upload
publish:
- python-openstackclient-pypi-sdist
- python-openstackclient-docs
- name: openstack/python-quantumclient
check:
- gate-python-quantumclient-docs
- gate-python-quantumclient-pep8
- gate-python-quantumclient-python26
- gate-python-quantumclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
gate:
- gate-python-quantumclient-docs
- gate-python-quantumclient-pep8
- gate-python-quantumclient-python26
- gate-python-quantumclient-python27
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-devstack-vm-quantum
post:
- python-quantumclient-branch-tarball
- python-quantumclient-coverage
pre-release:
- python-quantumclient-tarball-upload
publish:
- python-quantumclient-pypi-sdist
- python-quantumclient-docs
- name: openstack/python-swiftclient
check:
- gate-python-swiftclient-docs
- gate-python-swiftclient-pep8
- gate-python-swiftclient-python26
- gate-python-swiftclient-python27
gate:
- gate-python-swiftclient-docs
- gate-python-swiftclient-pep8
- gate-python-swiftclient-python26
- gate-python-swiftclient-python27
post:
- python-swiftclient-branch-tarball
- python-swiftclient-coverage
pre-release:
- python-swiftclient-tarball-upload
publish:
- python-swiftclient-pypi-sdist
- python-swiftclient-docs
- name: openstack/requirements
check:
- gate-noop
gate:
- gate-noop
- name: openstack-dev/devstack
check:
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-tempest-devstack-vm-quantum
- gate-devstack-vm-quantum
gate:
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-tempest-devstack-vm-quantum
- gate-devstack-vm-quantum
silent:
- gate-tempest-devstack-vm-postgres
- name: openstack-infra/devstack-gate
check:
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-tempest-devstack-vm-quantum
- gate-devstack-vm-quantum
gate:
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-tempest-devstack-vm-quantum
- gate-devstack-vm-quantum
silent:
- gate-tempest-devstack-vm-postgres
- name: openstack/tempest
check:
- gate-tempest-pep8
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-tempest-devstack-vm-quantum
- gate-devstack-vm-quantum
gate:
- gate-tempest-pep8
- gate-tempest-devstack-vm
- gate-tempest-devstack-vm-cinder
- gate-tempest-devstack-vm-quantum
- gate-devstack-vm-quantum
- name: openstack/ceilometer
check:
- gate-ceilometer-pep8
- gate-ceilometer-python26
- gate-ceilometer-python27
- gate-ceilometer-python26-folsom
- gate-ceilometer-python27-folsom
gate:
- gate-ceilometer-pep8
- gate-ceilometer-python26
- gate-ceilometer-python27
- gate-ceilometer-python26-folsom
- gate-ceilometer-python27-folsom
post:
- ceilometer-tarball
- ceilometer-coverage
- ceilometer-docs
publish:
- ceilometer-docs
- name: stackforge/MRaaS
check:
- gate-noop
gate:
- gate-noop
- name: stackforge/libra
check:
- gate-libra-pep8
- gate-libra-python27
gate:
- gate-libra-pep8
- gate-libra-python27
- name: stackforge/healthnmon
check:
- gate-healthnmon-pep8
- gate-healthnmon-python27
gate:
- gate-healthnmon-pep8
- gate-healthnmon-python27
- name: openstack/heat
check:
- gate-heat-pep8
- gate-heat-python26
- gate-heat-python27
- dev-heat-coverage
gate:
- gate-heat-pep8
- gate-heat-python26
- gate-heat-python27
post:
- heat-tarball
- heat-coverage
- heat-docs
publish:
- heat-docs
- name: openstack/python-heatclient
check:
- gate-python-heatclient-pep8
- gate-python-heatclient-python26
- gate-python-heatclient-python27
- dev-python-heatclient-coverage
gate:
- gate-python-heatclient-pep8
- gate-python-heatclient-python26
- gate-python-heatclient-python27
post:
- python-heatclient-sdist-tarball
- python-heatclient-coverage
publish:
- python-heatclient-pypi-sdist
- python-heatclient-docs
- name: stackforge/reddwarf
check:
- gate-reddwarf-pep8
- gate-reddwarf-python26
- gate-reddwarf-python27
gate:
- gate-reddwarf-pep8
- gate-reddwarf-python26
- gate-reddwarf-python27
- name: stackforge/reddwarf-integration
check:
- gate-noop
gate:
- gate-noop
- name: stackforge/python-reddwarfclient
check:
- gate-python-reddwarfclient-pep8
- gate-python-reddwarfclient-python26
- gate-python-reddwarfclient-python27
gate:
- gate-python-reddwarfclient-pep8
- gate-python-reddwarfclient-python26
- gate-python-reddwarfclient-python27
- name: stackforge/marconi
check:
- gate-marconi-pep8
- gate-marconi-python26
- gate-marconi-python27
gate:
- gate-marconi-pep8
- gate-marconi-python26
- gate-marconi-python27
- name: stackforge/moniker
check:
- gate-moniker-pep8
- gate-moniker-pyflakes
- gate-moniker-python26
- gate-moniker-python27
gate:
- gate-moniker-pep8
- gate-moniker-pyflakes
- gate-moniker-python26
- gate-moniker-python27
post:
- hook-moniker-rtfd
pre-release:
- moniker-tarball-upload
publish:
- moniker-pypi-sdist
- name: stackforge/python-monikerclient
check:
- gate-python-monikerclient-pep8
- gate-python-monikerclient-pyflakes
- gate-python-monikerclient-python26
- gate-python-monikerclient-python27
gate:
- gate-python-monikerclient-pep8
- gate-python-monikerclient-pyflakes
- gate-python-monikerclient-python26
- gate-python-monikerclient-python27
post:
- hook-python-monikerclient-rtfd
pre-release:
- python-monikerclient-tarball-upload
publish:
- python-monikerclient-pypi-sdist
- name: stackforge/bufunfa
check:
- gate-bufunfa-pep8
- gate-bufunfa-python26
- gate-bufunfa-python27
gate:
- gate-bufunfa-pep8
- gate-bufunfa-python26
- gate-bufunfa-python27
post:
- hook-bufunfa-rtfd
- name: openstack/openstack-manuals
check:
- gate-openstack-cli-guide
gate:
- gate-openstack-cli-guide
post:
- openstack-admin-manual-compute
- openstack-admin-manual-keystone-diablo
- openstack-admin-manual-netconn
- openstack-admin-manual-object
- openstack-admin-manuals-diablo
- openstack-cli-guide
- openstack-basic-install
- openstack-glossary
- openstack-docs-site
- openstack-ha-guide
- openstack-install-deploy-guide-apt-fedora
- openstack-install-deploy-guide-ubuntu
- name: openstack/api-site
check:
- gate-noop
gate:
- gate-noop
post:
- openstack-api-quick-start
- openstack-api-site
- openstack-api-ref
- openstack-api-programming
- name: openstack/compute-api
check:
- gate-noop
gate:
- gate-noop
post:
- openstack-compute-api-doc
- openstack-compute-api-v20-wadl
- name: openstack/identity-api
check:
- gate-noop
gate:
- gate-noop
post:
- identity-api-v20
- name: openstack/image-api
check:
- gate-noop
gate:
- gate-noop
post:
- image-api-v11
- image-api-v20
- name: openstack/netconn-api
check:
- gate-noop
gate:
- gate-noop
post:
- network-api-v10
- netconn-api-v20
- name: openstack/object-api
check:
- gate-noop
gate:
- gate-noop
post:
- openstack-object-api-doc
- name: openstack/volume-api
check:
- gate-noop
gate:
- gate-noop
post:
- volume-api
- name: openstack/openstack-chef
check:
- gate-noop
gate:
- gate-noop
- name: openstack-dev/openstack-nose
check:
- gate-noop
gate:
- gate-noop
- name: openstack-dev/openstack-qa
check:
- gate-noop
gate:
- gate-noop
post:
- openstack-qa-docs
publish:
- openstack-qa-docs
- name: openstack-infra/git-review
check:
- gate-git-review-pep8
gate:
- gate-git-review-pep8
- name: openstack/openstack-planet
check:
- gate-openstack-planet-unittest
gate:
- gate-openstack-planet-unittest
- name: openstack-dev/sandbox
check:
- gate-noop
gate:
- gate-noop
- name: stackforge/diskimage-builder
check:
- gate-noop
gate:
- gate-noop