Add releasing docs

Change-Id: I7eef91e7bc11a1470707919fc0081fbb2a6a4105
Dmitry Tantsur 2021-09-23 14:59:21 +02:00
parent c17279ef35
commit 5d16f6680d
2 changed files with 39 additions and 0 deletions

View File

@ -8,6 +8,7 @@ Contents:
Indices and tables

doc/source/releasing.rst Normal file
View File

@ -0,0 +1,38 @@
Releasing ironic-staging-drivers
This section is relevant to the maintainers of ironic-staging-drivers. You have
to be a member of the ironic-staging-drivers-release_ group to do releases.
#. Verify that the CI works via a dummy patch.
#. Create a **signed** tag locally::
git tag -s -m "Release <version>" <version>
#. Push the new tag to gerrit::
git push gerrit <version>
#. Wait for the new release to appear on PyPI_, contact the infra team in case
of any issues.
#. If a stable branch is needed, go to the *branches* section of the
`ironic-staging-drivers settings`_ in gerrit and add a new branch from the
newly created tag.
#. If a stable branch has been created, submit a change for it that:
#. updates ``.gitreview`` with a new ``defaultbranch``,
#. updates ``extra-requirements.txt`` with a link to ironic stable,
#. updates ``tox.ini`` to use upper constraints from the corresponding
See the `stable/xena patch`_ for an example.
.. _ironic-staging-drivers-release:
.. _PyPI:
.. _ironic-staging-drivers settings:
.. _stable/xena patch: