Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.
/ osa_toolkit Public archive

pip installable tools for working with OpenStack-Ansible -- now replaced by osa cli

Notifications You must be signed in to change notification settings

evrardjp/osa_toolkit

Repository files navigation

Release

Release tooling for OpenStack-Ansible.

If you're not using default workspace folder (/tmp/releases), you should define it in all the commands.

Bumping master

Steps:

  1. Checkout to master (not detached)
  2. Suggest upper constraints pin changes: check-global-requirements
  3. unset release_changeid
  4. unset next_release
  5. Update Upstream Projects:
     bump-upstream-sources
  6. Update role files by using the source branch updater lib
  7. Git review

Freeze before master milestone release

Steps:

  1. unset release_changeid
  2. unset next_release
  3. Go to OA folder
  4. Ensure you're master (not detached)
  5. Freeze ansible-role-requirements by doing:
     bump-ansible-role-requirements
  6. Freeze release number by doing
     bump-oa-release-number --version=17.0.0.0b3 --commit
  7. Edit commit message
  8. git review in OA

Release after master milestone freeze

  1. Go to OA folder
  2. Ensure you're still at the right sha in your workspace folder (detached or not).
  3. Emit release commit by doing (it will be based on checked out sha)
     update-os-release-file --branch=queens --version=17.0.0.0b3 --commit
  4. Review in your release folder and git review
  5. Unfreeze manually: git revert would remove the release notes.

Doing a stable release

Steps:

  1. unset release_changeid
  2. unset next_release
  3. Go to OA folder
  4. Ensure you're at the head of your branch you want to release, or at the right sha.
    update-os-release-file --branch=pike --version=auto --commit
    
  5. Go to release folder in workspace
  6. Review and
    git review -t release_osa
  7. Take review change id
    export release_changeid=$(git log HEAD^..HEAD | awk '/Change-Id/ {print $2}')
  8. Ensure you're into OA folder, in a branch you can commit to (tracking what's needed)
  9. Bump files
    bump-ansible-role-requirements
    bump-oa-release-number --version=auto
        export next_release= ...
    check-global-requirements
    bump-upstream-sources --commit
    #update-role-files --comit
  10. Review OpenStack-Ansible folder and each of the roles.
  11. git review -s
  12. git commit --amend
  13. git review -t release_osa

Maturity

This toolkit will manage the maturity matrix that appears on openstack-ansible docs.

If you're not using default workspace folder (/tmp/maturity), you should define it in all the commands.

For now, only one command is implemented: update-role-maturity-matrix (--commit)

Bug triage

This toolkit will list all tools for triaging bugs and, in the future, make trends

If you're not using default workspace folder (/tmp/bugtriage), you should define it in all the commands.

For now, only one command is implemented: generate-bug-triage-page . it generates a list of links for the https://etherpad.openstack.org/p/osa-bugtriage page.

About

pip installable tools for working with OpenStack-Ansible -- now replaced by osa cli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages