From 4bf33f9b6932ac2449364d593f61c1d5650c0a26 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Tue, 26 Sep 2017 18:16:16 +0200 Subject: [PATCH] debug for package cache folders --- gitlab/build.sh | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/gitlab/build.sh b/gitlab/build.sh index cf8290a..3f8ba3d 100755 --- a/gitlab/build.sh +++ b/gitlab/build.sh @@ -3,14 +3,19 @@ source $(dirname ${0})/functions.sh # look into possible cache folders -run_cmd ls ${CONDA_FOLDER}/pkgs -run_cmd ls ${CONDA_ENVS_PATH} +log_info ls ${CONDA_FOLDER}/pkgs +ls ${CONDA_FOLDER}/pkgs +log_info ls ${CONDA_ENVS_PATH} +ls ${CONDA_ENVS_PATH} # look into possible cache folders run_cmd ${CONDA_FOLDER}/bin/conda install -n root --yes --quiet conda=4 conda-build=3 # look into possible cache folders -run_cmd ls ${CONDA_FOLDER}/pkgs -run_cmd ls ${CONDA_ENVS_PATH} -run_cmd ls /home/dev/.conda/pkgs +log_info ls ${CONDA_FOLDER}/pkgs +ls ${CONDA_FOLDER}/pkgs +log_info ls ${CONDA_ENVS_PATH} +ls ${CONDA_ENVS_PATH} +log_info ls /home/dev/.conda/pkgs +ls /home/dev/.conda/pkgs # look into possible cache folders run_cmd ${CONDA_FOLDER}/bin/conda config --set always_yes yes --set changeps1 no run_cmd ${CONDA_FOLDER}/bin/conda config --set show_channel_urls true @@ -36,6 +41,8 @@ else run_cmd ${CONDA_FOLDER}/bin/conda build --override-channels -c ${CONDA_CHANNEL} -c defaults --python=${PYTHON_VERSION} conda fi # look into possible cache folders -run_cmd ls ${CONDA_FOLDER}/pkgs -run_cmd ls ${CONDA_ENVS_PATH} +log_info ls ${CONDA_FOLDER}/pkgs +ls ${CONDA_FOLDER}/pkgs +log_info ls ${CONDA_ENVS_PATH} +ls ${CONDA_ENVS_PATH} # look into possible cache folders -- GitLab