Adjust nfvbench build verification 82/67982/1
authorahothan <ahothan@cisco.com>
Fri, 31 May 2019 22:56:48 +0000 (15:56 -0700)
committerahothan <ahothan@cisco.com>
Fri, 31 May 2019 22:56:48 +0000 (15:56 -0700)
on new patchset, add a script to build the VM is the versioned VM is not present in google storage

on merge, call the script to build the versioned VM and upload to google storage using gsutil
if the VM is not present in google storage

Change-Id: I540943289ed9f282c42f60ef4c644d025fe7768e
Signed-off-by: ahothan <ahothan@cisco.com>
jjb/nfvbench/nfvbench.yaml

index ec6776f..a9efb27 100644 (file)
@@ -44,8 +44,7 @@
       - gerrit:
           server-name: 'gerrit.opnfv.org'
           trigger-on:
       - gerrit:
           server-name: 'gerrit.opnfv.org'
           trigger-on:
-            - comment-added-contains-event:
-                comment-contains-value: 'buildvm'
+            - change-merged-event
           projects:
             - project-compare-type: 'ANT'
               project-pattern: '{project}'
           projects:
             - project-compare-type: 'ANT'
               project-pattern: '{project}'
@@ -96,3 +95,5 @@
     builders:
       - shell: |
           cd $WORKSPACE && tox
     builders:
       - shell: |
           cd $WORKSPACE && tox
+          cd $WORKSPACE/nfvbenchvm/dib
+          bash verify-image.sh -v