continuous-enterprise-development icon indicating copy to clipboard operation
continuous-enterprise-development copied to clipboard

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

Open ALRubinger opened this issue 11 years ago • 1 comments

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

ALRubinger avatar May 15 '14 00:05 ALRubinger

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

coreydaley avatar May 15 '14 14:05 coreydaley