summaryrefslogtreecommitdiffstats
path: root/rapidvm/dib/build-image.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-04-29Fix the qcow2 disk image contentLuc Provoost1-4/+11
When building the qcow2 image, we are not automatically getting the latest version of the samplevnf code. Since this might have to do with caches, a parameter with the workspace directory is now passed to disk-image-create using the --image-cache option. Also removed verify-image.sh since this is done using build-image.sh with the -v option. Change-Id: I661c543102258929bdfe53af6c6ea0ff72eab33d Signed-off-by: Luc Provoost <luc.provoost@intel.com>
2021-03-16build-image.sh is now taking parameters: -i -gLuc Provoost1-28/+29
The -i option is now specifying the appendix for the the image name. The name of the image will be rapid-<appendix>.qcow2. The -i option could then be used to specify 'latest' or 'stable'. The -g option specifies the google storage url where the qcow2 will be stored. The -v option is still existing in case we want to only verify the qcow2 image creation process. An example: buils-image.sh -g artifacts.opnfv.org/samplevnf/images -i latest -v Change-Id: Ie07a89eff029f4e9fd3e1f2ebff1eaea05c580a6 Signed-off-by: Luc Provoost <luc.provoost@intel.com>
2021-02-19qcow2 image file name to include GIT_BRANCHLuc Provoost1-30/+20
The qcow2 file name is now constructed as a combination of rapid-${GIT_BRANCH##*}.qcow2 The image is built and copied every time the job is triggered. In this way we will overwrite rapid-latest.qcow2. Change-Id: I9f9c255dc5207a7595aa9e49ae57bd50b42c4d3b Signed-off-by: Luc Provoost <luc.provoost@intel.com>
2021-02-18Using disk image builder to create rapid VMLuc Provoost1-0/+101
All files are now availavle to build a qcow2 image using disk image builder. This image is based on centos 7. DPDK and PROX are installed together with some optimizations. Change-Id: I61aa91206ea7f8b3b6a3ff7d490d1804e7e784c8 Signed-off-by: Luc Provoost <luc.provoost@intel.com>