diff options
author | Pratik Raj <rajpratik71@gmail.com> | 2020-05-28 11:06:47 +0530 |
---|---|---|
committer | Pratik Raj <rajpratik71@gmail.com> | 2020-05-28 12:41:08 +0530 |
commit | 7e01b7fee386b6a1d0a1212ee7aac2eaa6d05e40 (patch) | |
tree | fb53a7830d7e13bdaca57245620d1197b48f8849 /docs/developer_info | |
parent | 616a4dd89a17312193044b59370c9f03df93762c (diff) |
Issue-ID: SO-2966 optimization in git clone using --depth
optimize the git clone using --depth flag in term of size of clone
and also in term's of time taken to fetch the files and commit history
of whole repository.
Respective issue is created at https://jira.onap.org/browse/SO-2966
More detail can be found at blog
https://www.atlassian.com/git/tutorials/big-repositories
Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
Change-Id: I82d8e20a0f33e950f6a66b9f197722cdcaf182d8
Diffstat (limited to 'docs/developer_info')
-rw-r--r-- | docs/developer_info/Building_SO.rst | 2 | ||||
-rw-r--r-- | docs/developer_info/FAQs.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/developer_info/Building_SO.rst b/docs/developer_info/Building_SO.rst index 7d68e433cc..edd2515fee 100644 --- a/docs/developer_info/Building_SO.rst +++ b/docs/developer_info/Building_SO.rst @@ -36,7 +36,7 @@ Build docker images SO docker images are built using the "docker" maven profile. -During the build, the chef-repo and so-docker repositories are cloned from gerrit into the "so" directory structure. Extra definitions are required in the build environment to make this happen. You may need to adjust the definition of mso.chef.git.url.prefix to match the way you authenticate yourself when performing git clone. +During the build, the chef-repo and so-docker repositories are cloned from gerrit into the "so" directory structure. Extra definitions are required in the build environment to make this happen. You may need to adjust the definition of mso.chef.git.url.prefix to match the way you authenticate yourself when performing git clone --depth 1. If you are behind a corporate firewall, you can specify proxy definitions for the constructed docker images. diff --git a/docs/developer_info/FAQs.rst b/docs/developer_info/FAQs.rst index cd6784071c..55a7049f49 100644 --- a/docs/developer_info/FAQs.rst +++ b/docs/developer_info/FAQs.rst @@ -57,7 +57,7 @@ How to Build docker images SO docker images are built using the "docker" maven profile. -During the build, the chef-repo and so-docker repositories are cloned from gerrit into the "so" directory structure. Extra definitions are required in the build environment to make this happen. You may need to adjust the definition of mso.chef.git.url.prefix to match the way you authenticate yourself when performing git clone. +During the build, the chef-repo and so-docker repositories are cloned from gerrit into the "so" directory structure. Extra definitions are required in the build environment to make this happen. You may need to adjust the definition of mso.chef.git.url.prefix to match the way you authenticate yourself when performing git clone --depth 1. If you are behind a corporate firewall, you can specify proxy definitions for the constructed docker images. |