diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-01-07 11:10:38 +0100 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2016-01-07 13:16:16 +0100 |
commit | 62b0d5baa45d18fb8553aeb5cc2424764a4fac4a (patch) | |
tree | 291d774065921c41c5be8185425dc09b82e507d2 /jjb/joid | |
parent | 97396b21dd66a622dad5548c364159c973d82303 (diff) |
Enable joid Arno scenario for master and stable/brahmaputra
This patch proposes below changes:
- Run CI on intel-pod5 against stable/brahmaputra branch
- Run CI on intel-pod6 against master branch
- Configure functest against both branches on both PODs
- Enable yardstick against both branches on both PODs
- Comment out additional controllers until Arno scenario is verified
- Rename OPNFV_FEATURE to DEPLOY_SCENARIO
Please note that there are some duplications which need to be taken
care of in a separate patch.
Change-Id: Ic3deb77692cdb0908808fdb21098af77b937b831
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/joid')
-rw-r--r-- | jjb/joid/joid-ci-jobs.yml | 110 |
1 files changed, 75 insertions, 35 deletions
diff --git a/jjb/joid/joid-ci-jobs.yml b/jjb/joid/joid-ci-jobs.yml index af81aacb2..e939af8df 100644 --- a/jjb/joid/joid-ci-jobs.yml +++ b/jjb/joid/joid-ci-jobs.yml @@ -23,42 +23,30 @@ #-------------------------------- # POD, INSTALLER, AND BRANCH MAPPING #-------------------------------- -# Current Mapping -#-------------------------------- -# everything runs against master branch +# brahmaputra #-------------------------------- pod: - intel-pod5: - <<: *master - - orange-pod2: - <<: *master -#-------------------------------- -# Milestone E Mapping -# !!!DO NOT ENABLE!!! -#-------------------------------- -# brahmaputra -#-------------------------------- -# - intel-pod5: -# <<: *brahmaputra + <<: *brahmaputra #-------------------------------- # master #-------------------------------- -# - intel-pod6: -# <<: *master -# - orange-pod2: -# <<: *master + - intel-pod6: + <<: *master + - orange-pod2: + <<: *master #-------------------------------- - # please check the triggers before enabling any of the controllers!!! sdn-controller: - - 'nosdn': - disabled: true - 'odl': disabled: false - - 'onos': - disabled: true - - 'opencontrail': - disabled: true +# commented out below controllers to get Arno scenario settled first +# - 'nosdn': +# disabled: true +# - 'onos': +# disabled: true +# - 'opencontrail': +# disabled: true jobs: - 'joid-{sdn-controller}-{pod}-daily-{stream}' @@ -78,10 +66,10 @@ wrappers: - build-name: - name: '$BUILD_NUMBER - SDN: $SDN_CONTROLLER Feature: $OPNFV_FEATURE' + name: '$BUILD_NUMBER - SDN: $SDN_CONTROLLER Scenario: $DEPLOY_SCENARIO' triggers: - - 'joid-{pod}-trigger' + - 'joid-{pod}-{sdn-controller}-trigger' parameters: - project-parameter: @@ -92,7 +80,7 @@ name: SDN_CONTROLLER default: '{sdn-controller}' - string: - name: OPNFV_FEATURE + name: DEPLOY_SCENARIO default: 'none' scm: @@ -115,7 +103,7 @@ wrappers: - build-name: - name: '$BUILD_NUMBER - SDN: $SDN_CONTROLLER Feature: $OPNFV_FEATURE' + name: '$BUILD_NUMBER - SDN: $SDN_CONTROLLER Scenario: $DEPLOY_SCENARIO' parameters: - project-parameter: @@ -155,6 +143,40 @@ - name: 'functest-joid-{pod}-daily-{stream}' current-parameters: true kill-phase-on: NEVER + - multijob: + name: yardstick + condition: COMPLETED + projects: + - name: 'yardstick-joid-{pod}-daily-{stream}' + current-parameters: true + kill-phase-on: NEVER +# intel-pod6 is CI POD so full CI will run on it +# deploy, functest, yardstick +- builder: + name: joid-multijob-intel-pod6-builder + builders: + - multijob: + name: deploy + condition: SUCCESSFUL + projects: + - name: 'joid-deploy-{pod}-daily-{stream}' + current-parameters: true + git-revision: true + kill-phase-on: FAILURE + - multijob: + name: functest + condition: COMPLETED + projects: + - name: 'functest-joid-{pod}-daily-{stream}' + current-parameters: true + kill-phase-on: NEVER + - multijob: + name: yardstick + condition: COMPLETED + projects: + - name: 'yardstick-joid-{pod}-daily-{stream}' + current-parameters: true + kill-phase-on: NEVER # yardstick placeholder # - multijob: # name: yardstick @@ -193,7 +215,6 @@ - shell: | #!/bin/bash echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER" - echo "Please note that this is a quick try to see how joid deployment works" echo echo "Executing clean.sh" cd $WORKSPACE/ci @@ -206,6 +227,23 @@ ./deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod5 - builder: + name: intel-pod6-builder + builders: + - shell: | + #!/bin/bash + echo "Running $INSTALLER_TYPE with controller $SDN_CONTROLLER" + echo + echo "Executing clean.sh" + cd $WORKSPACE/ci + ./clean.sh + echo + echo "Executing 02-maasdeploy.sh intelpod6" + ./02-maasdeploy.sh intelpod6 + echo + echo "Executing deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod6" + ./deploy.sh -o liberty -s $SDN_CONTROLLER -t ha -l intelpod6 + +- builder: name: orange-pod2-builder builders: - shell: | @@ -222,12 +260,14 @@ # trigger macros ######################## - trigger: - name: 'joid-intel-pod5-trigger' + name: 'joid-intel-pod5-odl-trigger' + triggers: + - timed: '0 3 * * *' +- trigger: + name: 'joid-intel-pod6-odl-trigger' triggers: - timed: '0 3 * * *' -# timer trigger is commented out since we do not know if the automatic runs should -# be enabled on orange-pod2 - trigger: - name: 'joid-orange-pod2-trigger' + name: 'joid-orange-pod2-odl-trigger' triggers: - - timed: '#0 3 * * *' + - timed: '' |