From: Fatih Degirmenci Date: Tue, 14 Jan 2020 07:10:08 +0000 (+0100) Subject: cloud-infra: Introduce CI_LOOP parameter X-Git-Url: https://gerrit.nordix.org/gitweb?a=commitdiff_plain;h=d16d90a3d674f276089b9854069c64f5c99cd0b8;p=infra%2Fcicd.git cloud-infra: Introduce CI_LOOP parameter Change-Id: I3633a0dd5dfe701d7f2bd68a1a3b999d5d1568b3 --- diff --git a/jjb/cloud-infra/cloud-infra-periodic-openstack.yml b/jjb/cloud-infra/cloud-infra-periodic-openstack.yml index d80c36ef..302afeee 100644 --- a/jjb/cloud-infra/cloud-infra-periodic-openstack.yml +++ b/jjb/cloud-infra/cloud-infra-periodic-openstack.yml @@ -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: @@ -117,6 +116,10 @@ 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}' @@ -198,6 +201,7 @@ - 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 @@ -217,6 +221,7 @@ - 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 @@ -236,6 +241,7 @@ - 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 @@ -255,6 +261,7 @@ - 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 @@ -286,6 +293,10 @@ 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'