Preparation work
- Edit https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/branches/rsmart-sakai-properties
- Version, Sakai properties, etc.
Create GB2 tag
svn copy https://source.sakaiproject.org/contrib/gradebook2/trunk/ https://source.sakaiproject.org/contrib/gradebook2/tags/1.3.0-b2 -m "NOJIRA : creating 1.3.0-b2 tag"
Create ucd-gradebook-ent tag
- Since nothing has changed in ucd-gradebook2-ent, we keep using the 1.2.0-b1 tag
Prepare rsmart_2.6.2.13_b2 tag
svn copy https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/trunk https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/tags/rsmart_2.6.2.13_b2 -m "Initial cut of tag rsmart_2.6.2.13_b2"
svn copy https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/branches/rsmart-sakai-properties https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/tags/rsmart_2.6.2.13_b2 -m "Initial cut of tag rsmart_2.6.2.13_b2"
svn copy https://svn.ucdavis.edu/svn/ucd-sakai/patches/branches/rsmart_2-6-x/ https://svn.ucdavis.edu/svn/ucd-sakai/patches/tags/rsmart_2.6.2.13_b2 -m "Initial cut of tag rsmart_2.6.2.13_b2"
svn propedit svn:externals https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/tags/rsmart_2.6.2.13_b2
src https://svn.rsmart.com/svn/customizations/ucd/tags/2.6.2.13
patches https://svn.ucdavis.edu/svn/ucd-sakai/patches/tags/rsmart_2.6.2.13_b2
gradebook2 https://source.sakaiproject.org/contrib/gradebook2/tags/1.3.0-b2
Check above propedit via:
svn propget svn:externals https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/tags/rsmart_2.6.2.13_b2
ON TEST26 HEAD NODE
cd ~/config-staging
mv sakai.properties sakai.properties.previous
mv local.properties.base local.properties.base.previous
svn export https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/tags/rsmart_2.6.2.13_b2/sakai.properties
svn export https://svn.ucdavis.edu/svn/ucd-sakai/sakai-properties/tags/rsmart_2.6.2.13_b2/local.properties.base
cd ~/src
rm -fr <oldest tag>
svn co https://svn.ucdavis.edu/svn/ucd-sakai/rsmart/tags/rsmart_2.6.2.13_b2 | tee ~/checkout.log
cd ~/src/rsmart_2.6.2.13_b2/src/cle/custom
mv ucd-gradebook2-ent ucd-gradebook2-ent.orig
svn co https://svn.ucdavis.edu/svn/ucd-sakai/ucd-gradebook2-ent/tags/1.2.0-b1/ ucd-gradebook2-ent
cd ~/src/rsmart_2.6.2.13_b2
./scripts/cfg.pl
Results (cfg.pl)
~/config-staging/tomcatclean.sh
cd ~/src/rsmart_2.6.2.13_b2/src/cle
mvnrsmart
Deploy code (on each node)
~/bin/stop.sh
ps -ef | grep sakai| grep java
- if necessary (killall -9 java)
cd
~/config-staging/setup-sakai-node.sh
cd $CATALINA_HOME/logs
~/bin/start.sh ; tail -f catalina.out