mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-04-07 08:49:05 +02:00
automated: use 24 hour time (with C locale date's)
Some checks are pending
check / Stackage check (push) Waiting to run
Some checks are pending
check / Stackage check (push) Waiting to run
hopefully easier since server is using UTC
This commit is contained in:
parent
ff76ad0ce1
commit
979d1a6fe9
@ -5,7 +5,7 @@
|
||||
# SC1091: Secrets are sourced from a file that doesn't exist in the tree.
|
||||
# SC2001: Pattern substitution is too hard to use; don't recommend it.
|
||||
|
||||
date
|
||||
LANG=C date
|
||||
set -eu +x -o pipefail
|
||||
|
||||
ROOT=$(cd "$(dirname $0)" ; pwd)
|
||||
@ -169,14 +169,14 @@ docker run $ARGS_UPLOAD $IMAGE curator check-target-available --target $TARGET
|
||||
#
|
||||
# * Upload the docs to S3
|
||||
# * Upload the new snapshot .yaml file to the appropriate Github repo, also upload its constraints
|
||||
date
|
||||
LANG=C date
|
||||
docker run $ARGS_UPLOAD -e "CURATOR_AWS_OPTIONS=--only-show-errors" $IMAGE /bin/bash -c "
|
||||
set -e
|
||||
ulimit -n hard
|
||||
curator upload-docs --target $TARGET ${DOCS_BUCKET:+--bucket $DOCS_BUCKET}
|
||||
curator upload-github --target $TARGET
|
||||
"
|
||||
date
|
||||
LANG=C date
|
||||
|
||||
case $TARGET in
|
||||
lts-22.*) ;;
|
||||
@ -196,4 +196,4 @@ then
|
||||
fi
|
||||
|
||||
echo -n "Completed at "
|
||||
date
|
||||
LANG=C date
|
||||
|
||||
@ -10,4 +10,4 @@ fi
|
||||
ln -sf $LOG_FILE lts-build.log
|
||||
time script -c "./build.sh $*" $LOG_FILE
|
||||
touch -h lts-build.log
|
||||
date
|
||||
LANG=C date
|
||||
|
||||
@ -17,7 +17,7 @@ while true; do
|
||||
time script -c "./build.sh nightly-$(date -u +%F) $cmd" $LOG_FILE
|
||||
touch -h nightly-build.log
|
||||
${cmd:+exit 0}
|
||||
echo "$0: run completed at $(date)"
|
||||
LANG=C echo "$0: run completed at $(LANG=C date)"
|
||||
${once:+exit 0}
|
||||
echo
|
||||
sleep 90m
|
||||
|
||||
Loading…
Reference in New Issue
Block a user