From 826d2a357dcea65d6ea0aa2d520d51e5c2cf1afe Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Mon, 26 Jun 2017 04:26:24 -0400 Subject: dovetail run against different scenarios of compass JIRA: DOVETAIL-454 1, scenarios to run https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool scenarios installer os-nosdn-nofeature-ha Apex os-nosdn-kvm-ha Apex os-odl_l3-fdio-ha Apex os-odl_l2-nofeature-ha Compass os-nosdn-nofeature-ha Compass os-onos-nofeature-ha Compass os-odl_l3-nofeature-ha Compass os-nosdn-ovs-ha Fuel os-odl_l2-bgpvpn-ha Fuel os-odl_l3-nofeature-ha Fuel os-nosdn-nofeature-ha Fuel os-nosdn-kvm_ovs_dpdk-ha Fuel 2, time map(in order to reduce resource in CI) MON, WED, FRI, SUN ----> latest TUE, THU, SAT ---> cvp.0.1.0 Change-Id: If9c3fc514e4260530fc4f73299eedd9c1b022692 Signed-off-by: MatthewLi --- jjb/compass4nfv/compass-ci-jobs.yml | 63 ++++++++++++++++++++++++++++++++++--- jjb/dovetail/dovetail-ci-jobs.yml | 2 +- 2 files changed, 59 insertions(+), 6 deletions(-) (limited to 'jjb') diff --git a/jjb/compass4nfv/compass-ci-jobs.yml b/jjb/compass4nfv/compass-ci-jobs.yml index f4f49b666..a2c3c8b5b 100644 --- a/jjb/compass4nfv/compass-ci-jobs.yml +++ b/jjb/compass4nfv/compass-ci-jobs.yml @@ -163,14 +163,28 @@ unstable-threshold: 'FAILURE' # dovetail only master by now, not sync with A/B/C branches # here the stream means the SUT stream, dovetail stream is defined in its own job - # only run on os-(nosdn|odl_l2)-(nofeature|bgpvpn)-ha scenario + # only run on os-(nosdn|odl_l2|onos|odl_l3)-nofeature-ha scenario + # run against SUT master branch, dovetail docker image with latest tag + # run against SUT danube branch, dovetail docker image with latest tag(odd days)and cvp.X.X.X tag(even days) - conditional-step: - condition-kind: regex-match - regex: os-(nosdn|odl_l2)-(nofeature|bgpvpn)-ha - label: '{scenario}' + condition-kind: and + condition-operands: + - condition-kind: regex-match + regex: danube + label: '{stream}' + - condition-kind: regex-match + regex: os-(nosdn|odl_l2|onos|odl_l3)-nofeature-ha + label: '{scenario}' + - condition-kind: day-of-week + day-selector: select-days + days: + MON: true + WED: true + FRI: true + SUN: true steps: - trigger-builds: - - project: 'dovetail-compass-{pod}-proposed_tests-{stream}' + - project: 'dovetail-compass-{pod}-proposed_tests-master' current-parameters: false predefined-parameters: DEPLOY_SCENARIO={scenario} @@ -180,6 +194,45 @@ build-step-failure-threshold: 'never' failure-threshold: 'never' unstable-threshold: 'FAILURE' + - conditional-step: + condition-kind: and + condition-operands: + - condition-kind: regex-match + regex: danube + label: '{stream}' + - condition-kind: regex-match + regex: os-(nosdn|odl_l2|onos|odl_l3)-nofeature-ha + label: '{scenario}' + - condition-kind: day-of-week + day-selector: select-days + days: + TUE: true + THU: true + SAT: true + steps: + - trigger-builds: + - project: 'dovetail-compass-{pod}-proposed_tests-danube' + current-parameters: false + predefined-parameters: + DEPLOY_SCENARIO={scenario} + block: true + same-node: true + block-thresholds: + build-step-failure-threshold: 'never' + failure-threshold: 'never' + unstable-threshold: 'FAILURE' + - conditional-step: + condition-kind: and + condition-operands: + - condition-kind: regex-match + regex: os-(nosdn|odl_l2)-(nofeature|bgpvpn)-ha + label: '{scenario}' + - condition-kind: regex-match + regex: master + label: '{stream}' + steps: + - trigger-builds: + - project: 'dovetail-compass-{pod}-proposed_tests-master' - job-template: name: 'compass-deploy-{pod}-daily-{stream}' diff --git a/jjb/dovetail/dovetail-ci-jobs.yml b/jjb/dovetail/dovetail-ci-jobs.yml index 682948d8b..9fdce31f3 100644 --- a/jjb/dovetail/dovetail-ci-jobs.yml +++ b/jjb/dovetail/dovetail-ci-jobs.yml @@ -25,7 +25,7 @@ branch: 'stable/{stream}' dovetail-branch: master gs-pathname: '/{stream}' - docker-tag: 'latest' + docker-tag: 'cvp.0.1.0' #----------------------------------- # POD, PLATFORM, AND BRANCH MAPPING -- cgit 1.2.3-korg