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