Enable shallow clone for git repos 07/37507/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 12 Apr 2016 16:18:45 +0000 (12:18 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 12 Apr 2016 16:21:36 +0000 (12:21 -0400)
Change-Id: I25cbc70dfb7b8fa29bf022c42711c31d07ca6969
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb-templates/validate-autorelease.yaml
jjb/integration/integration-macros.yaml
jjb/releng-macros.yaml

index 281122ba068c007051c0dbab357e7a6c1ee58cb2..382e6451ad3d158145a4f8c57fcaa058923261a4 100644 (file)
@@ -32,6 +32,7 @@
             branches:
                 - 'origin/{branch}'
             skip-tag: true
+            shallow-clone: true
             submodule:
                 recursive: true
 
index c180baec8404b57993a1ffa2835ac3d6886bee8a..c4a629d7a922afad7402522ef581dbe25b55922a 100644 (file)
             branches:
                 - 'origin/{branch}'
             skip-tag: true
+            shallow-clone: true
             choosing-strategy: 'gerrit'
 
 # Macro: integration-distribution-scm
             branches:
                 - 'origin/{branch}'
             skip-tag: true
+            shallow-clone: true
 
 # Macro: integration-trigger-patch-submitted
 # Operation: this macro sets a trigger for patch submitted on a path pattern
index d56eb57c51dfb14ed27507453be92e8e261a7571..b188da33d8a0557b199628997c904fad3643afb5 100644 (file)
@@ -66,6 +66,7 @@
             branches:
                 - 'origin/{branch}'
             skip-tag: true
+            shallow-clone: true
             wipe-workspace: true
 
 - scm:
@@ -78,6 +79,7 @@
             branches:
                 - 'origin/$GERRIT_BRANCH'
             skip-tag: true
+            shallow-clone: true
             choosing-strategy: '{choosing-strategy}'
 
 - wrapper: