You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by hx...@apache.org on 2022/07/20 06:15:05 UTC

[flink] branch release-1.15 updated: [FLINK-28544][python][e2e] Clean up python environment after e2e tests

This is an automated email from the ASF dual-hosted git repository.

hxb pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.15 by this push:
     new dbf1d62ee4b [FLINK-28544][python][e2e] Clean up python environment after e2e tests
dbf1d62ee4b is described below

commit dbf1d62ee4b87a0ea90e7761232dd7217ea78379
Author: huangxingbo <hx...@apache.org>
AuthorDate: Tue Jul 19 10:20:24 2022 +0800

    [FLINK-28544][python][e2e] Clean up python environment after e2e tests
    
    This closes #20301.
---
 flink-python/dev/lint-python.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/flink-python/dev/lint-python.sh b/flink-python/dev/lint-python.sh
index b69764f1412..871b07cc1fc 100755
--- a/flink-python/dev/lint-python.sh
+++ b/flink-python/dev/lint-python.sh
@@ -827,6 +827,7 @@ done
 skip_checks=0
 
 if [[ ${CLEAN_UP_FLAG} -eq 1 ]]; then
+    printf "clean up python environment"
     rm -rf ${CONDA_HOME}
     rm -rf ${STAGE_FILE}
     rm -rf ${FLINK_PYTHON_DIR}/.tox
@@ -851,7 +852,9 @@ else
 fi
 
 # install environment
-install_environment
+if [[ ${CLEAN_UP_FLAG} -eq 0 ]]; then
+    install_environment
+fi
 
 pushd "$FLINK_PYTHON_DIR" &> /dev/null
 # exec all selected checks