From f7892ae2d1a395eda12545a7a5633a6072aa1629 Mon Sep 17 00:00:00 2001 From: tqchen Date: Fri, 28 May 2021 09:07:07 -0400 Subject: [PATCH] [CI] Cleanup stale logs for auto-tuning --- tests/scripts/task_python_docs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh index 1eb75be830c3b..a03a7482159c1 100755 --- a/tests/scripts/task_python_docs.sh +++ b/tests/scripts/task_python_docs.sh @@ -39,8 +39,9 @@ rm -rf docs/gen_modules rm -rf docs/doxygen # prepare auto scheduler tutorials -rm -rf tutorials/auto_scheduler/*.json +find tutorials -type f -path "*.json" | xargs rm -f cp -f tutorials/auto_scheduler/ci_logs/*.json tutorials/auto_scheduler +cp -f tutorials/auto_scheduler/ci_logs/*.json tutorials/get_started # remove stale tutorials and always build from scratch. rm -rf docs/tutorials