summaryrefslogtreecommitdiffstats
path: root/jjb/qtip/qtip-validate-jobs.yml
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2017-03-21 15:44:16 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2017-03-21 18:45:17 +0800
commit325f0012af3b439ab8d124d89641f80a26598edb (patch)
tree94901e41706c251869616af3b7bc2bd70855f042 /jjb/qtip/qtip-validate-jobs.yml
parentd53435ee9d5b06fa9689123cf5116c7e1513a805 (diff)
[qtip]refactor validate job
- only keep the builder "qtip-validate-deploy", remove the others - add scenario info in qtip-validate-jobs.yaml - add some print info in validate-deploy.sh - a related modification in fuel jjb file Change-Id: Iff884f273eea5c6aac64e09cfffcedc7481b47e9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'jjb/qtip/qtip-validate-jobs.yml')
-rw-r--r--jjb/qtip/qtip-validate-jobs.yml62
1 files changed, 23 insertions, 39 deletions
diff --git a/jjb/qtip/qtip-validate-jobs.yml b/jjb/qtip/qtip-validate-jobs.yml
index 80b08e6a3..413abf012 100644
--- a/jjb/qtip/qtip-validate-jobs.yml
+++ b/jjb/qtip/qtip-validate-jobs.yml
@@ -25,38 +25,36 @@
pod:
- zte-pod1:
installer: fuel
+ scenario: os-odl_l2-nofeature-ha
<<: *master
- zte-pod3:
installer: fuel
+ scenario: os-nosdn-kvm-ha
<<: *master
- zte-pod1:
installer: fuel
+ scenario: os-odl_l2-nofeature-ha
<<: *danube
- zte-pod3:
installer: fuel
+ scenario: os-nosdn-nofeature-ha
+ <<: *danube
+ - zte-pod3:
+ installer: fuel
+ scenario: os-nosdn-kvm-ha
<<: *danube
- task:
- - daily:
- auto-builder-name: qtip-validate-deploy
- auto-trigger-name: 'qtip-{pod}-daily-{stream}-trigger'
- - validate:
- auto-builder-name: qtip-validate-setup
- auto-trigger-name: gerrit-trigger-change-merged
- - experimental:
- auto-builder-name: qtip-validate-setup
- auto-trigger-name: experimental
#--------------------------------
# JOB LIST
#--------------------------------
jobs:
- - 'qtip-{task}-{installer}-{pod}-{stream}'
+ - 'qtip-{scenario}-{pod}-daily-{stream}'
################################
# job templates
################################
- job-template:
- name: 'qtip-{task}-{installer}-{pod}-{stream}'
+ name: 'qtip-{scenario}-{pod}-daily-{stream}'
disabled: false
parameters:
- project-parameter:
@@ -66,7 +64,7 @@
- '{pod}-defaults'
- string:
name: DEPLOY_SCENARIO
- default: 'os-nosdn-nofeature-ha'
+ default: '{scenario}'
- string:
name: DOCKER_TAG
default: '{docker-tag}'
@@ -78,10 +76,11 @@
scm:
- git-scm
triggers:
- - '{auto-trigger-name}'
+ - 'qtip-{scenario}-{pod}-daily-{stream}-trigger'
builders:
- - qtip-common-builders
- - '{auto-builder-name}'
+ - description-setter:
+ description: "POD: $NODE_NAME"
+ - qtip-validate-deploy
publishers:
- qtip-common-publishers
@@ -93,12 +92,6 @@
# builder
#---------
- builder:
- name: qtip-common-builders
- builders:
- - description-setter:
- description: "POD: $NODE_NAME"
-
-- builder:
name: qtip-validate-deploy
builders:
- shell:
@@ -106,12 +99,6 @@
- shell:
!include-raw: ./helpers/cleanup-deploy.sh
-- builder:
- name: qtip-validate-setup
- builders:
- - shell:
- !include-raw: ./helpers/validate-setup.sh
-
#-----------
# parameter
#-----------
@@ -131,29 +118,26 @@
#---------
- trigger:
- name: 'qtip-zte-pod1-daily-master-trigger'
+ name: 'qtip-os-odl_l2-nofeature-ha-zte-pod1-daily-master-trigger'
triggers:
- - timed: '30 0 * * *'
+ - timed: '0 15 * * *'
- trigger:
- name: 'qtip-zte-pod3-daily-master-trigger'
+ name: 'qtip-os-nosdn-kvm-ha-zte-pod3-daily-master-trigger'
triggers:
- - timed: '30 0 * * *'
+ - timed: '0 15 * * *'
- trigger:
- name: 'qtip-zte-pod1-daily-danube-trigger'
+ name: 'qtip-os-odl_l2-nofeature-ha-zte-pod1-daily-danube-trigger'
triggers:
- timed: '0 7 * * *'
- trigger:
- name: 'qtip-zte-pod3-daily-danube-trigger'
+ name: 'qtip-os-nosdn-kvm-ha-zte-pod3-daily-danube-trigger'
triggers:
- timed: '0 7 * * *'
- trigger:
- name: qtip-validate-trigger
+ name: 'qtip-os-nosdn-nofeature-ha-zte-pod3-daily-danube-trigger'
triggers:
- - gerrit-trigger-change-merged:
- project: '{project}'
- branch: '{branch}'
- files: '**'
+ - timed: '30 0 * * *'