cloud-infra: Introduce CI_LOOP parameter 92/3392/1
authorFatih Degirmenci <fdegir@gmail.com>
Tue, 14 Jan 2020 07:10:08 +0000 (08:10 +0100)
committerFatih Degirmenci <fdegir@gmail.com>
Tue, 14 Jan 2020 07:10:08 +0000 (08:10 +0100)
Change-Id: I3633a0dd5dfe701d7f2bd68a1a3b999d5d1568b3

jjb/cloud-infra/cloud-infra-periodic-openstack.yml

index d80c36efee11214f6c66460f678f4b9f6b1be26b..302afeeec4c8b3c7d2dbe597894fcadfda166e88 100644 (file)
@@ -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: '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
             - 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
             - 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
             - 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
           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'