Changeset 681
- Timestamp:
- Jul 21, 2010, 12:06:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/scripts/deploy_latest_gscf.sh
r678 r681 58 58 echo .updating source 59 59 cd $PATH_GRAILS_SOURCE 60 $SVN revert --recursive --quiet . 60 61 SVN_REVISION=`$SVN update | sed -n 's/At revision \(.*\)\./\1/p'` 61 62 … … 110 111 echo ".clean source" 111 112 grails clean > /dev/null 112 svn update > /dev/null 113 114 # make sure patched configuration files are okay 115 svn revert grails-app/conf/DataSource.groovy > /dev/null 116 svn revert grails-app/conf/Searchable.groovy > /dev/null 113 $SVN update > /dev/null 117 114 118 115 # build production war … … 128 125 sleep 5 129 126 130 # undeploy old production war 131 echo ".undeploying old production war" 132 ls $PATH_TOMCAT_WEBAPPS/gscf*.war|grep -v demo|xargs -i rm {} 127 # undeploying gscf releases 128 rm -rf $PATH_TOMCAT_WEBAPPS/gscf* 133 129 134 130 # deploy production war … … 157 153 grails prod war > /dev/null 158 154 159 # undeploy old demo war160 echo ".undeploying old demo war"161 ls $PATH_TOMCAT_WEBAPPS/gscf*-demo.war|xargs -i rm {}162 163 155 # deploying new demo war 164 156 echo ".deploying new demo war"
Note: See TracChangeset
for help on using the changeset viewer.