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?a=commitdiff_plain;h=refs%2Fchanges%2F82%2F67982%2F1;hp=7a5fddd061b4573d7e96ad7d6c49f456bb17e988;p=releng.git 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