You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by sm...@apache.org on 2014/07/11 08:15:22 UTC

svn commit: r1609634 - in /incubator/slider/site/trunk/content: developing/releasing.md release_notes/release-0.40.0.md

Author: smohanty
Date: Fri Jul 11 06:15:22 2014
New Revision: 1609634

URL: http://svn.apache.org/r1609634
Log:
SLIDER-121 manually generate slider site from CMS content for now (preparation for next release)

Added:
    incubator/slider/site/trunk/content/release_notes/release-0.40.0.md
Modified:
    incubator/slider/site/trunk/content/developing/releasing.md

Modified: incubator/slider/site/trunk/content/developing/releasing.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/developing/releasing.md?rev=1609634&r1=1609633&r2=1609634&view=diff
==============================================================================
--- incubator/slider/site/trunk/content/developing/releasing.md (original)
+++ incubator/slider/site/trunk/content/developing/releasing.md Fri Jul 11 06:15:22 2014
@@ -21,8 +21,12 @@
 Here is our release process.
 
 
-## IMPORTANT: THIS IS OUT OF DATE WITH THE MOVE TO THE ASF ## 
+The process has two phases.
 
+* Phase I: Merge "develop" branch with "master" so that you can release from "master"
+* Phase II: Perform Apache release from "master"
+
+ 
 ### Before you begin
 
 Check out the latest version of the develop branch,
@@ -41,6 +45,7 @@ create HBase and Accumulo clusters in th
 *Make sure that the functional tests are passing (and not being skipped) before
 starting to make a release*
 
+## Phase - I
 
 
 **Step #1:** Create a JIRA for the release, estimate 3h
@@ -158,38 +163,157 @@ before deleting it locally.
 If you are planning on any release work of more than a single test run,
 consider having your local release branch track the master.
 
+**Step #13:** Finish the JIRA
 
-**Step #13:** ### Release on github small artifacts
+Log the time, close the issue. This should normally be the end of a 
+sprint -so wrap that up too.
 
-Browse to https://github.com/hortonworks/slider/releases/new
+**Step #14:** Get back to developing!
 
-Create a new release on the site by following the instructions
+Check out the develop branch and purge all release artifacts
 
-Files under 5GB can be published directly. Otherwise, follow step 14
+    git checkout develop
+    git pull origin
+    mvn clean
+    
+*At this point you are ready for Apache release from master.*
+    
 
-**Step #14:**  For releasing via an external CDN (e.g. Rackspace Cloud)
+## Phase - II
 
-Using the web GUI for your particular distribution network, upload the
-`.tar.gz` artifact
+**Step 1**
 
-After doing this, edit the release notes on github to point to the
-tar file's URL.
+Get a clean enlistment.
 
