description: 'Run VPP functional tests on VIRL.'
jobs:
- - 'csit-vpp-functional-hw-tb2'
+ - 'csit-vpp-perf-hw-{type}'
- 'csit-vpp-functional-virl'
- 'csit-vpp-functional-nodepool'
- 'csit-vpp-master-verify-weekly'
project: 'csit'
branch: 'master'
-
+ type:
+ - all
- job-template:
name: 'csit-vpp-functional-virl'
output-path: ''
- job-template:
- name: 'csit-vpp-functional-hw-tb2'
+ name: 'csit-vpp-perf-hw-{type}'
project-type: freestyle
node: verify
project: '{project}'
- gerrit-parameter:
branch: '{branch}'
+ - type-parameter:
+ type: '{type}'
scm:
- gerrit-trigger-scm:
- gerrit-trigger-manually-triggered:
name: '{project}'
branch: '{branch}'
- comment-trigger-value: 'hw-perf-check'
+ comment-trigger-value: 'verify-perf-{type}'
builders:
- shell:
- !include-raw-escape jjb/csit/include-raw-csit-vpp-functional-hw-tb2.sh
+ !include-raw-escape jjb/csit/include-raw-csit-vpp-perf-hw.sh
publishers:
- archive-artifacts:
message: "Verified CSIT version for VPP testing"
create-tag: true
update-tag: true
+
+- parameter:
+ name: test-type-parameter
+
+ parameters:
+ - string:
+ name: TYPE
+ default: '{type}'
+ description: "Test TYPE parameter if not given by trigger"
+++ /dev/null
-#!/bin/bash
-
-# execute csit bootstrap script if it exists
-if [ -e bootstrap-hw-tb2.sh ]
-then
- # make sure that bootstrap.sh is executable
- chmod +x bootstrap-hw-tb2.sh
- # run the script
- ./bootstrap-hw-tb2.sh
-else
- echo 'ERROR: No bootstrap-hw-tb2.sh found'
- exit 1
-fi
-
-# vim: ts=4 ts=4 sts=4 et :
--- /dev/null
+#!/bin/bash
+
+export TEST_TAG="PERFTEST_${TYPE^^}"
+
+# execute csit bootstrap script if it exists
+if [ ! -e bootstrap-hw-tb2.sh ]
+then
+ echo 'ERROR: No bootstrap-hw-tb2.sh found'
+ exit 1
+fi
+
+# make sure that bootstrap-verify-perf.sh is executable
+chmod +x bootstrap-hw-tb2.sh
+# run the script
+./bootstrap-hw-tb2.sh
+
+# vim: ts=4 ts=4 sts=4 et :