From b01d84974e496aacd4224fdf9bc3ef0351099339 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Tue, 6 Dec 2016 09:50:13 -0500 Subject: [PATCH] Stop running cron from build scripts --- automated/build.sh | 7 ------- automated/run-nightly.sh | 6 ------ 2 files changed, 13 deletions(-) diff --git a/automated/build.sh b/automated/build.sh index 731445d8..a145ac5b 100755 --- a/automated/build.sh +++ b/automated/build.sh @@ -132,11 +132,4 @@ docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "exec stackage-curator check-target- # * 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 && exec stackage-curator hackage-distro --plan-file $PLAN_FILE --target $TARGET" -if [ $SHORTNAME = "lts" ] -then - echo "Running cron.sh (hiding verbose output)" - ./cron.sh | grep -v '^Skipping' - echo "done." -fi - date diff --git a/automated/run-nightly.sh b/automated/run-nightly.sh index fe5e2c0a..2347896b 100755 --- a/automated/run-nightly.sh +++ b/automated/run-nightly.sh @@ -4,12 +4,6 @@ cd "$(dirname "${BASH_SOURCE[0]}")" while true; do ./build.sh nightly-$(date -u +%F) - if ! pgrep cron.sh >/dev/null; then - echo - echo "Running cron.sh in the background" - ./cron.sh > cron.log 2>&1 & - fi - echo date sleep 30m