1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 13:55:31 +03:00
awx/docs/release_process.md
2015-11-13 11:47:28 -05:00

2.4 KiB

Release Process

This document describes the process of creating and publishing an Ansible Tower release.

Time for a release

When the time comes for a release, the following steps will ensure a smooth and successful release.

  1. Verify that the __version__ variable has been updated in awx/__init__.py.
    __version__ = 'X.Y.Z'
  1. Update the "Release History" in the file README.md.

  2. Update the rpm package changelog by adding a new entry to the file packaging/rpm/ansible-tower.spec.

  3. Update the debian package changelog by adding a new entry to the file packaging/debian/changelog.

  4. Tag and push the release to git.

    git tag <X.Y.Z>
    git push --tags
  1. Create and push a release branch to git.
    git branch release_<X.Y.Z>
    git checkout release_<X.Y.Z>
    git push origin release_<X.Y.Z>

Monitor Jenkins

Once tagged, one must launch the Release_Tower with the following parameters:

  • GIT_BRANCH=origin/tags/<X.Y.Z>
  • OFFICIAL=yes

The following jobs will be triggered:

Should any build step fail, Jenkins will emit a message in IRC and set the build status to failed.

Publishing Builds

Upon successful completion, jenkins will publish build artifacts to the following locations:

Publishing AMI's

While OFFICIAL Tower AMI's are created by jenkins, the process for blessing AMI's is manual. Please contact dave@ansible.com to initiate the process.

Publishing Documentation

Tower documentation is available in the product-docs repository. The Build_Tower_Docs job builds and publishes PDF, and HTML, documentation.