summaryrefslogtreecommitdiffstats
path: root/nfvbenchvm/dib/verify-image.sh
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2019-05-31 15:06:39 -0700
committerahothan <ahothan@cisco.com>2019-06-08 08:15:57 -0700
commit14ef61de6946048e98ce74c911435faf25395b8c (patch)
tree34cee0672dfc0697a71753a26122f806d083d472 /nfvbenchvm/dib/verify-image.sh
parent4453818e3af2143e099a5f578c4a73b25abbfe58 (diff)
Update VM build3.4.0
build VM to adapt to new ci/cd workflow. The VM image is built on gerrit verify when the image is not present in google storage. It is not uploaded yet on google storage. The build + upload of the new VM image is done after the review is merged. For details on how this is done, refer to ./jjb/nfvbench/nfvbench.yaml in the opnfv releng repository. Change-Id: I147d4ee6d101e9f2a7cf55fadd637c7fc89467a0 Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbenchvm/dib/verify-image.sh')
-rw-r--r--nfvbenchvm/dib/verify-image.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/nfvbenchvm/dib/verify-image.sh b/nfvbenchvm/dib/verify-image.sh
new file mode 100644
index 0000000..0a2090d
--- /dev/null
+++ b/nfvbenchvm/dib/verify-image.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+#
+# A shell script to verify that a VM image is present in google storage
+# If not present in google storage, verify it is present locally
+# If not present locally, build it but do not uplaod to google storage
+
+bash build-image.sh -v