summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-07-11 11:06:59 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2017-07-11 13:53:07 +0800
commite51200374bfcb91d87c01e991c62f3ac9bb4d4ef (patch)
treebe71c4cf1dcff952feb543775041755894f41f64
parentb70dfceea708abb23a5a66ffe0b8c547e111975f (diff)
[QTIP]Change QTIP danube daily jobs to weekly jobs
Change-Id: I5e9ee5bf45f4f349dc178ce7062610469c8de008 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
-rw-r--r--jjb/qtip/qtip-validate-jobs.yml32
-rw-r--r--jjb/qtip/qtip-weekly-jobs.yml107
2 files changed, 107 insertions, 32 deletions
diff --git a/jjb/qtip/qtip-validate-jobs.yml b/jjb/qtip/qtip-validate-jobs.yml
index 8dd97de1d..9f1ccecaf 100644
--- a/jjb/qtip/qtip-validate-jobs.yml
+++ b/jjb/qtip/qtip-validate-jobs.yml
@@ -13,11 +13,6 @@
branch: '{stream}'
gs-pathname: ''
docker-tag: latest
- danube: &danube
- stream: danube
- branch: 'stable/{stream}'
- gs-pathname: '/{stream}'
- docker-tag: 'stable'
#--------------------------------
# JOB VARIABLES
@@ -31,18 +26,6 @@
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
#--------------------------------
# JOB LIST
@@ -127,18 +110,3 @@
name: 'qtip-os-nosdn-kvm-ha-zte-pod3-daily-master-trigger'
triggers:
- timed: '0 15 * * *'
-
-- trigger:
- name: 'qtip-os-odl_l2-nofeature-ha-zte-pod1-daily-danube-trigger'
- triggers:
- - timed: '0 7 * * *'
-
-- trigger:
- name: 'qtip-os-nosdn-kvm-ha-zte-pod3-daily-danube-trigger'
- triggers:
- - timed: '0 7 * * *'
-
-- trigger:
- name: 'qtip-os-nosdn-nofeature-ha-zte-pod3-daily-danube-trigger'
- triggers:
- - timed: '30 0 * * *'
diff --git a/jjb/qtip/qtip-weekly-jobs.yml b/jjb/qtip/qtip-weekly-jobs.yml
new file mode 100644
index 000000000..2170de7b8
--- /dev/null
+++ b/jjb/qtip/qtip-weekly-jobs.yml
@@ -0,0 +1,107 @@
+#################
+# QTIP weekly job
+#################
+- project:
+ name: qtip-weekly
+ project: qtip
+
+#--------------------------------
+# BRANCH ANCHORS
+#--------------------------------
+ danube: &danube
+ stream: danube
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ docker-tag: 'stable'
+
+#--------------------------------
+# JOB VARIABLES
+#--------------------------------
+ pod:
+ - 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
+
+#--------------------------------
+# JOB LIST
+#--------------------------------
+ jobs:
+ - 'qtip-{scenario}-{pod}-weekly-{stream}'
+
+################################
+# job templates
+################################
+- job-template:
+ name: 'qtip-{scenario}-{pod}-weekly-{stream}'
+ disabled: false
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ branch: '{branch}'
+ - '{installer}-defaults'
+ - '{pod}-defaults'
+ - string:
+ name: DEPLOY_SCENARIO
+ default: '{scenario}'
+ - string:
+ name: DOCKER_TAG
+ default: '{docker-tag}'
+ description: 'Tag to pull docker image'
+ - string:
+ name: CI_DEBUG
+ default: 'false'
+ description: "Show debug output information"
+ scm:
+ - git-scm
+ triggers:
+ - 'qtip-{scenario}-{pod}-weekly-{stream}-trigger'
+ builders:
+ - description-setter:
+ description: "POD: $NODE_NAME"
+ - qtip-validate-deploy-weekly
+ publishers:
+ - email:
+ recipients: wu.zhihui1@zte.com.cn, zhang.yujunz@zte.com.cn
+
+################
+# MARCOS
+################
+
+#---------
+# builder
+#---------
+- builder:
+ name: qtip-validate-deploy-weekly
+ builders:
+ - shell:
+ !include-raw: ./helpers/cleanup-deploy.sh
+ - shell:
+ !include-raw: ./helpers/validate-deploy.sh
+
+#---------
+# trigger
+#---------
+
+- trigger:
+ name: 'qtip-os-odl_l2-nofeature-ha-zte-pod1-weekly-danube-trigger'
+ triggers:
+ - timed: '0 7 * * 0'
+
+- trigger:
+ name: 'qtip-os-nosdn-kvm-ha-zte-pod3-weekly-danube-trigger'
+ triggers:
+ - timed: '0 7 * * 0'
+
+- trigger:
+ name: 'qtip-os-nosdn-nofeature-ha-zte-pod3-weekly-danube-trigger'
+ triggers:
+ - timed: '30 0 * * 0'