This is an automated email from the ASF dual-hosted git repository.
swapnilmmane pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ofbiz-tools.git The following commit(s) were added to refs/heads/master by this push: new 6b47283 Implemented: Updated the deployment scripts 6b47283 is described below commit 6b47283d1fa5f78d8e76f9eba0e93949d7636337 Author: Swapnil M Mane <[hidden email]> AuthorDate: Mon Apr 13 15:12:13 2020 +0530 Implemented: Updated the deployment scripts (OFBIZ-11472) As we are working on setting up the demo instance setup for OFBiz 17.12 release and obsolete 13.07 demo, make the changes in deployment scripts to honor this. --- demo-backup/old-manual-nicely.sh | 4 +++- demo-backup/old-manual.sh | 26 +++++++++----------------- demo-backup/stable-manual.sh | 11 ++++++----- 3 files changed, 18 insertions(+), 23 deletions(-) diff --git a/demo-backup/old-manual-nicely.sh b/demo-backup/old-manual-nicely.sh index f88410f..53f09b5 100755 --- a/demo-backup/old-manual-nicely.sh +++ b/demo-backup/old-manual-nicely.sh @@ -1,3 +1,5 @@ #!/bin/sh -nohup nice -n 19 ionice -c2 -n7 ./old-manual.sh & \ No newline at end of file +echo This does not work, see OFBIZ-10287. You need for now to use all-manual-nicely.sh + +# nohup nice -n 19 ionice -c2 -n7 ./old-manual.sh & \ No newline at end of file diff --git a/demo-backup/old-manual.sh b/demo-backup/old-manual.sh index a121f95..917799f 100755 --- a/demo-backup/old-manual.sh +++ b/demo-backup/old-manual.sh @@ -1,20 +1,12 @@ #!/bin/sh -cd /home/ofbizDemo/branch13.7 -svn up - -#check if contrast-rO0.jar is present and apply -if [ ! -r "contrast-rO0.jar" ]; then - wget -q https://svn.apache.org/repos/asf/ofbiz/branches/release15.12/tools/demo-backup/contrast-rO0.jar -fi -if [ ! -r "branch13.7-demo.patch" ]; then - wget https://svn.apache.org/repos/asf/ofbiz/tools/demo-backup/branch13.7-demo.patch - patch -p0 < branch13.7-demo.patch -fi +echo This cant be used alone, see OFBIZ-10287. You need for now to use all-manual-nicely.sh -rm /home/ofbizDemo/branch13.7/framework/base/config/*.jks -./ant stop -Dportoffset=20000 -./ant clean-all -./ant load-demo -./ant svninfo -./ant start-batch-secure -Dportoffset=20000 +cd /home/ofbizDemo/branch16.11 +svn up +rm /home/ofbizDemo/branch16.11/framework/base/config/*.jks +./gradlew --no-daemon "ofbiz --shutdown --portoffset 20000" +./gradlew --no-daemon cleanAll +./gradlew --no-daemon "ofbiz --load-data" +./gradlew --no-daemon svnInfoFooter +./gradlew --no-daemon "ofbizBackground --start --portoffset 20000" \ No newline at end of file diff --git a/demo-backup/stable-manual.sh b/demo-backup/stable-manual.sh index d05ea44..108ed0d 100755 --- a/demo-backup/stable-manual.sh +++ b/demo-backup/stable-manual.sh @@ -1,12 +1,13 @@ #!/bin/sh echo This cant be used alone, see OFBIZ-10287. You need for now to use all-manual-nicely.sh +cd /home/ofbizDemo/branch17.12 +git pull +rm /home/ofbizDemo/branch17.12/framework/base/config/*.jks -cd /home/ofbizDemo/branch16.11 -svn up -rm /home/ofbizDemo/branch16.11/framework/base/config/*.jks +./gradlew --no-daemon pullAllPluginsSource ./gradlew --no-daemon "ofbiz --shutdown --portoffset 10000" ./gradlew --no-daemon cleanAll -./gradlew --no-daemon "ofbiz --load-data" -./gradlew --no-daemon svnInfoFooter +./gradlew --no-daemon loadAll +./gradlew --no-daemon gitInfoFooter ./gradlew --no-daemon "ofbizBackground --start --portoffset 10000" |
Free forum by Nabble | Edit this page |