My favorites | Sign in
Project Logo
                
Search
for
Updated Dec 29, 2009 by philzoio.impala
Development_ReleaseChecklist  
List of checks to be made before a release

The following is the set of release steps which need to be followed as part of release.

In Eclipse

Get samples up to date

Run ant tohome, then ant fetch from relevant projects. This results in the latest Impala snapshot being populated. Check-in the updated Jar files.

Run Eclipse tests

Run AllTests for Impala, Example and Petclinic applications, as JUnit test. Run EntryDAOTest as JUnit test. Run InProjectEntryDAOTest as JUnit test.

Run Interactive tests in Eclipse

Run EntryDAOTest as main class:

test (should print OK)
reload (all application classes should reload, all modules should reload)
reload dao (module dao classes should reload, module dao should reload)
sc (should be given selection. Select number corresponding with `EntryServiceTest`)
test (should get output)
reload (as above with `EntryDAOTest`, but should include example-service module)
module dao(as above with `EntryDAOTest`, but should reload example-service module)

Run InProjectEntryDAOTest as main class:

test (should print OK)
reload (all application classes should reload, all modules should reload)
reload dao (module dao classes should reload, module dao should reload)

Run ExampleServiceTest as main class:

test (should print OK)
reload (as above)
reload service (as above) 
cd (which will bring up a prompt, then select:)
example
sc (which will prompt for a class to select)
test (which should bring up a few, including `AlternativeEntryServiceTest` - select this one)
test (should print OK)
reload service
reload
test

Run up web apps in Eclipse

Run StartServer from example-web/src. Verify using the following urls:

Go through all the links on this page. Reload one of the modules and do the same again.

In ANT

Basic build and test

Run ant for Impala

cd /localDisk/workspaces/impala/impala
ant 
ant test

Copy release files to Impala home. Note that this target is assuming that the IMPALA_HOME environment variable has been set.

ant tohome

Warning: do not run this command if your IMPALA_HOME is set to the impala directory within the Impala source code workspace, as this could result in this directory being deleted and any outgoing changes being lost. Instead, set IMPALA_HOME to a staging directory where the Impala snapshot distribution can be build to. For example:

Deploy and sanity check Petclinic

Run ant fetch clean dist test for Petclinic. Assuming location of ../petclinic relative to impala.

cd ../petclinic-build
ant fetch clean dist test
ant war tomcat

Note that the tomcat.home propertytomcat target will need to be set correctly. Run tomcat

Assumes the TOMCAT_HOME environment variable is set:

cd $TOMCAT_HOME
./catalina.sh run

Check application from

Deploy and sanity check Example sample

Run ant fetch clean dist test for Example.

cd ../example-sample/example-build
ant fetch clean dist test
ant war tomcat

Run Tomcat as in Petclinic

Check the following urls:

Scaffold steps

Run through steps of scaffold build as the getting started tutorial, part one.

Publish release

Any errors encountered in the previous step should be recorded. If serious, the next step should not proceed.

ant release

This will tag the SVN repository with the release name, and create a distribution file. Upload dist/impala-${project.version}.zip to Google Code downloads.

Sanity Check

Download the release. Check that the SHA1 checksum matches that of the pre-upload distribution file, and that published on the download metadata page.

See http://www.bresink.de/osx/sha1.html for an example on how to do this.

Go through scaffold steps as defined in FirstSteps.

Maven steps

From Impala home, run

ant -Dmaven.release=true -Dproject.version=1.0-RC2 mvndeploy

This will upload the release files to the maven staging repository from the local maven repository, as per mvn-build.properties:

maven.repo.root=../maven/repo
maven.snapshot.repository=http://oss.sonatype.org/content/repositories/impalaframework-snapshots
maven.release.repository=../mvn

Documentation Updates

Now is a good time to make sure that documentation is up to date for the new release. Prepare any necessary release documentation.

Announcements

Make new release the 'Featured' download, so that it appears on the project home page. Remove the 'Featured' tag from the previous release.

TODO: Add list of sites/mailing lists to add announcement.


Sign in to add a comment
Hosted by Google Code