Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
MNT: Print to stdout every so often to avoid CircleCI timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
kernc committed Oct 12, 2021
1 parent 48dddc0 commit a2369dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build_tools/circle/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,16 @@ then
python build_tools/circle/list_versions.py > doc/versions.rst
fi

# Install this noise maker on CircleCI to prevent
# "Too long with no output (exceeded 10m0s): context deadline exceeded"
while true; do sleep $((60 * 5)); echo -e '\nStill working ...\n'; done &
noise_maker=$!

# The pipefail is requested to propagate exit code
set -o pipefail && cd doc && make $make_args 2>&1 | tee ~/log.txt

kill $noise_maker

# Insert the version warning for deployment
find _build/html/stable -name "*.html" | xargs sed -i '/<\/body>/ i \
\ <script src="https://scikit-optimize.github.io/versionwarning.js"></script>'
Expand Down

0 comments on commit a2369dd

Please sign in to comment.