Test Release Steps

Release Steps for Test

  • ssh isaac.ucdavis.edu
  • sudo su - sakai
  • Stop tomcat
    • ~sakai/bin/stop.sh
    • ps aux |grep java
  • cd ~sakai/src
  • Delete all but the most recent tag.
    • rm -rf sakai-core-2-1-x-###
  • svn co https://mware.ucdavis.edu/svn/tags/sakai-core-2-1-x-###
  • Check sakai configuration
    • Find and note any config file changes here: https://confluence.ucdavis.edu:8443/confluence/x/URM
    • Backup sakai.properties
      • cp ~sakai/tomcat/sakai/sakai.properties ~sakai/tomcat/sakai/sakai.properties-yyyymmdd
    • ~sakai/tomcat/sakai/sakai.properties
      • version.service
      • skin.default=smartsite (verify this is correct – should be)
      • ui.service = SmartSite@UCDavis (verify this is correct – should be)
      • storagePath@org.sakaiproject.service.legacy.archive.ArchiveService = /var/sakai/archive/ (verify that whereever this is pointing exists)
      • url@javax.sql.BaseDataSource=jdbc:oracle:thin:@bricker.ucdavis.edu:1521:test (verify that this is the correct server and DB)
      • Add any changes for the code migration task.
  • Configure tools/services
    • providers/component/src/webapp/WEB-INF/components.xml
      • If we are testing providors, uncomment the beans with classes like edu.ucdavis.sakai
      • If we are not testing providors, uncomment the beans with classes like org.sakaiproject.component
    • ucd-enterprise-data-service/components/src/webapp/WEB-INF/components.xml
      • Verify database settings for external views.
    • login/login/src/webapp/WEB-INF/web.xml
      • <param-name>ProtectionLevel</param-name>
      • <param-value>3</param-value>
    • kernel/log-configure/src/conf/log4j.properties
      • Make sure nothing is set to DEBUG
  • Find and note any database changes
    • Make necessary changes.

For Production, build the new release during the day on friday with "maven bld" (Do NOT do "maven sakai" until midnight!!)
Also, mv catalina.out to catalina.out.yyyymmdd and touch a new catalina.out.

  • Clean out tomcat
    • cd ~/bin/tomcatclean.sh
  • build sakai
    • cd ~/src/sakai-core-2-1-x-###
    • maven sakai
    • Make sure that build doesn't have any errors
  • Start tomcat and tail catalina.out and check log for errors
    • cd ~/bin
    • ./start.sh; tail -f ~/sakai-test/logs/catalina.out
  • Check that tomcat started at
    • sakai-test.ucdavis.edu
    • Check the build number at the bottom of the page
    • Login
    • Do whatever else they told me.

Update the status of associated Jira tickets
Email to sakai-releasemgt@ucdavis.edu