mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
build.sh: remove legacy-bulk conversion and commits
this allowed saving some server diskspace:
ie removing dot-stackage/curator/stackage-{lts,nightly}
This commit is contained in:
parent
3fc3580815
commit
3fe1e38cec
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user