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
This commit is contained in:
parent
4b53ef76fb
commit
3d32e37d44
@ -38,8 +38,53 @@
|
|||||||
- console-log-post
|
- console-log-post
|
||||||
|
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: '{name}-branch-tarball'
|
||||||
|
concurrent: false
|
||||||
|
node: precise
|
||||||
|
|
||||||
|
triggers:
|
||||||
|
- zuul-post
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- gerrit-git-prep
|
||||||
|
- shell: |
|
||||||
|
#!/bin/bash -xe
|
||||||
|
BRANCH=$ZUUL_REFNAME
|
||||||
|
BRANCH_PATH=`echo $BRANCH | tr / -`
|
||||||
|
|
||||||
|
tox -v -evenv python setup.py sdist
|
||||||
|
mv dist/* dist/{name}-$BRANCH_PATH.tar.gz
|
||||||
|
|
||||||
|
publishers:
|
||||||
|
- tarball:
|
||||||
|
project: '{name}'
|
||||||
|
site: '{tarball-publisher-site}'
|
||||||
|
- console-log-post
|
||||||
|
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: '{name}-tarball-upload'
|
||||||
|
node: precise
|
||||||
|
|
||||||
|
triggers:
|
||||||
|
- zuul-post
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- gerrit-git-prep
|
||||||
|
- shell: tox -v -evenv python setup.py sdist
|
||||||
|
|
||||||
|
publishers:
|
||||||
|
- tarball:
|
||||||
|
project: '{name}'
|
||||||
|
site: '{tarball-publisher-site}'
|
||||||
|
- console-log-post
|
||||||
|
|
||||||
|
|
||||||
- job-group:
|
- job-group:
|
||||||
name: openstack-publish-jobs
|
name: openstack-publish-jobs
|
||||||
jobs:
|
jobs:
|
||||||
- '{name}-docs'
|
- '{name}-docs'
|
||||||
- '{name}-tarball'
|
- '{name}-tarball'
|
||||||
|
- '{name}-branch-tarball'
|
||||||
|
- '{name}-tarball-upload'
|
||||||
|
@ -1,43 +1,3 @@
|
|||||||
- job-template:
|
|
||||||
name: '{name}-sdist-tarball'
|
|
||||||
node: precise
|
|
||||||
|
|
||||||
triggers:
|
|
||||||
- zuul-post
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- gerrit-git-prep
|
|
||||||
- shell: |
|
|
||||||
#!/bin/bash -xe
|
|
||||||
BRANCH=$GERRIT_REFNAME
|
|
||||||
BRANCH_PATH=`echo $BRANCH | tr / -`
|
|
||||||
|
|
||||||
tox -v -evenv python setup.py sdist
|
|
||||||
cp dist/* dist/{name}-$BRANCH_PATH.tar.gz
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- tarball:
|
|
||||||
project: '{name}'
|
|
||||||
site: '{tarball-publisher-site}'
|
|
||||||
- console-log-post
|
|
||||||
|
|
||||||
- job-template:
|
|
||||||
name: '{name}-pypi'
|
|
||||||
node: pypi
|
|
||||||
|
|
||||||
triggers:
|
|
||||||
- zuul-post
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- gerrit-git-prep
|
|
||||||
- shell: tox -v -evenv python setup.py sdist upload
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- tarball:
|
|
||||||
project: '{name}'
|
|
||||||
site: '{tarball-publisher-site}'
|
|
||||||
|
|
||||||
|
|
||||||
- job-template:
|
- job-template:
|
||||||
name: '{name}-pypi-sdist'
|
name: '{name}-pypi-sdist'
|
||||||
concurrent: false
|
concurrent: false
|
||||||
@ -89,6 +49,5 @@
|
|||||||
name: pypi-jobs
|
name: pypi-jobs
|
||||||
jobs:
|
jobs:
|
||||||
- '{name}-docs'
|
- '{name}-docs'
|
||||||
- '{name}-sdist-tarball'
|
|
||||||
- '{name}-pypi-sdist'
|
- '{name}-pypi-sdist'
|
||||||
- '{name}-pypi-upload'
|
- '{name}-pypi-upload'
|
||||||
|
@ -38,12 +38,19 @@ pipelines:
|
|||||||
- event: ref-updated
|
- event: ref-updated
|
||||||
ref: ^(?!(devnull|refs/.*)).*$
|
ref: ^(?!(devnull|refs/.*)).*$
|
||||||
|
|
||||||
- name: publish
|
- name: pre-release
|
||||||
description: When a commit is tagged, this pipeline runs jobs that operate on tags, such as uploading releases.
|
description: This pipeline runs jobs on projects in response to pre-release tags.
|
||||||
manager: IndependentPipelineManager
|
manager: IndependentPipelineManager
|
||||||
trigger:
|
trigger:
|
||||||
- event: ref-updated
|
- event: ref-updated
|
||||||
ref: ^refs/tags/.*$
|
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
|
- name: silent
|
||||||
description: This pipeline is used for silently testing new jobs.
|
description: This pipeline is used for silently testing new jobs.
|
||||||
@ -108,9 +115,12 @@ projects:
|
|||||||
- gate-zuul-python26
|
- gate-zuul-python26
|
||||||
- gate-zuul-python27
|
- gate-zuul-python27
|
||||||
post:
|
post:
|
||||||
- zuul-sdist-tarball
|
- zuul-branch-tarball
|
||||||
- zuul-coverage
|
- zuul-coverage
|
||||||
- zuul-docs
|
- zuul-docs
|
||||||
|
pre-release:
|
||||||
|
- zuul-docs
|
||||||
|
- zuul-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- zuul-docs
|
- zuul-docs
|
||||||
- zuul-pypi-sdist
|
- zuul-pypi-sdist
|
||||||
@ -121,7 +131,9 @@ projects:
|
|||||||
gate:
|
gate:
|
||||||
- gate-noop
|
- gate-noop
|
||||||
post:
|
post:
|
||||||
- nose-html-output-sdist-tarball
|
- nose-html-output-branch-tarball
|
||||||
|
pre-release:
|
||||||
|
- nose-html-output-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- nose-html-output-pypi-sdist
|
- nose-html-output-pypi-sdist
|
||||||
|
|
||||||
@ -141,7 +153,9 @@ projects:
|
|||||||
- gate-gerritbot-pep8
|
- gate-gerritbot-pep8
|
||||||
- gate-gerritbot-pyflakes
|
- gate-gerritbot-pyflakes
|
||||||
post:
|
post:
|
||||||
- gerritbot-sdist-tarball
|
- gerritbot-branch-tarball
|
||||||
|
pre-release:
|
||||||
|
- gerritbot-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- gerritbot-pypi-sdist
|
- gerritbot-pypi-sdist
|
||||||
|
|
||||||
@ -152,6 +166,8 @@ projects:
|
|||||||
gate:
|
gate:
|
||||||
- gate-gerritlib-pep8
|
- gate-gerritlib-pep8
|
||||||
- gate-gerritlib-pyflakes
|
- gate-gerritlib-pyflakes
|
||||||
|
pre-release:
|
||||||
|
- gerritlib-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- gerritlib-pypi-sdist
|
- gerritlib-pypi-sdist
|
||||||
|
|
||||||
@ -162,6 +178,8 @@ projects:
|
|||||||
gate:
|
gate:
|
||||||
- gate-jeepyb-pep8
|
- gate-jeepyb-pep8
|
||||||
- gate-jeepyb-pyflakes
|
- gate-jeepyb-pyflakes
|
||||||
|
pre-release:
|
||||||
|
- jeepyb-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- jeepyb-pypi-sdist
|
- jeepyb-pypi-sdist
|
||||||
|
|
||||||
@ -176,8 +194,10 @@ projects:
|
|||||||
- gate-jenkins-job-builder-pep8
|
- gate-jenkins-job-builder-pep8
|
||||||
- gate-jenkins-job-builder-pyflakes
|
- gate-jenkins-job-builder-pyflakes
|
||||||
post:
|
post:
|
||||||
- jenkins-job-builder-sdist-tarball
|
- jenkins-job-builder-branch-tarball
|
||||||
- jenkins-job-builder-docs
|
- jenkins-job-builder-docs
|
||||||
|
pre-release:
|
||||||
|
- jenkins-job-builder-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- jenkins-job-builder-pypi-sdist
|
- jenkins-job-builder-pypi-sdist
|
||||||
|
|
||||||
@ -421,8 +441,10 @@ projects:
|
|||||||
- gate-python-ceilometerclient-python26
|
- gate-python-ceilometerclient-python26
|
||||||
- gate-python-ceilometerclient-python27
|
- gate-python-ceilometerclient-python27
|
||||||
post:
|
post:
|
||||||
- python-ceilometerclient-sdist-tarball
|
- python-ceilometerclient-branch-tarball
|
||||||
- python-ceilometerclient-coverage
|
- python-ceilometerclient-coverage
|
||||||
|
pre-release:
|
||||||
|
- python-ceilometerclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-ceilometerclient-pypi-sdist
|
- python-ceilometerclient-pypi-sdist
|
||||||
- python-ceilometerclient-docs
|
- python-ceilometerclient-docs
|
||||||
@ -445,8 +467,10 @@ projects:
|
|||||||
- gate-tempest-devstack-vm-cinder
|
- gate-tempest-devstack-vm-cinder
|
||||||
- gate-devstack-vm-quantum
|
- gate-devstack-vm-quantum
|
||||||
post:
|
post:
|
||||||
- python-cinderclient-sdist-tarball
|
- python-cinderclient-branch-tarball
|
||||||
- python-cinderclient-coverage
|
- python-cinderclient-coverage
|
||||||
|
pre-release:
|
||||||
|
- python-cinderclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-cinderclient-pypi-sdist
|
- python-cinderclient-pypi-sdist
|
||||||
- python-cinderclient-docs
|
- python-cinderclient-docs
|
||||||
@ -469,8 +493,10 @@ projects:
|
|||||||
- gate-tempest-devstack-vm-cinder
|
- gate-tempest-devstack-vm-cinder
|
||||||
- gate-devstack-vm-quantum
|
- gate-devstack-vm-quantum
|
||||||
post:
|
post:
|
||||||
- python-glanceclient-sdist-tarball
|
- python-glanceclient-branch-tarball
|
||||||
- python-glanceclient-coverage
|
- python-glanceclient-coverage
|
||||||
|
pre-release:
|
||||||
|
- python-glanceclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-glanceclient-pypi-sdist
|
- python-glanceclient-pypi-sdist
|
||||||
- python-glanceclient-docs
|
- python-glanceclient-docs
|
||||||
@ -493,8 +519,10 @@ projects:
|
|||||||
- gate-tempest-devstack-vm-cinder
|
- gate-tempest-devstack-vm-cinder
|
||||||
- gate-devstack-vm-quantum
|
- gate-devstack-vm-quantum
|
||||||
post:
|
post:
|
||||||
- python-keystoneclient-sdist-tarball
|
- python-keystoneclient-branch-tarball
|
||||||
- python-keystoneclient-coverage
|
- python-keystoneclient-coverage
|
||||||
|
pre-release:
|
||||||
|
- python-keystoneclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-keystoneclient-pypi-sdist
|
- python-keystoneclient-pypi-sdist
|
||||||
- python-keystoneclient-docs
|
- python-keystoneclient-docs
|
||||||
@ -517,8 +545,10 @@ projects:
|
|||||||
- gate-tempest-devstack-vm-cinder
|
- gate-tempest-devstack-vm-cinder
|
||||||
- gate-devstack-vm-quantum
|
- gate-devstack-vm-quantum
|
||||||
post:
|
post:
|
||||||
- python-novaclient-sdist-tarball
|
- python-novaclient-branch-tarball
|
||||||
- python-novaclient-coverage
|
- python-novaclient-coverage
|
||||||
|
pre-release:
|
||||||
|
- python-novaclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-novaclient-pypi-sdist
|
- python-novaclient-pypi-sdist
|
||||||
- python-novaclient-docs
|
- python-novaclient-docs
|
||||||
@ -535,8 +565,10 @@ projects:
|
|||||||
- gate-python-openstackclient-python26
|
- gate-python-openstackclient-python26
|
||||||
- gate-python-openstackclient-python27
|
- gate-python-openstackclient-python27
|
||||||
post:
|
post:
|
||||||
- python-openstackclient-sdist-tarball
|
- python-openstackclient-branch-tarball
|
||||||
- python-openstackclient-coverage
|
- python-openstackclient-coverage
|
||||||
|
pre-release:
|
||||||
|
- python-openstackclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-openstackclient-pypi-sdist
|
- python-openstackclient-pypi-sdist
|
||||||
- python-openstackclient-docs
|
- python-openstackclient-docs
|
||||||
@ -559,8 +591,10 @@ projects:
|
|||||||
- gate-tempest-devstack-vm-cinder
|
- gate-tempest-devstack-vm-cinder
|
||||||
- gate-devstack-vm-quantum
|
- gate-devstack-vm-quantum
|
||||||
post:
|
post:
|
||||||
- python-quantumclient-sdist-tarball
|
- python-quantumclient-branch-tarball
|
||||||
- python-quantumclient-coverage
|
- python-quantumclient-coverage
|
||||||
|
pre-release:
|
||||||
|
- python-quantumclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-quantumclient-pypi-sdist
|
- python-quantumclient-pypi-sdist
|
||||||
- python-quantumclient-docs
|
- python-quantumclient-docs
|
||||||
@ -577,8 +611,10 @@ projects:
|
|||||||
- gate-python-swiftclient-python26
|
- gate-python-swiftclient-python26
|
||||||
- gate-python-swiftclient-python27
|
- gate-python-swiftclient-python27
|
||||||
post:
|
post:
|
||||||
- python-swiftclient-sdist-tarball
|
- python-swiftclient-branch-tarball
|
||||||
- python-swiftclient-coverage
|
- python-swiftclient-coverage
|
||||||
|
pre-release:
|
||||||
|
- python-swiftclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-swiftclient-pypi-sdist
|
- python-swiftclient-pypi-sdist
|
||||||
- python-swiftclient-docs
|
- python-swiftclient-docs
|
||||||
@ -617,25 +653,6 @@ projects:
|
|||||||
silent:
|
silent:
|
||||||
- gate-tempest-devstack-vm-postgres
|
- gate-tempest-devstack-vm-postgres
|
||||||
|
|
||||||
- name: openstack-dev/pbr
|
|
||||||
check:
|
|
||||||
- gate-pbr-docs
|
|
||||||
- gate-pbr-pep8
|
|
||||||
- gate-pbr-python26
|
|
||||||
- gate-pbr-python27
|
|
||||||
gate:
|
|
||||||
- gate-pbr-docs
|
|
||||||
- gate-pbr-pep8
|
|
||||||
- gate-pbr-python26
|
|
||||||
- gate-pbr-python27
|
|
||||||
post:
|
|
||||||
- pbr-sdist-tarball
|
|
||||||
- pbr-coverage
|
|
||||||
- pbr-docs
|
|
||||||
publish:
|
|
||||||
- pbr-pypi-sdist
|
|
||||||
- pbr-docs
|
|
||||||
|
|
||||||
- name: openstack/tempest
|
- name: openstack/tempest
|
||||||
check:
|
check:
|
||||||
- gate-tempest-pep8
|
- gate-tempest-pep8
|
||||||
@ -775,6 +792,8 @@ projects:
|
|||||||
- gate-moniker-python27
|
- gate-moniker-python27
|
||||||
post:
|
post:
|
||||||
- hook-moniker-rtfd
|
- hook-moniker-rtfd
|
||||||
|
pre-release:
|
||||||
|
- moniker-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- moniker-pypi-sdist
|
- moniker-pypi-sdist
|
||||||
|
|
||||||
@ -791,6 +810,8 @@ projects:
|
|||||||
- gate-python-monikerclient-python27
|
- gate-python-monikerclient-python27
|
||||||
post:
|
post:
|
||||||
- hook-python-monikerclient-rtfd
|
- hook-python-monikerclient-rtfd
|
||||||
|
pre-release:
|
||||||
|
- python-monikerclient-tarball-upload
|
||||||
publish:
|
publish:
|
||||||
- python-monikerclient-pypi-sdist
|
- python-monikerclient-pypi-sdist
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user