summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/yardstick')
-rw-r--r--jjb/yardstick/yardstick-ci-jobs.yml133
1 files changed, 127 insertions, 6 deletions
diff --git a/jjb/yardstick/yardstick-ci-jobs.yml b/jjb/yardstick/yardstick-ci-jobs.yml
index e07856c31..8899baf15 100644
--- a/jjb/yardstick/yardstick-ci-jobs.yml
+++ b/jjb/yardstick/yardstick-ci-jobs.yml
@@ -25,55 +25,93 @@
pod:
- opnfv-jump-1:
installer: apex
+ suite: daily
<<: *brahmaputra
- opnfv-jump-2:
installer: fuel
+ suite: daily
<<: *brahmaputra
- intel-pod5:
installer: joid
+ suite: daily
<<: *brahmaputra
- huawei-us-deploy-bare-1:
installer: compass
+ suite: daily
<<: *brahmaputra
- ericsson-pod1:
installer: fuel
+ suite: daily
+ <<: *brahmaputra
+ - virtual:
+ installer: fuel
+ suite: daily
+ <<: *brahmaputra
+ - virtual:
+ installer: compass
+ suite: daily
+ <<: *brahmaputra
+ - virtual:
+ installer: joid
+ suite: daily
<<: *brahmaputra
#--------------------------------
# master
#--------------------------------
- ericsson-pod1:
installer: fuel
+ suite: daily
+ <<: *master
+ - ericsson-pod1:
+ installer: fuel
+ suite: vtcdaily
<<: *master
- ericsson-pod2:
installer: fuel
+ suite: daily
<<: *master
- intel-pod6:
installer: joid
+ suite: daily
<<: *master
- intel-pod8:
installer: compass
+ suite: daily
<<: *master
- zte-build-1:
installer: fuel
+ suite: daily
<<: *master
- orange-pod2:
installer: joid
+ suite: daily
<<: *master
- opnfv-jump-1:
installer: apex
+ suite: daily
+ <<: *master
+ - virtual:
+ installer: fuel
+ suite: daily
+ <<: *master
+ - virtual:
+ installer: compass
+ suite: daily
+ <<: *master
+ - virtual:
+ installer: joid
+ suite: daily
<<: *master
#--------------------------------
- loop:
- - daily
jobs:
- - 'yardstick-{installer}-{pod}-{loop}-{stream}'
+ - 'yardstick-{installer}-{pod}-{suite}-{stream}'
################################
# job templates
################################
- job-template:
- name: 'yardstick-{installer}-{pod}-{loop}-{stream}'
+ name: 'yardstick-{installer}-{pod}-{suite}-{stream}'
disabled: false
@@ -81,6 +119,9 @@
- build-name:
name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
+ triggers:
+ - 'yardstick-{pod}-trigger'
+
parameters:
- project-parameter:
project: '{project}'
@@ -92,7 +133,7 @@
default: 'os-odl_l2-nofeature-ha'
- string:
name: YARDSTICK_SUITE_NAME
- default: opnfv_${{NODE_NAME}}_{loop}.yaml
+ default: opnfv_${{NODE_NAME}}_{suite}.yaml
description: 'Path to test suite'
- string:
name: CI_DEBUG
@@ -108,7 +149,7 @@
builders:
- 'yardstick-cleanup'
#- 'yardstick-fetch-os-creds'
- - 'yardstick-daily'
+ - 'yardstick-{suite}'
publishers:
- email:
@@ -163,6 +204,17 @@
echo "Yardstick: done!"
- builder:
+ name: yardstick-vtcdaily
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -e
+ [[ $CI_DEBUG == true ]] && redirect="/dev/stdout" || redirect="/dev/null"
+
+ cd $WORKSPACE
+ ./ci/apexlake-verify
+
+- builder:
name: yardstick-fetch-os-creds
builders:
- shell:
@@ -236,6 +288,7 @@
name: YARDSTICK_DB_BACKEND
default: '-i 10.118.36.90:8086'
description: 'Arguments to use in order to choose the backend DB'
+
- parameter:
name: 'yardstick-params-opnfv-jump-1'
parameters:
@@ -243,6 +296,7 @@
name: YARDSTICK_DB_BACKEND
default: '-r 213.77.62.197/results'
description: 'Arguments to use in order to choose the backend DB'
+
- parameter:
name: 'yardstick-params-opnfv-jump-2'
parameters:
@@ -274,3 +328,70 @@
name: YARDSTICK_DB_BACKEND
default: ''
description: 'Arguments to use in order to choose the backend DB'
+
+- parameter:
+ name: 'yardstick-params-virtual'
+ parameters:
+ - string:
+ name: YARDSTICK_DB_BACKEND
+ default: ''
+ description: 'Arguments to use in order to choose the backend DB'
+
+#######################
+## trigger macros
+#######################
+# trigger for PODs to only run yardstick test suites
+- trigger:
+ name: 'yardstick-zte-build-1-trigger'
+ triggers:
+ - timed: '0 2 * * *'
+
+- trigger:
+ name: 'yardstick-intel-pod5-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-intel-pod6-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-intel-pod8-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-ericsson-pod1-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-ericsson-pod2-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-opnfv-jump-1-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-opnfv-jump-2-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-huawei-us-deploy-bare-1-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-orange-pod2-trigger'
+ triggers:
+ - timed: ''
+
+- trigger:
+ name: 'yardstick-virtual-trigger'
+ triggers:
+ - timed: ''