You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by di...@apache.org on 2022/05/21 09:33:05 UTC
[flink] branch master updated: [FLINK-27694][python][build] Move lint-python log location (#19768)
This is an automated email from the ASF dual-hosted git repository.
dianfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 26deac8494d [FLINK-27694][python][build] Move lint-python log location (#19768)
26deac8494d is described below
commit 26deac8494d2f177898ec3dce3bfe7a2753c4849
Author: Ada Wang <wa...@gmail.com>
AuthorDate: Sat May 21 17:32:55 2022 +0800
[FLINK-27694][python][build] Move lint-python log location (#19768)
---
flink-python/dev/lint-python.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/flink-python/dev/lint-python.sh b/flink-python/dev/lint-python.sh
index e52bd20c522..09d986fb7f7 100755
--- a/flink-python/dev/lint-python.sh
+++ b/flink-python/dev/lint-python.sh
@@ -187,8 +187,8 @@ function install_wget() {
function install_miniconda() {
OS_TO_CONDA_URL=("https://repo.continuum.io/miniconda/Miniconda3-4.7.10-MacOSX-x86_64.sh" \
"https://repo.continuum.io/miniconda/Miniconda3-4.7.10-Linux-x86_64.sh")
- print_function "STEP" "download miniconda..."
if [ ! -f "$CONDA_INSTALL" ]; then
+ print_function "STEP" "download miniconda..."
download ${OS_TO_CONDA_URL[$1]} $CONDA_INSTALL_SH
chmod +x $CONDA_INSTALL_SH
if [ $? -ne 0 ]; then
@@ -203,18 +203,18 @@ function install_miniconda() {
exit 1
fi
fi
+ print_function "STEP" "download miniconda... [SUCCESS]"
fi
- print_function "STEP" "download miniconda... [SUCCESS]"
- print_function "STEP" "installing conda..."
if [ ! -d "$CURRENT_DIR/.conda" ]; then
+ print_function "STEP" "installing conda..."
$CONDA_INSTALL_SH -b -p $CURRENT_DIR/.conda 2>&1 >/dev/null
if [ $? -ne 0 ]; then
echo "install miniconda failed"
exit $CONDA_INSTALL_STATUS
fi
+ print_function "STEP" "install conda ... [SUCCESS]"
fi
- print_function "STEP" "install conda ... [SUCCESS]"
}
# Install some kinds of py env.
@@ -378,23 +378,23 @@ function install_environment() {
# step-1 install wget
# the file size of the miniconda.sh is too big to use "wget" tool to download instead
# of the "curl" in the weak network environment.
- print_function "STEP" "installing wget..."
if [ $STEP -lt 1 ]; then
+ print_function "STEP" "installing wget..."
install_wget ${SUPPORT_OS[$os_index]}
STEP=1
checkpoint_stage $STAGE $STEP
+ print_function "STEP" "install wget... [SUCCESS]"
fi
- print_function "STEP" "install wget... [SUCCESS]"
# step-2 install miniconda
- print_function "STEP" "installing miniconda..."
if [ $STEP -lt 2 ]; then
+ print_function "STEP" "installing miniconda..."
create_dir $CURRENT_DIR/download
install_miniconda $os_index
STEP=2
checkpoint_stage $STAGE $STEP
+ print_function "STEP" "install miniconda... [SUCCESS]"
fi
- print_function "STEP" "install miniconda... [SUCCESS]"
# step-3 install python environment which includes
# 3.6 3.7 3.8