X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fxci%2Fxci-daily-jobs.yaml;h=fe3da8b3c87fd4afe08e42d224db6a47ae3c8916;hb=0a2dfdffb822f822e041085a8e32fe4f87d55f87;hp=2c692dd45a664af79d626d8ad255ddc98aa8c7d3;hpb=183e34c6790183dcae39fb1be7064eef74c3d03e;p=releng.git diff --git a/jjb/xci/xci-daily-jobs.yaml b/jjb/xci/xci-daily-jobs.yaml index 2c692dd45..fe3da8b3c 100644 --- a/jjb/xci/xci-daily-jobs.yaml +++ b/jjb/xci/xci-daily-jobs.yaml @@ -17,66 +17,19 @@ # ------------------------------- scenario: - 'os-nosdn-nofeature-noha': - auto-trigger-name: 'daily-trigger-disabled' deploy-scenario: 'os-nosdn-nofeature' installer-type: 'osa' - xci-flavor: 'mini' - - 'os-nosdn-osm-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'os-nosdn-osm' - installer-type: 'osa' - xci-flavor: 'mini' - - 'os-odl-nofeature-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'os-odl-nofeature' - installer-type: 'osa' - xci-flavor: 'mini' - - 'os-odl-bgpvpn-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'os-odl-bgpvpn' - installer-type: 'osa' - xci-flavor: 'mini' - - 'os-odl-sfc-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'os-odl-sfc' - installer-type: 'osa' - xci-flavor: 'mini' - - 'k8-nosdn-nofeature-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'k8-nosdn-nofeature' - installer-type: 'kubespray' - xci-flavor: 'mini' - - 'k8-canal-nofeature-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'k8-canal-nofeature' - installer-type: 'kubespray' - xci-flavor: 'mini' + xci-flavor: 'noha' - 'k8-calico-nofeature-noha': - auto-trigger-name: 'daily-trigger-disabled' deploy-scenario: 'k8-calico-nofeature' installer-type: 'kubespray' - xci-flavor: 'mini' - - 'k8-contiv-nofeature-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'k8-contiv-nofeature' - installer-type: 'kubespray' - xci-flavor: 'mini' - - 'k8-flannel-nofeature-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'k8-flannel-nofeature' - installer-type: 'kubespray' - xci-flavor: 'mini' - - 'k8-nosdn-istio-noha': - auto-trigger-name: 'daily-trigger-disabled' - deploy-scenario: 'k8-nosdn-istio' - installer-type: 'kubespray' - xci-flavor: 'mini' + xci-flavor: 'noha' # ------------------------------- # XCI PODs # ------------------------------- pod: - - virtual: + - baremetal: <<: *master # ------------------------------- @@ -84,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 @@ -130,9 +83,12 @@ - '^xci-functest.*' - '^bifrost-.*periodic.*' - '^osa-.*periodic.*' - block-level: 'NODE' + blocking-level: 'NODE' - logrotate-default + triggers: + - timed: '@midnight' + parameters: - string: name: DEPLOY_SCENARIO @@ -146,9 +102,14 @@ - label: name: SLAVE_LABEL default: '{slave-label}' + all-nodes: false + node-eligibility: 'ignore-offline' - string: name: XCI_DISTRO default: '{distro}' + - string: + name: FUNCTEST_VERSION + default: 'hunter' - string: name: FUNCTEST_MODE default: 'tier' @@ -163,9 +124,6 @@ default: https://gerrit.opnfv.org/gerrit/$PROJECT description: 'Git URL to use on this Jenkins Slave' - triggers: - - '{auto-trigger-name}' - wrappers: - ssh-agent-wrapper - build-timeout: @@ -184,6 +142,7 @@ XCI_FLAVOR=$XCI_FLAVOR CI_LOOP=$CI_LOOP XCI_DISTRO=$XCI_DISTRO + FUNCTEST_VERSION=$FUNCTEST_VERSION FUNCTEST_MODE=$FUNCTEST_MODE FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME same-node: true @@ -197,6 +156,7 @@ XCI_FLAVOR=$XCI_FLAVOR CI_LOOP=$CI_LOOP XCI_DISTRO=$XCI_DISTRO + FUNCTEST_VERSION=$FUNCTEST_VERSION FUNCTEST_MODE=$FUNCTEST_MODE FUNCTEST_SUITE_NAME=$FUNCTEST_SUITE_NAME same-node: true @@ -243,7 +203,7 @@ - '^xci-functest.*' - '^bifrost-.*periodic.*' - '^osa-.*periodic.*' - block-level: 'NODE' + blocking-level: 'NODE' - throttle: enabled: true max-per-node: 1 @@ -271,13 +231,18 @@ 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' - string: name: FUNCTEST_MODE default: 'tier' @@ -329,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 "---------------------------------------------------------------------------------"