| commit | b850977aaf474d6f57cb7e1e133f35b48295d963 | [log] [tgz] |
|---|---|---|
| author | Lei YU <yulei.sh@bytedance.com> | Tue Dec 29 13:46:57 2020 +0800 |
| committer | Lei YU <yulei.sh@bytedance.com> | Thu Jan 07 10:32:15 2021 +0800 |
| tree | 4f060d027706b0fcdddecdae2bfc59295011c220 | |
| parent | 5b4a1e8be11dd7e8f6239a4a382d8f8ddb95b3e6 [diff] |
unit-test: Set git proxy in docker
Some repos will download externalprojects via git, and it could be
slow in some network environment.
Set git proxy in $HOME/.gitconfig in the docker container so that git
could use the proxy to speedup the download.
Tested: Verify it's faster to run repo-ci on dbus-sensors that downloads
nlohmann-json project via git. Without this change, it's very
slow and eventually fails due to timeout.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Ifd480dc7d4003ec21251d6077caf33baf3b622ef
Build script for CI jobs in Jenkins.