build.sh: run stackage-server-cron.sh at end, instead of cronjob
avoid build.sh and stackage-server-cron.sh competing for memory
commit59216404880e5d0932bda175c9baee49ac29873d
authorJens Petersen <juhpetersen@gmail.com>
dateFri 20 May 2016, 17:50 (10 years ago)
parent1959b95
automated/build.sh+3
@@ -122,3 +122,6 @@ docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "stackage-curator check-target-avail
122122# * Upload the new plan .yaml file to the appropriate Github repo
123123# * Register as a new Hackage distro
124124docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "stackage-curator upload-docs --target $TARGET --bundle-file $BUNDLE_FILE && stackage-curator upload-index --plan-file $PLAN_FILE --target $TARGET && stackage-curator upload-github --plan-file $PLAN_FILE --docmap-file $DOCMAP_FILE --target $TARGET && stackage-curator hackage-distro --plan-file $PLAN_FILE --target $TARGET"
125+
126+echo Running stackage-server-cron.sh:
127+/home/ubuntu/stackage-server-cron.sh | tee /home/ubuntu/stackage-server-cron.log