- Ensure that pulpcore of the corresponding version is available on PyPI.
- If this is a .0 release, create a [noissue] commit that updates the final play in molecule/release-upgrade/converge.yml with the latest pulpcore / pulp-file / pulp-rpm versions (maintaining minor version strings vs micro version strings.)
- Create/activate a virtualenv, with the script's dependencies installed (
pip install GitPython sh towncrier==19.9.0
) - Run the release script (
python .ci/scripts/release.py
). - Check the updated version in the
galaxy.yml
and in theroles/pulp_common/{vars,defaults}/main.yml
. - Check references to current and previous versions in
docs/index.md
NOTE: Post releases are done in pulp_installer as needed. The format is in compliance with PEP 440 for implicit post releases, e.g. 3.7.0-1. - Create a PR with all the changes above and merge it after a review.
- Tag this commit with the name of the release, e.g. 3.8.0.
- Create a release on github based on the tag.
For older releases of pulp_installer, you may have to manually upload the collection to galaxy.ansible.com.
- Prepare a tarball of the pulp_insaller collection (from inside the root of the collection, run
ansible-galaxy collection build
).
NOTE: ansible-galaxy>=2.9 is required.
NOTE: the tarball will include every untracked file in the repo unless you git clean, even ignored files. You may want to just clone the repo to another temporary dir instead. - Make sure that you are one of the owners on Galaxy! Github perms are not helping here.
- Go to https://galaxy.ansible.com/my-content/namespaces.
- Choose/unfold pulp namespace.
- "Upload new verison" to the pulp_installer collection.