Release tooling for OpenStack-Ansible.
If you're not using default workspace folder (/tmp/releases), you should define it in all the commands.
Steps:
- Checkout to master (not detached)
- Suggest upper constraints pin changes:
check-global-requirements
- unset release_changeid
- unset next_release
- Update Upstream Projects:
bump-upstream-sources
- Update role files by using the source branch updater lib
- Git review
Steps:
- unset release_changeid
- unset next_release
- Go to OA folder
- Ensure you're master (not detached)
- Freeze ansible-role-requirements by doing:
bump-ansible-role-requirements
- Freeze release number by doing
bump-oa-release-number --version=17.0.0.0b3 --commit
- Edit commit message
- git review in OA
- Go to OA folder
- Ensure you're still at the right sha in your workspace folder (detached or not).
- 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
- Review in your release folder and git review
- Unfreeze manually: git revert would remove the release notes.
Steps:
- unset release_changeid
- unset next_release
- Go to OA folder
- 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
- Go to release folder in workspace
- Review and
git review -t release_osa
- Take review change id
export release_changeid=$(git log HEAD^..HEAD | awk '/Change-Id/ {print $2}')
- Ensure you're into OA folder, in a branch you can commit to (tracking what's needed)
- 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
- Review OpenStack-Ansible folder and each of the roles.
- git review -s
- git commit --amend
- git review -t release_osa
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)
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.