diff options
author | Sunder Tattavarada <statta@research.att.com> | 2020-08-04 17:41:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-04 17:41:50 +0000 |
commit | dd2c6fd1355f93857dc7b5ab23776a1d6543f006 (patch) | |
tree | 87ff8f802867359a00ff81aa3e311602f9ba0774 | |
parent | 0ee99992f35411273073c19e22367b641869d651 (diff) | |
parent | aeca0e4c909da162b6d4de49a3cc18f6c8487b0b (diff) |
Merge "Issue-ID: PORTAL-913 optimization in git clone using --depth"
-rw-r--r-- | deliveries/local-dev-host-clone.sh | 4 | ||||
-rw-r--r-- | docs/tutorials/portal-BE/setting-up.rst | 2 | ||||
-rw-r--r-- | docs/tutorials/portal-sdk/setting-up.rst | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/deliveries/local-dev-host-clone.sh b/deliveries/local-dev-host-clone.sh index 1d7ae42b..43153d38 100644 --- a/deliveries/local-dev-host-clone.sh +++ b/deliveries/local-dev-host-clone.sh @@ -2,6 +2,6 @@ # Sets up a new build area for Portal projects on on a dev/test host such as vm-ep-dev3 USER=org.UserId-goes-here -git clone https://${USER}@gerrit.onap.org/r/a/portal +git clone --depth 1 https://${USER}@gerrit.onap.org/r/a/portal cd lf_portal -git clone https://${USER}@gerrit.onap.org/r/a/portal/sdk +git clone --depth 1 https://${USER}@gerrit.onap.org/r/a/portal/sdk diff --git a/docs/tutorials/portal-BE/setting-up.rst b/docs/tutorials/portal-BE/setting-up.rst index 22d7f47b..36448999 100644 --- a/docs/tutorials/portal-BE/setting-up.rst +++ b/docs/tutorials/portal-BE/setting-up.rst @@ -18,7 +18,7 @@ Clone the Portal repository with git: :: - git clone "https://gerrit.onap.org/r/portal" + git clone --depth 1 "https://gerrit.onap.org/r/portal" Building ----------------- diff --git a/docs/tutorials/portal-sdk/setting-up.rst b/docs/tutorials/portal-sdk/setting-up.rst index ce32dbb4..ae03f1a9 100644 --- a/docs/tutorials/portal-sdk/setting-up.rst +++ b/docs/tutorials/portal-sdk/setting-up.rst @@ -18,7 +18,7 @@ Clone the Portal SDK repository with git: :: - git clone http://gerrit.onap.org/r/portal/sdk + git clone --depth 1 http://gerrit.onap.org/r/portal/sdk Building the base ----------------- |