summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-07-13 20:01:32 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-13 20:01:32 +0000
commita0e94bb656db7a2d294b0b09ea84b1daaa5be81a (patch)
treee34a0871181e8f2a7d9acd64a2016f346893b288
parent24060efba5cce0d11cb0e729e970b8fd24fc9c9d (diff)
parentd162188e32c21f9a89d4566f318f87bbfd5077ec (diff)
Merge "Issue-ID: DCAEGEN2-2261 optimization in git clone using --depth"
-rw-r--r--docs/sections/services/heartbeat-ms/build_setup.rst2
-rw-r--r--docs/sections/services/snmptrap/installation.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/sections/services/heartbeat-ms/build_setup.rst b/docs/sections/services/heartbeat-ms/build_setup.rst
index 6ab6a178..6033affc 100644
--- a/docs/sections/services/heartbeat-ms/build_setup.rst
+++ b/docs/sections/services/heartbeat-ms/build_setup.rst
@@ -25,7 +25,7 @@ Docker build procedure
Clone the code using below command
::
- git clone https://gerrit.onap.org/r/dcaegen2/services/heartbeat
+ git clone --depth 1 https://gerrit.onap.org/r/dcaegen2/services/heartbeat
give executable permission to mvn-phase-script.sh if not there
already
diff --git a/docs/sections/services/snmptrap/installation.rst b/docs/sections/services/snmptrap/installation.rst
index 602730d3..cce201d3 100644
--- a/docs/sections/services/snmptrap/installation.rst
+++ b/docs/sections/services/snmptrap/installation.rst
@@ -72,7 +72,7 @@ Download a copy of the latest trapd image from gerrit in it's standard runtime l
``cd /opt/app``
- ``git clone ssh://<your linux foundation id>@gerrit.onap.org:29418/dcaegen2/collectors/snmptrap snmptrap``
+ ``git clone --depth 1 ssh://<your linux foundation id>@gerrit.onap.org:29418/dcaegen2/collectors/snmptrap snmptrap``
"Un-dockerize"
""""""""""""""