From: ahothan Date: Fri, 31 May 2019 22:56:48 +0000 (-0700) Subject: Adjust nfvbench build verification X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=2386284a84aa6e5eb7d04fb6ccee5fa115dedbb5 Adjust nfvbench build verification 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 --- diff --git a/jjb/nfvbench/nfvbench.yaml b/jjb/nfvbench/nfvbench.yaml index ec6776f81..a9efb272a 100644 --- a/jjb/nfvbench/nfvbench.yaml +++ b/jjb/nfvbench/nfvbench.yaml @@ -44,8 +44,7 @@ - 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}' @@ -96,3 +95,5 @@ builders: - shell: | cd $WORKSPACE && tox + cd $WORKSPACE/nfvbenchvm/dib + bash verify-image.sh -v