Revision: c7f8c094281f
Author: Sean Gilligan <
se...@msgilligan.com>
Date: Tue Apr 30 19:09:12 2013
Log: Switch to CloudBees 'iui' account.
* Update deploy scripts
* Bump app.version to 0.1.2
* Upgrade to Grails 2.2.2
* Update to servlet 2.5
* Set grails.project.{target,source}.level to 1.6
* Add plugins.tomcat=2.2.2 to application.properties
* Update README.md for new CI URL
http://code.google.com/p/iui/source/detail?r=c7f8c094281f&repo=site
Modified:
/README.md
/application.properties
/cloudbees-deploy.sh
/cloudbees-stage.sh
/grails-app/conf/BuildConfig.groovy
=======================================
--- /README.md Tue May 1 13:11:32 2012
+++ /README.md Tue Apr 30 19:09:12 2013
@@ -5,4 +5,4 @@
For information on the iUI WebSite project, please see the [iUI WebSite
Project Wiki Page](
https://code.google.com/p/iui/wiki/WebsiteProject)
-There is a [staging server](
http://site-next.iui-js.org) for testing new
versions of the website. The staging server is now automatically updated
with the latest code from this repository by the CloudBees
[DEV@Cloud](
http://www.cloudbees.com/dev.cb) service. You can check the
results of the latest build and deploy by looking at the [iui.site CI
Project page](
https://cmt.ci.cloudbees.com/job/iui.site/).
+There is a [staging server](
http://site-next.iui-js.org) for testing new
versions of the website. The staging server is now automatically updated
with the latest code from this repository by the CloudBees
[DEV@Cloud](
http://www.cloudbees.com/dev.cb) service. You can check the
results of the latest build and deploy by looking at the [iui.site CI
Project page](
https://iui.ci.cloudbees.com/job/iui.site/).
=======================================
--- /application.properties Tue Aug 7 11:41:19 2012
+++ /application.properties Tue Apr 30 19:09:12 2013
@@ -1,6 +1,6 @@
#Grails Metadata file
-#Sun Jul 29 10:50:11 PDT 2012
-app.grails.version=2.0.3
+#Tue Apr 30 18:29:36 PDT 2013
+app.grails.version=2.2.2
app.name=iuijs
-app.servlet.version=2.4
-app.version=0.1.1
+app.version=0.1.2
+plugins.tomcat=2.2.2
=======================================
--- /cloudbees-deploy.sh Wed Aug 31 20:38:06 2011
+++ /cloudbees-deploy.sh Tue Apr 30 19:09:12 2013
@@ -1,10 +1,8 @@
#!/bin/sh
APPNAME=`awk -F'=' '/
app.name/ { print $2 }' application.properties | tr
-d '\r\n'`
APPVERSION=`awk -F'=' '/app.version/ { print $2 }' application.properties
| tr -d '\r\n'`
-CBACCT=cmt
-CBAPP=iui
+CBAPP=site
echo "Building WAR for ${APPNAME} version ${APPVERSION}..."
grails prod war
echo "Deploying ${APPNAME}-${APPVERSION}.war to CloudBees..."
-#grails bees-app-deploy cmt/iui v0.1 target/iuijs-0.1.war
-grails bees-app-deploy ${CBACCT}/${CBAPP} v${APPVERSION}
target/${APPNAME}-${APPVERSION}.war
+grails bees-app-deploy ${CBAPP} v${APPVERSION}
target/${APPNAME}-${APPVERSION}.war
=======================================
--- /cloudbees-stage.sh Mon Sep 5 00:44:33 2011
+++ /cloudbees-stage.sh Tue Apr 30 19:09:12 2013
@@ -1,9 +1,8 @@
#!/bin/sh
APPNAME=`awk -F'=' '/
app.name/ { print $2 }' application.properties | tr
-d '\r\n'`
APPVERSION=`awk -F'=' '/app.version/ { print $2 }' application.properties
| tr -d '\r\n'`
-CBACCT=cmt
-CBAPP=stage
+CBAPP=site-stage
echo "Building WAR for ${APPNAME} version ${APPVERSION}..."
grails prod war
echo "Deploying ${APPNAME}-${APPVERSION}.war to CloudBees..."
-grails bees-app-deploy ${CBACCT}/${CBAPP} v${APPVERSION}
target/${APPNAME}-${APPVERSION}.war
+grails bees-app-deploy ${CBAPP} v${APPVERSION}
target/${APPNAME}-${APPVERSION}.war
=======================================
--- /grails-app/conf/BuildConfig.groovy Tue Aug 7 11:41:19 2012
+++ /grails-app/conf/BuildConfig.groovy Tue Apr 30 19:09:12 2013
@@ -1,3 +1,10 @@
+grails.servlet.version = "2.5" // Change depending on target container
compliance (2.5 or 3.0)
+
+grails.project.target.level = 1.6
+grails.project.source.level = 1.6
+
+cloudbees.account= "iui"
+
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"