Skip to content
Snippets Groups Projects
Commit afcf8190 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

make the rc settings final

parent cffc7883
Branches
No related tags found
1 merge request!63Conda package based CI
...@@ -13,24 +13,25 @@ touch ${CONDA_ROOT}/pkgs/urls ...@@ -13,24 +13,25 @@ touch ${CONDA_ROOT}/pkgs/urls
touch ${CONDA_ROOT}/pkgs/urls.txt touch ${CONDA_ROOT}/pkgs/urls.txt
cat <<EOF > ${CONDARC} cat <<EOF > ${CONDARC}
default_channels: default_channels: #!final
- https://repo.continuum.io/pkgs/main - https://repo.continuum.io/pkgs/main
- https://repo.continuum.io/pkgs/free - https://repo.continuum.io/pkgs/free
- https://repo.continuum.io/pkgs/r - https://repo.continuum.io/pkgs/r
- https://repo.continuum.io/pkgs/pro - https://repo.continuum.io/pkgs/pro
add_pip_as_python_dependency: false #!final
changeps1: false #!final
always_yes: true #!final
quiet: true #!final
show_channel_urls: true #!final
anaconda_upload: false #!final
ssl_verify: false #!final
channels: #!final
EOF EOF
run_cmd ${CONDA_ROOT}/bin/conda config --set add_pip_as_python_dependency false
run_cmd ${CONDA_ROOT}/bin/conda config --set changeps1 false
run_cmd ${CONDA_ROOT}/bin/conda config --set always_yes true
run_cmd ${CONDA_ROOT}/bin/conda config --set quiet true
run_cmd ${CONDA_ROOT}/bin/conda config --set show_channel_urls true
run_cmd ${CONDA_ROOT}/bin/conda config --set anaconda_upload false
run_cmd ${CONDA_ROOT}/bin/conda config --add channels ${CONDA_CHANNEL}
if [ -z "${CI_COMMIT_TAG}" ]; then if [ -z "${CI_COMMIT_TAG}" ]; then
run_cmd ${CONDA_ROOT}/bin/conda config --add channels ${CONDA_BETA_CHANNEL} run_cmd echo " - ${CONDA_BETA_CHANNEL}" >> ${CONDARC}
fi fi
run_cmd ${CONDA_ROOT}/bin/conda config --set ssl_verify false run_cmd echo " - ${CONDA_CHANNEL}" >> ${CONDARC}
run_cmd echo " - defaults" >> ${CONDARC}
# displays contents of our configuration # displays contents of our configuration
echo "Contents of \`${CONDARC}':" echo "Contents of \`${CONDARC}':"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment