diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-04-20 15:47:32 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-04-20 15:48:18 +0200 |
commit | 8ee579feffbf86df5ee1643775ce28673f7ffdbc (patch) | |
tree | 8f1596b17f4884eb1a43bdaf29c8251cf1e86285 | |
parent | 7a49a2c3c2c789204055a2f0175cf42985d75eac (diff) |
CSIT-554: Performance jobs reorganisation, part 4
Add:
- vpp-csit-verify-hw-perf
Change-Id: I02fc853f7c8c452c3ac48c3b2ff8618b9cd5b7e1
Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r-- | jjb/vpp/include-raw-vpp-csit-verify-perf.sh | 5 | ||||
-rw-r--r-- | jjb/vpp/vpp.yaml | 41 |
2 files changed, 33 insertions, 13 deletions
diff --git a/jjb/vpp/include-raw-vpp-csit-verify-perf.sh b/jjb/vpp/include-raw-vpp-csit-verify-perf.sh index 965ded9bd..b601137b0 100644 --- a/jjb/vpp/include-raw-vpp-csit-verify-perf.sh +++ b/jjb/vpp/include-raw-vpp-csit-verify-perf.sh @@ -1,7 +1,10 @@ #!/bin/bash set -xeu -o pipefail -export TEST_TAG="PERFTEST_${TYPE^^}" +TRIGGER=`echo ${GERRIT_EVENT_COMMENT_TEXT} \ + | grep -oE 'vpp-verify-perf-(l2|ip4|ip6|lisp|vxlan|vhost)' \ + | awk '{print toupper($0)}'` +export TEST_TAG=${TRIGGER} # Get CSIT branch from which to test from # running build-root/scripts/csit-test-branch diff --git a/jjb/vpp/vpp.yaml b/jjb/vpp/vpp.yaml index 0f72442e8..ff3915181 100644 --- a/jjb/vpp/vpp.yaml +++ b/jjb/vpp/vpp.yaml @@ -45,7 +45,7 @@ name: vpp-misc jobs: - 'vpp-csit-verify-virl-{stream}' - - 'vpp-csit-verify-hw-perf-{stream}-{type}' + - 'vpp-csit-verify-hw-perf-{stream}' project: 'vpp' stream: - master: @@ -67,10 +67,7 @@ branch: 'stable/1704' repo-stream-part: 'stable.1704' os: ubuntu1604 - type: - - all - - short - - long + - job-template: name: 'vpp-verify-{stream}-{os}' @@ -336,7 +333,7 @@ maven-version: 'mvn33-new' - job-template: - name: 'vpp-csit-verify-hw-perf-{stream}-{type}' + name: 'vpp-csit-verify-hw-perf-{stream}' project-type: freestyle node: '{os}-basebuild-4c-4g' @@ -357,8 +354,6 @@ os: '{os}' - repo-name-parameter: repo-name: '{repo-stream-part}.ubuntu.xenial.main' - - type-parameter: - type: '{type}' - is-csit-vpp-job-parameter: is-csit-vpp-job: 'True' @@ -373,10 +368,32 @@ build-timeout: 30 triggers: - - gerrit-trigger-manually-triggered: - comment-trigger-value: 'verify-perf-{type}' - name: '{project}' - branch: '{branch}' + - gerrit: + server-name: 'Primary' + trigger-on: + - comment-added-contains-event: + comment-contains-value: 'vpp-verify-perf-l2' + - comment-added-contains-event: + comment-contains-value: 'vpp-verify-perf-ip4' + - comment-added-contains-event: + comment-contains-value: 'vpp-verify-perf-ip6' + - comment-added-contains-event: + comment-contains-value: 'vpp-verify-perf-lisp' + - comment-added-contains-event: + comment-contains-value: 'vpp-verify-perf-vxlan' + - comment-added-contains-event: + comment-contains-value: 'vpp-verify-perf-vhost' + projects: + - project-compare-type: 'ANT' + project-pattern: '{project}' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**/{branch}' + skip-vote: + successful: false + failed: false + unstable: false + notbuilt: false builders: - shell: |