arquillian / continuous-enterprise-development

Testable Solutions for Modern Applications
http://continuousdev.org/
116 stars 150 forks source link

Update CI Chapter to use SCP instead of Git Deployment to OpenShift #119

Open ALRubinger opened 10 years ago

ALRubinger commented 10 years ago

Using a Git deployment into OpenShift will have the repo growing over time, eventually topping off the disk space quota.

Alternatively, in cases where an audit trail of previously-deployed binaries are not needed, instead do an SCP into the deployments directory:

cd $WORKSPACE/target
mv -vf devnation-site.war ROOT.war
scp ROOT.war {username@address}:app-root/dependencies/jbosseap/deployments
coreydaley commented 10 years ago

You can also use the rhc scp command. Here is a KB article about the different ways you can deploy war/ear files to your OpenShift gears: https://www.openshift.com/kb/kb-e1088-how-to-deploy-pre-compiled-java-applications-war-and-ear-files-onto-your-openshift-gear