| commit | d461cd6a9e0e2bb99c9541a5d8e17743ae81ca12 | [log] [tgz] |
|---|---|---|
| author | Lei YU <yulei.sh@bytedance.com> | Thu Feb 18 14:25:49 2021 +0800 |
| committer | Patrick Williams <patrick@stwcx.xyz> | Thu Feb 18 07:03:19 2021 -0600 |
| tree | 9240eedc1f490e0ac183bb5a369e648bff6aa668 | |
| parent | 20b99068cd0d713aec9437c6176d130bba32be15 [diff] |
build-unit-test-docker: Fix https_proxy
The https_proxy was not correctly set and if build with proxy settings,
it gives below error:
base: WARNING: Retrying (Retry(total=4, connect=None, read=None,
redirect=None, status=None)) after connection broken by
'ProxyError('Cannot connect to proxy.',
NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection
object at 0x7efe419e99d0>: Failed to establish a new connection:
[Errno -2] Name or service not known'))': /simple/inflection/
RAN: /usr/bin/docker build --build-arg http_proxy=http://<myproxy>
--build-arg 'https_proxy={https_proxy}' --network=host --force-rm
--no-cache=false -t
openbmc/ubuntu-unit-test-base:2021-W07-773f263e895d8ed6 -
Tested: Fix the https_proxy string and verify the CI passes.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I87f543d33747b4957af83990f80bd8e832f4e5e3
Build script for CI jobs in Jenkins.