Configure jobs for baremetal deployments
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-verify-testfw.yaml
index c4c26cdf25a4d997bcaf83624cfb9508bcd8c30c..ba7880fd3e1be82dc993e2666cf9954e77402ed7 100644 (file)
           name: DISTRIBUTION
           default: '{distribution}'
           description: 'Distribution to use for configuring target nodes (networking etc.)'
+      - string:
+          name: DEPLOY_TYPE
+          default: '{type}'
+          description: 'Type of the deployment'
       - string:
           name: DEPLOY_SCENARIO
           default: 'k8-calico-nofeature'
               current-parameters: true
               predefined-parameters: |
                 DISTRIBUTION=$DISTRIBUTION
+                DEPLOY_TYPE=$DEPLOY_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
                 TEST_SUITE=$TEST_SUITE
                 CLEANUP=$CLEANUP
           name: DISTRIBUTION
           default: 'ubuntu18'
           description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
+      - string:
+          name: DEPLOY_TYPE
+          default: 'virtual'
+          description: 'Type of the deployment. Overriden by upstream job.'
       - string:
           name: DEPLOY_SCENARIO
           default: 'k8-calico-nofeature'
           refspec: $GERRIT_REFSPEC
 
     builders:
-      - 'cloud-infra-verify-testfw-macro'
-
-# -------------------------------
-# builder macros
-# -------------------------------
-
-- builder:
-    name: 'cloud-infra-verify-testfw-macro'
-    builders:
-      - shell:
-          !include-raw: ./cloud-infra-test.sh
+      - 'cloud-infra-testfw-macro'
 
 # vim: set ts=2 sw=2 expandtab: