[OpenStack-Infra] Help with tagging releases for networking sub-projects

Armando M. armamig at gmail.com
Thu Oct 1 06:37:45 UTC 2015


On 30 September 2015 at 09:02, Jeremy Stanley <fungi at yuggoth.org> wrote:

> On 2015-09-30 10:32:45 -0500 (-0500), Kyle Mestery wrote:
> > I'm sending this email because I'm having trouble tagging and releasing
> > some networking sub-projects to PyPi.
> [...]
>
> A basic release checklist summarizing the relevant configuration
> discussed in http://docs.openstack.org/infra/manual/ is:
>
> 1. Your Gerrit ACL must allow your release manager(s) to push signed
> git tags. Without this, Gerrit will refuse the push.
>
> 2. When pushing tags you must sign them (git tag -s). Without this,
> Gerrit will refuse the push (unless the ACL is misconfigured to
> allow it, in which case it will fail to trigger the appropriate jobs
> in Zuul).
>
> 3. If your project uses PBR, you must tag with a conforming
> 3-component version string (e.g. "1.23.4" or "0.3.0").
>
> 4. You must add the publish-to-pypi project template in Zuul's
> layout (or at least individual whatever-tarball and
> whatever-pypi-wheel-upload or whatever-pypi-both-upload to the
> release pipeline). Without these, no release jobs will be run.
>
> 5. You must be able to `tox -e venv python setup.py sdist` and `tox
> -e venv python setup.py bdist_wheel` and get an sdist tarball and a
> wheel in the dist subdirectory of your checkout. This is what the
> jobs will be running to generate your release artifacts for upload.
>
> 6. You must register the matching project name at pypi.python.org
> and set the "openstackci" account with a maintainer role on it.
>
> > For another, Octavia, I've never been able to get a PyPi release
> > to happen. If you look [2], it's not there, just a stub version
> > the Octavia folks put up. For Octavia, they had some issues with
> > their PyPi project when I pushed 0.5.0 [3], so I pushed a 0.5.1
> > [4] after they addressed that but it still never showed up on
> > PyPi.
>
> Yep, this looks like at least #4 above is a problem.
>
> > I've run into a similar problem with networking-ale-omniswitch. I
> > wanted to release 1.0.0, but again, the push of the tag to gerrit
> > shows up fine in git [5] but not on PyPi [6].
> [...]
>
> Also missing #4 here. Revisiting
>
> http://docs.openstack.org/infra/manual/creators.html#configure-zuul-to-run-jobs
> may help.
> --
> Jeremy Stanley
>

Thanks for (re)sharing this knowledge with us.

I always read fungi's emails in awe, and always end up learning something
new :)

Cheers,
Armando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20150930/b679b07a/attachment.html>


More information about the OpenStack-Infra mailing list