Deploying to CI from your Computer
Prepare the omods
Compile omods
Prepare folders to be similar to CI setup
cd vagrant-OpenMRS/code/
rm -rf buildTools
rm -rf cpm
cp -rf configuration-master buildTools
cp -rf openmrs-cpm cpm
mkdir -p buildTools/omod/libs/Copy omods to folder that CI setup expects
cp openmrs-cpm/conceptpropose/build/libs/*.omod buildTools/omod/libs/
cp openmrs-cpm/conceptreview/build/libs/*.omod buildTools/omod/libs/
Deploy!
cd vagrant-OpenMRS/code/buildTools
./go node:deploy_omod[ec2-54-245-143-28.us-west-2.compute.amazonaws.com]
(or whatever command is listed in Go)
Notes
The following Step #2 code could probably be replaced
rm -rf buildTools
rm -rf cpmÂ
cp -rf configuration-master buildTools
cp -rf openmrs-cpm cpm
with
ln -s configuration-master buildTools
ln -s openmrs-cpm cpm