summaryrefslogtreecommitdiffstats
path: root/jjb/compass4nfv
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/compass4nfv')
-rw-r--r--jjb/compass4nfv/compass-ci-jobs.yml109
-rw-r--r--jjb/compass4nfv/compass-deploy.sh11
-rw-r--r--jjb/compass4nfv/compass-project-jobs.yml17
3 files changed, 100 insertions, 37 deletions
diff --git a/jjb/compass4nfv/compass-ci-jobs.yml b/jjb/compass4nfv/compass-ci-jobs.yml
index ce9193cb5..40f5445dd 100644
--- a/jjb/compass4nfv/compass-ci-jobs.yml
+++ b/jjb/compass4nfv/compass-ci-jobs.yml
@@ -34,7 +34,8 @@
- huawei-pod2:
os-version: 'centos7'
<<: *master
- - intel-pod8:
+# - intel-pod8:
+ - huawei-pod1:
os-version: 'trusty'
<<: *master
- huawei-virtual:
@@ -44,19 +45,19 @@
scenario:
- 'os-nosdn-nofeature-ha':
disabled: false
- auto-trigger-name: 'compass-{scenario}-{pod}-trigger'
+ auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
- 'os-odl_l2-nofeature-ha':
disabled: false
- auto-trigger-name: 'compass-{scenario}-{pod}-trigger'
+ auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
- 'os-odl_l3-nofeature-ha':
disabled: false
- auto-trigger-name: 'compass-{scenario}-{pod}-trigger'
+ auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
- 'os-onos-nofeature-ha':
disabled: false
- auto-trigger-name: 'compass-{scenario}-{pod}-trigger'
+ auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
- 'os-ocl-nofeature-ha':
disabled: false
- auto-trigger-name: 'compass-{scenario}-{pod}-trigger'
+ auto-trigger-name: 'compass-{scenario}-{pod}-{stream}-trigger'
jobs:
- 'compass-{scenario}-{pod}-daily-{stream}'
@@ -213,82 +214,126 @@
# trigger macros
########################
- trigger:
- name: 'compass-os-nosdn-nofeature-ha-huawei-pod2-trigger'
+ name: 'compass-os-nosdn-nofeature-ha-huawei-pod2-master-trigger'
triggers:
- timed: '0 3 * * *'
- trigger:
- name: 'compass-os-odl_l2-nofeature-ha-huawei-pod2-trigger'
+ name: 'compass-os-odl_l2-nofeature-ha-huawei-pod2-master-trigger'
triggers:
- timed: '0 21 * * *'
- trigger:
- name: 'compass-os-odl_l3-nofeature-ha-huawei-pod2-trigger'
+ name: 'compass-os-odl_l3-nofeature-ha-huawei-pod2-master-trigger'
triggers:
- timed: ''
- trigger:
- name: 'compass-os-onos-nofeature-ha-huawei-pod2-trigger'
+ name: 'compass-os-onos-nofeature-ha-huawei-pod2-master-trigger'
triggers:
- timed: '0 15 * * *'
- trigger:
- name: 'compass-os-ocl-nofeature-ha-huawei-pod2-trigger'
+ name: 'compass-os-ocl-nofeature-ha-huawei-pod2-master-trigger'
triggers:
- - timed: '0 9 * * *'
+ - timed: ''
+
- trigger:
- name: 'compass-os-nosdn-nofeature-ha-huawei-pod1-trigger'
+ name: 'compass-os-nosdn-nofeature-ha-huawei-pod1-master-trigger'
triggers:
- - timed: '0 3 * * * '
+ - timed: '0 3 * * *'
- trigger:
- name: 'compass-os-odl_l2-nofeature-ha-huawei-pod1-trigger'
+ name: 'compass-os-odl_l2-nofeature-ha-huawei-pod1-master-trigger'
triggers:
- timed: '0 21 * * *'
- trigger:
- name: 'compass-os-odl_l3-nofeature-ha-huawei-pod1-trigger'
+ name: 'compass-os-odl_l3-nofeature-ha-huawei-pod1-master-trigger'
triggers:
- timed: ''
- trigger:
- name: 'compass-os-onos-nofeature-ha-huawei-pod1-trigger'
+ name: 'compass-os-onos-nofeature-ha-huawei-pod1-master-trigger'
triggers:
- timed: '0 15 * * *'
- trigger:
- name: 'compass-os-ocl-nofeature-ha-huawei-pod1-trigger'
+ name: 'compass-os-ocl-nofeature-ha-huawei-pod1-master-trigger'
triggers:
- timed: '0 9 * * *'
+
- trigger:
- name: 'compass-os-nosdn-nofeature-ha-intel-pod8-trigger'
+ name: 'compass-os-nosdn-nofeature-ha-huawei-pod1-brahmaputra-trigger'
triggers:
- - timed: '0 3 * * *'
+ - timed: ''
- trigger:
- name: 'compass-os-odl_l2-nofeature-ha-intel-pod8-trigger'
+ name: 'compass-os-odl_l2-nofeature-ha-huawei-pod1-brahmaputra-trigger'
triggers:
- - timed: '0 21 * * *'
+ - timed: ''
- trigger:
- name: 'compass-os-odl_l3-nofeature-ha-intel-pod8-trigger'
+ name: 'compass-os-odl_l3-nofeature-ha-huawei-pod1-brahmaputra-trigger'
triggers:
- timed: ''
- trigger:
- name: 'compass-os-onos-nofeature-ha-intel-pod8-trigger'
+ name: 'compass-os-onos-nofeature-ha-huawei-pod1-brahmaputra-trigger'
triggers:
- - timed: '0 15 * * *'
+ - timed: ''
- trigger:
- name: 'compass-os-ocl-nofeature-ha-intel-pod8-trigger'
+ name: 'compass-os-ocl-nofeature-ha-huawei-pod1-brahmaputra-trigger'
triggers:
- - timed: '0 9 * * *'
+ - timed: ''
+
+- trigger:
+ name: 'compass-os-nosdn-nofeature-ha-intel-pod8-master-trigger'
+ triggers:
+ - timed: ''
+- trigger:
+ name: 'compass-os-odl_l2-nofeature-ha-intel-pod8-master-trigger'
+ triggers:
+ - timed: ''
+- trigger:
+ name: 'compass-os-odl_l3-nofeature-ha-intel-pod8-master-trigger'
+ triggers:
+ - timed: ''
+- trigger:
+ name: 'compass-os-onos-nofeature-ha-intel-pod8-master-trigger'
+ triggers:
+ - timed: ''
+- trigger:
+ name: 'compass-os-ocl-nofeature-ha-intel-pod8-master-trigger'
+ triggers:
+ - timed: ''
+
- trigger:
- name: 'compass-os-nosdn-nofeature-ha-huawei-virtual-trigger'
+ name: 'compass-os-nosdn-nofeature-ha-huawei-virtual-master-trigger'
triggers:
- timed: '0 3 * * *'
- trigger:
- name: 'compass-os-odl_l2-nofeature-ha-huawei-virtual-trigger'
+ name: 'compass-os-odl_l2-nofeature-ha-huawei-virtual-master-trigger'
triggers:
- timed: '0 21 * * *'
- trigger:
- name: 'compass-os-odl_l3-nofeature-ha-huawei-virtual-trigger'
+ name: 'compass-os-odl_l3-nofeature-ha-huawei-virtual-master-trigger'
triggers:
- timed: ''
- trigger:
- name: 'compass-os-onos-nofeature-ha-huawei-virtual-trigger'
+ name: 'compass-os-onos-nofeature-ha-huawei-virtual-master-trigger'
triggers:
- timed: '0 15 * * *'
- trigger:
- name: 'compass-os-ocl-nofeature-ha-huawei-virtual-trigger'
+ name: 'compass-os-ocl-nofeature-ha-huawei-virtual-master-trigger'
triggers:
- timed: '0 9 * * *'
+- trigger:
+ name: 'compass-os-nosdn-nofeature-ha-huawei-virtual-brahmaputra-trigger'
+ triggers:
+ - timed: ''
+- trigger:
+ name: 'compass-os-odl_l2-nofeature-ha-huawei-virtual-brahmaputra-trigger'
+ triggers:
+ - timed: ''
+- trigger:
+ name: 'compass-os-odl_l3-nofeature-ha-huawei-virtual-brahmaputra-trigger'
+ triggers:
+ - timed: ''
+- trigger:
+ name: 'compass-os-onos-nofeature-ha-huawei-virtual-brahmaputra-trigger'
+ triggers:
+ - timed: ''
+- trigger:
+ name: 'compass-os-ocl-nofeature-ha-huawei-virtual-brahmaputra-trigger'
+ triggers:
+ - timed: ''
diff --git a/jjb/compass4nfv/compass-deploy.sh b/jjb/compass4nfv/compass-deploy.sh
index 790d43b87..7d09d5311 100644
--- a/jjb/compass4nfv/compass-deploy.sh
+++ b/jjb/compass4nfv/compass-deploy.sh
@@ -24,12 +24,19 @@ echo 1 > /proc/sys/vm/drop_caches
export CONFDIR=$WORKSPACE/deploy/conf
export ISO_URL=file://$BUILD_DIRECTORY/compass.iso
+
+if [[ "${DEPLOY_SCENARIO}" =~ "-ocl" ]]; then
+ export NETWORK_CONF_FILE=network_ocl.yml
+else
+ export NETWORK_CONF_FILE=network.yml
+fi
+
if [[ "$NODE_NAME" =~ "-virtual" ]]; then
- export NETWORK_CONF=$CONFDIR/vm_environment/$NODE_NAME/network.yml
+ export NETWORK_CONF=$CONFDIR/vm_environment/$NODE_NAME/${NETWORK_CONF_FILE}
export DHA_CONF=$CONFDIR/vm_environment/${DEPLOY_SCENARIO}.yml
else
export INSTALL_NIC=eth1
- export NETWORK_CONF=$CONFDIR/hardware_environment/$NODE_NAME/network.yml
+ export NETWORK_CONF=$CONFDIR/hardware_environment/$NODE_NAME/${NETWORK_CONF_FILE}
export DHA_CONF=$CONFDIR/hardware_environment/$NODE_NAME/${DEPLOY_SCENARIO}.yml
fi
diff --git a/jjb/compass4nfv/compass-project-jobs.yml b/jjb/compass4nfv/compass-project-jobs.yml
index 4898b8726..920923a34 100644
--- a/jjb/compass4nfv/compass-project-jobs.yml
+++ b/jjb/compass4nfv/compass-project-jobs.yml
@@ -6,13 +6,13 @@
project: 'compass4nfv'
+ pod: 'huawei-virtual'
+
stream:
- master:
- slave_name: 'huawei-virtual1'
branch: '{stream}'
gs-pathname: ''
- brahmaputra:
- slave_name: 'huawei-virtual2'
branch: 'stable/{stream}'
gs-pathname: '/{stream}'
@@ -58,8 +58,8 @@
- compass-project-parameter:
installer: '{installer}'
gs-pathname: '{gs-pathname}'
- - 'huawei-virtual-defaults'
- '{installer}-defaults'
+ - '{pod}-defaults'
- string:
name: DEPLOY_SCENARIO
default: 'os-nosdn-nofeature-ha'
@@ -95,6 +95,17 @@
current-parameters: true
same-node: true
block: true
+ - trigger-builds:
+ - project: 'functest-compass-{pod}-suite-{stream}'
+ current-parameters: true
+ predefined-parameters:
+ FUNCTEST_SUITE_NAME=vping_userdata
+ same-node: true
+ block: true
+ block-thresholds:
+ build-step-failure-threshold: 'never'
+ failure-threshold: 'never'
+ unstable-threshold: 'FAILURE'
- job-template:
name: 'compass-verify-deploy-{stream}'