Run stackage-server-cron.sh by hand for the time being

Reverting "build.sh: add date's and message for stackage-server-cron.sh"
Reverting "build.sh: run stackage-server-cron.sh at end, instead of cronjob"
This commit is contained in:
Jens Petersen 2016-05-21 15:27:33 +09:00
parent c58adbd1f5
commit 12c215bbbd

View File

@ -2,8 +2,6 @@
set -eux
date
ROOT=$(cd $(dirname $0) ; pwd)
TARGET=$1
@ -124,10 +122,3 @@ docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "stackage-curator check-target-avail
# * Upload the new plan .yaml file to the appropriate Github repo
# * Register as a new Hackage distro
docker 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"
date
# moved here from crontab to reduce memory competition
echo -n Running "stackage-server-cron.sh: "
/home/ubuntu/stackage-server-cron.sh | tee /home/ubuntu/stackage-server-cron.log
echo "done."