Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (26 loc) · 1.84 KB

RELEASING.md

File metadata and controls

31 lines (26 loc) · 1.84 KB

Release Guide

  1. Ensure that pulpcore of the corresponding version is available on PyPI.
  2. 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.)
  3. Create/activate a virtualenv, with the script's dependencies installed (pip install GitPython sh towncrier==19.9.0)
  4. Run the release script (python .ci/scripts/release.py).
  5. Check the updated version in the galaxy.yml and in the roles/pulp_common/{vars,defaults}/main.yml.
  6. 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.
  7. Create a PR with all the changes above and merge it after a review.
  8. Tag this commit with the name of the release, e.g. 3.8.0.
  9. Create a release on github based on the tag.

Manually uploading a collection to the Galaxy

For older releases of pulp_installer, you may have to manually upload the collection to galaxy.ansible.com.

  1. 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.
  2. Make sure that you are one of the owners on Galaxy! Github perms are not helping here.
  3. Go to https://galaxy.ansible.com/my-content/namespaces.
  4. Choose/unfold pulp namespace.
  5. "Upload new verison" to the pulp_installer collection.