8000 MNT: Print to stdout every so often to avoid CircleCI timeout · scikit-optimize/scikit-optimize@a2369dd · GitHub
[go: up one dir, main page]

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

Commit a2369dd

Browse files
committed
MNT: Print to stdout every so often to avoid CircleCI timeout
1 parent 48dddc0 commit a2369dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build_tools/circle/build_doc.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,16 @@ then
188188
python build_tools/circle/list_versions.py > doc/versions.rst
189189
fi
190190

191+
# Install this noise maker on CircleCI to prevent
192+
# "Too long with no output (exceeded 10m0s): context deadline exceeded"
193+
while true; do sleep $((60 * 5)); echo -e '\nStill working ...\n'; done &
194+
noise_maker=$!
195+
191196
# The pipefail is requested to propagate exit code
192197
set -o pipefail && cd doc && make $make_args 2>&1 | tee ~/log.txt
193198

199+
kill $noise_maker
200+
194201
# Insert the version warning for deployment
195202
find _build/html/stable -name "*.html" | xargs sed -i '/<\/body>/ i \
196203
\ <script src="https://scikit-optimize.github.io/versionwarning.js"></script>'

0 commit comments

Comments
 (0)
0