X-Git-Url: https://gerrit.nordix.org/gitweb?a=blobdiff_plain;f=jjb%2Fcloud-infra%2Fcloud-infra-periodic-engine.yaml;h=cbd866eda8b64779eb02f3a8cf8ed0928815717a;hb=refs%2Fchanges%2F33%2F1033%2F3;hp=cbf2f14cd9dae32b24d3af542f93a1dc56a5ea85;hpb=deedd614369b138fd880a72556828dc25d448c2c;p=infra%2Fcicd.git diff --git a/jjb/cloud-infra/cloud-infra-periodic-engine.yaml b/jjb/cloud-infra/cloud-infra-periodic-engine.yaml index cbf2f14c..cbd866ed 100644 --- a/jjb/cloud-infra/cloud-infra-periodic-engine.yaml +++ b/jjb/cloud-infra/cloud-infra-periodic-engine.yaml @@ -60,7 +60,10 @@ dib_os_element: 'centos-minimal' type: - - virtual + - virtual: + slave-label: 'vpod-deploy-city' + - baremetal: + slave-label: 'baremetal-deploy' phase: - deploy @@ -87,12 +90,16 @@ - nordix-gerrit-parameters - label: name: SLAVE_LABEL - default: 'vpod-deploy-{os}' + default: 'vpod-deploy-city' description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use' - string: 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: USE_PREBUILT_DEPLOYMENT_IMAGE default: 'true' @@ -141,8 +148,6 @@ - build-timeout: timeout: 120 - fix-workspace-permissions - - openstack: - single-use: True scm: - git-scm: @@ -162,6 +167,7 @@ current-parameters: true predefined-parameters: | DISTRIBUTION=$DISTRIBUTION + DEPLOY_TYPE=$DEPLOY_TYPE USE_PREBUILT_DEPLOYMENT_IMAGE=$USE_PREBUILT_DEPLOYMENT_IMAGE IPA_DIB_OS_ELEMENT=$IPA_DIB_OS_ELEMENT DIB_OS_RELEASE=$DIB_OS_RELEASE @@ -180,6 +186,7 @@ current-parameters: true predefined-parameters: | DISTRIBUTION=$DISTRIBUTION + DEPLOY_TYPE=$DEPLOY_TYPE DEPLOY_SCENARIO=$DEPLOY_SCENARIO TEST_SUITE=$TEST_SUITE CLEANUP=$CLEANUP @@ -194,6 +201,7 @@ current-parameters: true predefined-parameters: | DISTRIBUTION=$DISTRIBUTION + DEPLOY_TYPE=$DEPLOY_TYPE DEPLOY_SCENARIO=$DEPLOY_SCENARIO TEST_SUITE=$TEST_SUITE CLEANUP=$CLEANUP @@ -219,6 +227,10 @@ 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: USE_PREBUILT_DEPLOYMENT_IMAGE default: 'false' @@ -235,6 +247,10 @@ name: DIB_OS_ELEMENT default: 'ubuntu-minimal' description: 'DIB OS Element to use for building the deployment image to provision target nodes with. Overriden by upstream job.' + - string: + name: ENGINE_ANSIBLE_PARAMS + default: ' -v ' + description: 'Extra paramters that can be added when run the play books.' - string: name: DEPLOY_SCENARIO default: 'k8-calico-nofeature' @@ -267,34 +283,6 @@ refspec: '' builders: - - 'cloud-infra-periodic-{phase}-macro' - -# ------------------------------- -# builder macros -# ------------------------------- - -- builder: - name: 'cloud-infra-periodic-deploy-macro' - builders: - - shell: - !include-raw: ./wait-for-pkg-manager.sh - - shell: - !include-raw: ./cloud-infra-deploy.sh - -- builder: - name: 'cloud-infra-periodic-functest-macro' - builders: - - shell: - !include-raw: ./prepare-for-test.sh - - shell: - !include-raw: ./cloud-infra-test.sh - -- builder: - name: 'cloud-infra-periodic-yardstick-macro' - builders: - - shell: - !include-raw: ./prepare-for-test.sh - - shell: - !include-raw: ./cloud-infra-test.sh + - 'cloud-infra-{phase}-macro' # vim: set ts=2 sw=2 expandtab: