Release process.
Create a Release Tag from the release branch
Code Block |
---|
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.
Code Block |
---|
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.
Code Block |
---|
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
Code Block |
---|
gpg2 --armor --output ambari-{release_number}-incubating.tar.gz.asc --detach-sig ambari-{release_number}-incubating.tar.gz |
Generate MD5 checksums:
Code Block |
---|
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 |
...
Code Block |
---|
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 with something like this:
I have created a ambari-** release candidate.
SVN source tag (r***)
...
[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)
Call for vote on incubator general mailing list.
As soon as the vote passes in the incubator call for a vote with results on incubator general mailing list. Once the vote passes/fails in incubator general, send out an email with subject: RESULT VOTE Apache Ambari 1.2.0 rc0 on the general incubator mailing list.
After the vote passes:
Copy the bits to distribution folder for Apache Ambari:
Code Block |
---|
ssh people.apache.org cd /www/www.apache.org/dist/incubator/ambari/ mkdir ambari-{release_num} cp ~/public_html/ambari-{release}/* /www/www.apache.org/dist/incubator/ambari/ambari-{release_num}/ svn move https://svn.apache.org/repos/asf/incubator/ambari/tags/release-x.y.z-rc0 https://svn.apache.org/repos/asf/incubator/ambari/tags/release-x.y.z -m "Release x.y.z" |
Send out Announcement.
ANNOUNCE Apache Ambari 1.2.0.
The Apache Ambari team is proud to announce Apache Ambari version 1.2.0
...