X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fxci%2Fxci-daily-jobs.yaml;h=fe3da8b3c87fd4afe08e42d224db6a47ae3c8916;hb=a78697d4c2304ee4dcc56f3d8580a02d27dc00e1;hp=fcd4465cbb17af9c4791119ac7047d9855dde6c5;hpb=274c96e6bfa3e50737aeaadafb20bb048a897818;p=releng.git diff --git a/jjb/xci/xci-daily-jobs.yaml b/jjb/xci/xci-daily-jobs.yaml index fcd4465cb..fe3da8b3c 100644 --- a/jjb/xci/xci-daily-jobs.yaml +++ b/jjb/xci/xci-daily-jobs.yaml @@ -19,53 +19,17 @@ - 'os-nosdn-nofeature-noha': deploy-scenario: 'os-nosdn-nofeature' installer-type: 'osa' - xci-flavor: 'mini' - - 'os-nosdn-osm-noha': - deploy-scenario: 'os-nosdn-osm' - installer-type: 'osa' - xci-flavor: 'mini' - - 'os-odl-nofeature-noha': - deploy-scenario: 'os-odl-nofeature' - installer-type: 'osa' - xci-flavor: 'mini' - - 'os-odl-bgpvpn-noha': - deploy-scenario: 'os-odl-bgpvpn' - installer-type: 'osa' - xci-flavor: 'mini' - - 'os-odl-sfc-noha': - deploy-scenario: 'os-odl-sfc' - installer-type: 'osa' - xci-flavor: 'mini' - - 'k8-nosdn-nofeature-noha': - deploy-scenario: 'k8-nosdn-nofeature' - installer-type: 'kubespray' - xci-flavor: 'mini' - - 'k8-canal-nofeature-noha': - deploy-scenario: 'k8-canal-nofeature' - installer-type: 'kubespray' - xci-flavor: 'mini' + xci-flavor: 'noha' - 'k8-calico-nofeature-noha': deploy-scenario: 'k8-calico-nofeature' installer-type: 'kubespray' - xci-flavor: 'mini' - - 'k8-contiv-nofeature-noha': - deploy-scenario: 'k8-contiv-nofeature' - installer-type: 'kubespray' - xci-flavor: 'mini' - - 'k8-flannel-nofeature-noha': - deploy-scenario: 'k8-flannel-nofeature' - installer-type: 'kubespray' - xci-flavor: 'mini' - - 'k8-nosdn-istio-noha': - deploy-scenario: 'k8-nosdn-istio' - installer-type: 'kubespray' - xci-flavor: 'mini' + xci-flavor: 'noha' # ------------------------------- # XCI PODs # ------------------------------- pod: - - virtual: + - baremetal: <<: *master # ------------------------------- @@ -73,14 +37,14 @@ # ------------------------------- distro: - 'ubuntu': - disabled: false - slave-label: xci-virtual + disabled: true + slave-label: xci-baremetal - 'centos': disabled: true - slave-label: xci-virtual + slave-label: xci-baremetal - 'opensuse': - disabled: false - slave-label: xci-virtual + disabled: true + slave-label: xci-baremetal # ------------------------------- # Phases @@ -119,7 +83,7 @@ - '^xci-functest.*' - '^bifrost-.*periodic.*' - '^osa-.*periodic.*' - block-level: 'NODE' + blocking-level: 'NODE' - logrotate-default triggers: @@ -138,6 +102,8 @@ - label: name: SLAVE_LABEL default: '{slave-label}' + all-nodes: false + node-eligibility: 'ignore-offline' - string: name: XCI_DISTRO default: '{distro}' @@ -237,7 +203,7 @@ - '^xci-functest.*' - '^bifrost-.*periodic.*' - '^osa-.*periodic.*' - block-level: 'NODE' + blocking-level: 'NODE' - throttle: enabled: true max-per-node: 1 @@ -265,13 +231,15 @@ default: 'osa' - string: name: XCI_FLAVOR - default: 'mini' + default: 'noha' - string: name: XCI_DISTRO default: 'ubuntu' - label: name: SLAVE_LABEL default: '{slave-label}' + all-nodes: false + node-eligibility: 'ignore-offline' - string: name: FUNCTEST_VERSION default: 'hunter' @@ -326,7 +294,15 @@ done echo "---------------------------------------------------------------------------------" - cd $WORKSPACE/xci && ./xci-deploy.sh + # select the right PDF/IDF + export PDF=$WORKSPACE/xci/var/${NODE_NAME}-pdf.yml + export IDF=$WORKSPACE/xci/var/${NODE_NAME}-idf.yml + if [[ "$NODE_NAME" =~ "virtual" ]]; then + export PDF=$WORKSPACE/xci/var/pdf.yml + export IDF=$WORKSPACE/xci/var/idf.yml + fi + + cd $WORKSPACE/xci && ./xci-deploy.sh -p $PDF -i $IDF echo "Prepare OPNFV VM for Tests" echo "---------------------------------------------------------------------------------"