From 3fe1e38cec0ae766fa63fa2a61d3832ff70097ac Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 16 May 2020 12:52:44 +0800 Subject: [PATCH] build.sh: remove legacy-bulk conversion and commits this allowed saving some server diskspace: ie removing dot-stackage/curator/stackage-{lts,nightly} --- automated/build.sh | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/automated/build.sh b/automated/build.sh index f1344348..2eae20f6 100755 --- a/automated/build.sh +++ b/automated/build.sh @@ -143,8 +143,6 @@ docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "curator upload-docs --target $TARGE # For some reason, registering on Hackage fails with inscrutable error messages. Disabling. # docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "exec curator hackage-distro --target $TARGET" -docker run $ARGS_UPLOAD $IMAGE curator legacy-bulk --stackage-snapshots /dot-stackage/curator/stackage-snapshots/ --lts-haskell /dot-stackage/curator/lts-haskell/ --stackage-nightly /dot-stackage/curator/stackage-nightly/ - # Build and push docker image fpco/stack-build & fpco/stack-build-small for current release if [ $SHORTNAME = "lts" ] @@ -154,21 +152,5 @@ then $ROOT/dockerfiles/build.sh --push --small $TARGET fi -( -if [ $SHORTNAME = "lts" ] -then - cd $DOT_STACKAGE_DIR/curator/lts-haskell -else - cd $DOT_STACKAGE_DIR/curator/stackage-nightly -fi - -git add *.yaml -git diff-index --quiet HEAD && echo No changes && exit 0 -git config user.name "Stackage build server" -git config user.email "michael@snoyman.com" -git commit -a -m "More conversions $(date)" -GIT_SSH_COMMAND="ssh -i $SSH_DIR/id_rsa" git push origin master -) - echo -n "Completed at " date