engine: Enable testing of online deployments
[infra/cicd.git] / jjb / engine / engine-verify-jobs / engine-verify-online-deploy-test.yaml
index 61d9d18bf233f658adac52f251cbfc9cd0d2a3e1..c295c788cf5dd7c6e9d33ec5cdbb44ca5cb9b77a 100644 (file)
           description: 'Name of heat-environment file to use.'
       - string:
           name: STACK_NAME
-          default: "nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER"
+          default: "nordix-cicd-verify-engine-online-{distro}-$BUILD_NUMBER"
           description: 'Name of the created stack'
       - string:
           name: KEYPAIR_NAME
-          default: "keypair-nordix-cicd-verify-engine-{distro}-$BUILD_NUMBER"
+          default: "keypair-nordix-cicd-verify-online-engine-{distro}-$BUILD_NUMBER"
           description: 'Name of the created keypair'
       - string:
           name: USE_PREBUILT_DEPLOYMENT_IMAGE
           default: 'true'
           description: 'Use prebuilt deployment image while running as part of CI/CD'
+      - string:
+          name: TEST_REPO_URL
+          default: 'https://gerrit.nordix.org/infra/test.git'
+          description: 'URL to clone the test repo from'
+      - string:
+          name: TEST_FW
+          default: 'functest'
+          description: 'Test framework to use'
       - string:
           name: TEST_SUITE
           default: 'healthcheck'
           description: 'Test suite to run'
-      - string:
-          name: YARDSTICK_DISPATCHER
-          default: 'file'
-          description: 'Dispatcher to use for Yardstick reporting'
       - string:
           name: DELETE_STACK
-          default: 'yes'
+          default: 'true'
           description: 'Delete the stack upon completion of the build'
 
     properties:
       - logrotate
-#      - build-blocker:
-#          use-build-blocker: true
-#          blocking-jobs:
-#            - 'engine-verify-online-deploy-test-.*'
-#            - 'engine-verify-offline-deploy-test-.*'
-#          block-level: 'NODE'
       - throttle:
           max-per-node: 1
           max-total: 3
           clean_before: false
 
     builders:
+      - 'engine-wait-pkg-mgr-macro'
       - 'engine-generate-ssh-keypair-macro'
       - 'engine-download-artifact-macro'
       - multijob:
               current-parameters: true
               node-parameters: true
               kill-phase-on: FAILURE
-              abort-all-job: true
+              abort-all-job: false
       - multijob:
           name: "Online Testing on {type} instances"
           condition: SUCCESSFUL
               current-parameters: true
               node-parameters: true
               kill-phase-on: FAILURE
-              abort-all-job: true
+              abort-all-job: false
       - conditional-step:
           condition-kind: and
           condition-operands: