Customization of conda and pip channels

Support Cases: 
TS003490238   
TS003439859 

1. The capability to use a .condarc under /user-home/global/config/conda/ for customization is present in  CPD 3.0 release and also will be released as a patch for CPD 2.5  presumably in next 2 -4 weeks, exact dates will be updated here.

2. Configuring pip to use a proxy server is present in CPD 3.0

You can configure pip for use behind a proxy server by creating your own cluster-wide pip configuration file called pip.conf in which you can specify your own package index or a proxy user.

a). Create a new pip configuration file or open the existing one at /user-home/_global_/config/conda/pip.conf. The names of the settings in pip.conf are derived from the long command-line option. Use the following options to configure your corporate proxy and an internal package index:
[global]
proxy=http://user:password@proxy_name:port
index-url=http://internal-pip-index.internal.com/root/pypi/+simple/
trusted-host=internal-pip-index.internal.com
b) Copy the pip.conf file to the shared file system:
ibm_nginx_pod=`oc get pods -l component=ibm-nginx -o jsonpath='{.items[0].metadata.name}'`
oc cp /Users/<username>/pip.conf ${ibm_nginx_pod}:/user-home/_global_/config/conda/pip.conf
 ------------------------------------------------------------------------------------------------------------------------------------------------------------
Fix Number:
#7794 , #7756
 
Applies to Version/s:
 2.5
 
Applies to Service/s:
 Watson Studio Local (WSL)

First Fixed in Version:
3.0.0

State:
 Open