Enable shallow clone for git repos
[releng/builder.git] / jjb / integration / integration-macros.yaml
index 9a82329ce51e6850a6eec26cd1a201744aee358b..c4a629d7a922afad7402522ef581dbe25b55922a 100644 (file)
             default: '{controller-features}'
             description: 'Features to install in the controller separated by comma'
 
+- parameter:
+    name: integration-distribution-stream
+    parameters:
+        - string:
+            name: DISTROSTREAM
+            default: '{stream}'
+            description: 'Distribution stream string, for suites to know which behavior to expect'
+
+- parameter:
+    name: integration-stream-test-plan
+    parameters:
+        - string:
+            name: STREAMTESTPLAN
+            default: '{stream-test-plan}'
+            description: 'Stream-specific test plan we will run'
+
 - parameter:
     name: integration-test-plan
     parameters:
         - string:
             name: TESTPLAN
             default: '{test-plan}'
-            description: 'Test plan we will run'
+            description: 'General test plan we will run unless stream-specific one is found'
 
 - parameter:
     name: integration-test-options
             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
             !include-raw:
                 - include-raw-integration-deploy-controller-run-test.sh
 
+# Macro: include-raw-integration-deploy-robot-testing
+# Operation: this macro only resolves suite path from testplan
+# Used by: {project}-openstack-{functionality}-daily-{openstack}-{odl} job templates
+
+- builder:
+    name: include-raw-integration-deploy-devstack-testing
+    builders:
+        - shell:
+            !include-raw:
+                - include-raw-integration-deploy-devstack-testing.sh
+
 # Macro: integration-deploy-controller
 # Operation: this macro prepares 3-node cluster controller
 # Used by: {project}-csit-3node-* job templates