-Example: 
-    [Download slider-0.10.1-all.tar.gz](http://dffeaef8882d088c28ff-185c1feb8a981dddd593a05bb55b67aa.r18.cf1.rackcdn.com/slider-0.10.1-all.tar.gz)
+    mkdir release
+    cd release
+    git clone https://git-wip-us.apache.org/repos/asf/incubator-slider.git slider-x.y.z
+    cd slider-x.y.z
+    
+**Step 2**
 
-**Step #15:** Announce the release 
+Ensure you are in the *master* branch and its clean.
 
-**Step #16:** Finish the JIRA
+    git checkout master
+    git clean -f -x -d
+    
+**Step 3**
 
-Log the time, close the issue. This should normally be the end of a 
-sprint -so wrap that up too.
+Ensure rat check is clean.
+    
+    mvn clean apache-rat:check
+    
+**Step 4**
 
-**Step #17:** Get back to developing!
+Tag for the release. Start with RC0 and move to RC1, RC2 if you need to restart the release process for this version.
 
-Check out the develop branch and purge all release artifacts
+    git tag -a release-x.y.z-rc0 -m 'Slider x.y.z-incubating-RC0'
+    git push --tags origin
+   
+**Step 5**
 
-    git checkout develop
-    git pull origin
-    mvn clean
+Create the release source tarball.
+
+    mvn clean install -DskipTests -Papache-release
     
+You should find a *.tar.gz at target folder (e.g. ./target/apache-slider-0.40.0-source-release.tar.gz)
+Rename it with *incubator* in the name.
+
+    mv apache-slider-x.yz-source-release.tar.gz apache-slider-x.y.z-incubating-source-release.tar.gz
+    
+**Step 6**
+
+Sign the tarball
+
+    gpg2  --armor --output apache-slider-{release number}-incubating-source-release.tar.gz.asc --detach-sig apache-slider-{release number}-incubating-source-release.tar.gz
+    
+**Step 7**
+
+Generate MD5 checksums
+
+    openssl md5 apache-slider-{release number}-incubating-source-release.tar.gz > apache-slider-{release number}-incubating-source-release.tar.gz.md5
+    openssl sha1 apache-slider-{release number}-incubating-source-release.tar.gz > apache-slider-{release number}-incubating-source-release.tar.gz.sha
+    
+**Step 8**
+
+Upload the artifacts to your apache home:
+    
+    The artifacts then need to be copied over to ~/public_html/slider-release-x.y.z-rc0
+
+**Step 9**
+
+Call for a release VOTE to the dev mailing list (dev@slider.incubator.apache.org).
+
+Sample:
+
+```
+Title: [VOTE] Apache Slider Incubating Release x.y.z RC0
+
+Hello folks,
+
+This is a call for a vote on Apache Slider x.y.z incubating release. Thanks to everyone who have contributed to this release.
+
+Git source tag:
+https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;a=shortlog;h=refs/tags/release-x.y.z-rc0
+
+Staging site:
+http://people.apache.org/~smohanty/slider-release-x.y.z-rc0/
+
+PGP release keys (signed using <YOUR KEY>)
+http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=<YOUR KEY>
+
+One can look into the issues fixed in this release at:
+https://issues.apache.org/jira/browse/SLIDER/fixforversion/<FIX VERSION OF THIS RELEASE>
+
+Note that this is a source only release and we are voting on the source.
+(One .tar file is a text file used for -ve testing)
+
+Build instructions at: http://slider.incubator.apache.org/developing/building.html 
+
+Vote will be open for 72 hours 
+
+[ ] +1 approve
+[ ] +0 no opinion
+[ ] -1 disapprove (and reason why)
+
+```
+
+**Step 10**
+
+After the VOTE passes, call for VOTE from IPMC. Include the VOTE thread from the dev alias.
+
+
+**Step 11**
+
+Verify your PGP key is provided to Apache. 
+
+Apache verifies that distributions are correctly signed.
+Login to https://id.apache.org and verify the fingerprint of PGP key used to sign above is provided. (gpg --fingerprint)
+Upload your PGP public key only to /home/<user>/.pgpkey
+
+**Step 12**
+
+Publish the release as below:
+
+    svn co https://dist.apache.org/repos/dist/release/incubator/slider slider
+ 
+    cd slider
+    mkdir x.y.z-incubating
+    scp ~/public_html/slider-release-x.y.z-rc0/* x.y.z-incubating
+    svn add x.y.z-incubating
+    svn commit -m "Committing Release x.y.z"
+
+**Step 13**
+
+Create the release tag:
+
+    git tag -a release-x.y.z -m 'Slider x.y.z-incubating'
+    git push --tags origin
+    
+**Step 14**
+
+Send an anouncement:
+
+Send an anouncement to the dev and user aliases.
+
+   

Added: incubator/slider/site/trunk/content/release_notes/release-0.40.0.md
URL: http://svn.apache.org/viewvc/incubator/slider/site/trunk/content/release_notes/release-0.40.0.md?rev=1609634&view=auto
==============================================================================
--- incubator/slider/site/trunk/content/release_notes/release-0.40.0.md (added)
+++ incubator/slider/site/trunk/content/release_notes/release-0.40.0.md Fri Jul 11 06:15:22 2014
@@ -0,0 +1,39 @@
+<!---
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+  
+# Apache Slider Release 0.40.0 (incubating)
+
+July 2014
+
+This release is built against the Apache Hadoop 2.4.0, HBase-0.98.3
+and Accumulo 1.5.1 artifacts. 
+
+Download: []()
+
+
+## Key changes
+1. Slider AppMaster and Agent communication can now be secured via 2-way SSL.
+2. Default application isolation through default HDFS working dir and ZK node.
+3. Applied application configurations can now be downloaded from the registry as JSON as well as XML.
+4. Updated application definition packages for HBase, Accumulo, and Storm and automated creation of HBase and Accumulo packages. 
+5. slider.py is added to enable Slider usage across linux and Windows platforms.
+6. agent.ini config file for the slider-agent is now optional.
+
+## Other changes
+
+## Known Issues
+1. Slider cannot handle if YARN is configured with multiple log directories