Release process.
Create a Release Tag from the release branch
svn copy https://svn.apache.org/repos/asf/incubator/ambari/branches/branch-x.y https://svn.apache.org/repos/asf/incubator/ambari/tags/release-x.y.z-rc0 -m "Ambari x.y.z Release Candidate"
Make sure it passes the apache rat tool.
mvn clean apache-rat:check
Create a tarball
Note that running the rat tool can create some artifacts that we do not want in the tarball.
Make sure that you are tarring up a fresh checkout of the release branch.
cp -R ambari-svn-x.y.z ambari-x.y.z-incubating tar --exclude=.svn -zcvf ambari-x.y.z-incubating.tar.gz ambari-x.y.z-incubating
Sign the tarball
gpg2 --armor --output ambari-{release_number}-incubating.tar.gz.asc --detach-sig ambari-{release_number}-incubating.tar.gz
Generate MD5 checksums:
md5sum ambari-X.Y.Z-incubating.tar.gz > ambari-X.Y.Z-incubating.tar.gz.md5 sha1sum ambari-X.Y.Z-incubating.tar.gz > ambari-X.Y.Z-incubating.tar.gz.sha
or
openssl md5 ambari-X.Y.Z-incubating.tar.gz > ambari-X.Y.Z-incubating.tar.gz.md5 openssl sha1 ambari-X.Y.Z-incubating.tar.gz > ambari-X.Y.Z-incubating.tar.gz.sha
Upload the artifacts to your apache home:
The artifacts then need to be copied over to public_html/ambari-release-name-rc_i_/
Call for a vote on the ambari-dev mailing list and CC general@incubator.apache.org with something like this:
I have created an ambari-** release candidate.
SVN source tag (r***)
https://svn.apache.org/repos/asf/incubator/ambari/tags/release-1.2.1-rc0
Staging site: http://people.apache.org/user_name/ambari-***
PGP release keys (signed using 8EE2F25C) http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x0DFF492D8EE2F25C
One can look into the issues fixed in this release at https://issues.apache.org/jira/**
Vote will be open for 72 hours.
[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)
Once the vote passes/fails, send out an email with subject like "RESULTVOTE Apache Ambari 1.2.0 rc0" to general@incubator.apache.org and ambari-dev@incubator.apache.org. For the vote to pass, 3 +1 votes are required from IPMC members.
After the vote passes:
Copy the bits to distribution folder for Apache Ambari:
ssh people.apache.org cd /www/www.apache.org/dist/incubator/ambari/ mkdir ambari-{release_num} cp ~/public_html/ambari-{release}/* ambari-{release_num} ln -sf ambari-{release_num} stable svn move https://svn.apache.org/repos/asf/incubator/ambari/tags/release-x.y.z-rc{rc_num} https://svn.apache.org/repos/asf/incubator/ambari/tags/release-x.y.z -m "Release x.y.z"
Note that it takes 24 hours for the changes to propagate to the mirrors.
After waiting 24 hours and verifying that the bits are available in the mirrors, send out an announcement.
Send out Announcement.
ANNOUNCE Apache Ambari x.y.z.
The Apache Ambari team is proud to announce Apache Ambari version x.y.z
Apache Ambari is a tool for provisioning, managing, and monitoring Apache Hadoop clusters. Ambari consists of a set of RESTful APIs and browser-based management console UI.
The release bits are at: http://www.apache.org/dyn/closer.cgi/incubator/ambari.
To use the released bits please use the following documentation:
http://incubator.apache.org/ambari/\{release_num}
We would like to thank all the contributors that made the release possible.
Regards,
The Ambari Team