This tag controls the version of the Dockerfile used for building the container.
The TRex version is controlled by the TREX_VER variable in Dockerfile (e.g. ENV TREX_VER "v2.56").
-TRex is installed in container from https://trex-tgn.cisco.com/trex/release/
+TRex is installed in container from https://github.com/cisco-system-traffic-generator/trex-core/releases
The Test VM version is controlled by the VM_IMAGE_VER variable in Dockerfile (e.g. ENV VM_IMAGE_VER "0.8").
The VM is extracted from google storage (http://artifacts.opnfv.org)
Building and uploading the VM image
-----------------------------------
-The VM image is built and uploaded to Google storage from the CI/CD whenever the
-commit text of a gerrit review contains the word "buildvm".
+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.
VM code has changed:
- update VM version in the 2 locations
-- commit VM changes with gerrit and add "buildvm" in your commit message to trigger VM build and publish to google storage
+- commit VM changes with gerrit to trigger VM build and publication to google storage
+- IMPORTANT! wait for the VM image to be pushed to google storage before going to the next step
+ (otherwise the container build will fail as it will not find the VM image)
- apply a new semver tag to trigger the container image build/publication
To increase the TRex version: