engine: Record component versions based on released stack
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-periodic-openstack.yml
index d80c36efee11214f6c66460f678f4b9f6b1be26b..e0cb0dd9af9201710918e84cdbc282ad4f9a2b12 100644 (file)
@@ -50,7 +50,7 @@
           engine-branch: 'master'
           openstack-branch: '{stream}'
       - 'stein':
-          disabled: 'false'
+          disabled: 'true'
           engine-branch: 'master'
           openstack-branch: '{stream}'
       - 'rocky':
@@ -64,9 +64,6 @@
     deploy-scenario:
       - os-nosdn-nofeature
 
-    ci-loop:
-      - daily
-
     type:
       - baremetal:
           pod-name: est-baremetal
@@ -75,6 +72,7 @@
           installer-type: kolla
           test-suite: smoke
           yardstick-dispatcher: 'influxdb'
+          ci-loop: daily
           trigger-on: '@daily'
       - virtual:
           pod-name: est-virtual
@@ -83,6 +81,7 @@
           installer-type: kolla
           test-suite: healthcheck
           yardstick-dispatcher: 'influxdb'
+          ci-loop: periodic
           trigger-on: '0 */8 * * *'
 
     phase:
           name: SLAVE_LABEL
           default: '{slave-label}'
           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
+      - string:
+          name: CI_LOOP
+          default: '{ci-loop}'
+          description: 'Type of the deployment'
       - string:
           name: DISTRO
           default: '{distro}'
           name: YARDSTICK_DISPATCHER
           default: '{yardstick-dispatcher}'
           description: 'Dispatcher to use for Yardstick reporting'
-      - string:
-          name: CLEANUP
-          default: 'true'
-          description: 'Cleanup leftovers of the previous run'
 
     properties:
       - logrotate
       - build-blocker:
           use-build-blocker: true
           blocking-jobs:
+            - 'cloud-infra-verify-engine-.*'
+            - 'cloud-infra-verify-scenario-.*'
             - 'cloud-infra-periodic-engine-.*'
+            - 'onap-.*'
             - 'k8-.*'
             - 'os-.*'
+            - 'nolabs-.*'
           block-level: 'NODE'
       - throttle:
           max-per-node: 1
             - name: 'openstack-deploy-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
               current-parameters: true
               predefined-parameters: |
+                CI_LOOP=$CI_LOOP
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
                 USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE
                 PROVISIONER_TYPE=$PROVISIONER_TYPE
                 INSTALLER_TYPE=$INSTALLER_TYPE
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
-                CLEANUP=$CLEANUP
               git-revision: true
               node-parameters: true
               kill-phase-on: FAILURE
             - name: 'openstack-functest-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
               current-parameters: true
               predefined-parameters: |
+                CI_LOOP=$CI_LOOP
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
                 OPENSTACK_VERSION=$OPENSTACK_VERSION
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
                 TEST_SUITE=$TEST_SUITE
                 YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-                CLEANUP=$CLEANUP
               node-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
             - name: 'openstack-yardstick-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
               current-parameters: true
               predefined-parameters: |
+                CI_LOOP=$CI_LOOP
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
                 OPENSTACK_VERSION=$OPENSTACK_VERSION
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
                 TEST_SUITE=$TEST_SUITE
                 YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-                CLEANUP=$CLEANUP
               node-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
             - name: 'openstack-promote-{distro}-{installer-type}-{type}-{ci-loop}-{stream}'
               current-parameters: true
               predefined-parameters: |
+                CI_LOOP=$CI_LOOP
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
                 OPENSTACK_VERSION=$OPENSTACK_VERSION
                 DEPLOY_SCENARIO=$DEPLOY_SCENARIO
                 TEST_SUITE=$TEST_SUITE
                 YARDSTICK_DISPATCHER=$YARDSTICK_DISPATCHER
-                CLEANUP=$CLEANUP
               node-parameters: true
               kill-phase-on: FAILURE
               abort-all-job: true
           name: DISTRO
           default: 'ubuntu1804'
           description: 'Distribution to use for configuring target nodes (networking etc.). Overriden by upstream job.'
+      - string:
+          name: CI_LOOP
+          default: '{ci-loop}'
+          description: 'Type of the deployment'
       - string:
           name: DEPLOY_TYPE
           default: 'virtual'
           name: YARDSTICK_DISPATCHER
           default: 'file'
           description: 'Dispatcher to use for Yardstick reporting'
-      - string:
-          name: CLEANUP
-          default: 'false'
 
     wrappers:
       - build-timeout: