Reviewed: https://review.openstack.org/273621 Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=d34ffc13386a5fdb8fa24b424f4df64b97021091 Submitter: Jenkins Branch: master
commit d34ffc13386a5fdb8fa24b424f4df64b97021091 Author: Sergey Kulanov <email address hidden> Date: Thu Jan 28 17:14:37 2016 +0200
Allow to build fuel/fuel-centos-build docker image through proxy
Building ISO through proxy is possible out of the box by:
* defining http_proxy variable, for example export http_proxy=http://proxy_ip_address:proxy_port export https_proxy=https://proxy_ip_address:proxy_port export no_proxy=localhost make iso \ PROXY_CONFIG="http_proxy=http://proxy_ip_address:proxy_port \ https_proxy=https://proxy_ip_address:proxy_port \ no_proxy=localhost"
* allowing to bypass http_proxy variable for sudo operations, by updating sudoerc configuration file, for example: Defaults env_keep += "http_proxy https_proxy no_proxy"
The only thing which needs to be updated - bypassing proxy for docker build operation. This patch introduces this change
Change-Id: I2b5c7a071bec7448070395f88565701539a9adef Related-bug: #1538698
Reviewed: https:/ /review. openstack. org/273621 /git.openstack. org/cgit/ openstack/ fuel-main/ commit/ ?id=d34ffc13386 a5fdb8fa24b424f 4df64b97021091
Committed: https:/
Submitter: Jenkins
Branch: master
commit d34ffc13386a5fd b8fa24b424f4df6 4b97021091
Author: Sergey Kulanov <email address hidden>
Date: Thu Jan 28 17:14:37 2016 +0200
Allow to build fuel/fuel- centos- build docker image through proxy
Building ISO through proxy is possible out of the box by:
* defining http_proxy variable, for example proxy_ip_ address:proxy_port /proxy_ ip_address:proxy_port
PROXY_ CONFIG= "http_proxy=http:// proxy_ip_ address:proxy_port \
https_ proxy=https:/ /proxy_ ip_address:proxy_port \
no_proxy= localhost"
export http_proxy=http://
export https_proxy=https:/
export no_proxy=localhost
make iso \
* allowing to bypass http_proxy variable for sudo operations, by
updating sudoerc configuration file, for example:
Defaults env_keep += "http_proxy https_proxy no_proxy"
The only thing which needs to be updated - bypassing proxy for
docker build operation. This patch introduces this change
Change-Id: I2b5c7a071bec74 48070395f885657 01539a9adef
Related-bug: #1538698