|
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 EclipseGet samples up to dateRun 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 testsRun AllTests for Impala, Example and Petclinic applications, as JUnit test. Run EntryDAOTest as JUnit test. Run InProjectEntryDAOTest as JUnit test. Run Interactive tests in EclipseRun 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 EclipseRun 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 ANTBasic build and testRun 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 PetclinicRun 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 sampleRun 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 stepsRun through steps of scaffold build as the getting started tutorial, part one. Publish releaseAny 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 CheckDownload 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 stepsFrom 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 UpdatesNow is a good time to make sure that documentation is up to date for the new release. Prepare any necessary release documentation. AnnouncementsMake 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