For OVP Web development, currently the source code is included in Dovetail repo. The github link is https://github.com/opnfv/dovetail/tree/master/cvp.
The web portal is composed by 3 different Docker containers and the corresponding Docker images are,
- opnfv/testapi:cvp.0.3.0
- opnfv/dovetail:web.ovp.1.1.0
- opnfv/dovetail:api.ovp.1.1.0
The first testapi Docker image is a basic image and has no relationship with Dovetail repo. So in order to update the web, it only needs to update the last 2 Docker images.
Here using Dovetail Docker hub for these 2 Docker images and distinguish them with different image tags. These 2 images need to be rebuilt manually when there are new patched merged. Also the Dovetail docker build job can be used to build them with a little modifications.
- The link of Dovetail Docker build job is https://build.opnfv.org/ci/view/dovetail/job/dovetail-docker-build-push-master/
- Your account needs to have the privilege to build the Jenkins jobs manually
- Click 'Build with Parameters'
- Change 'DOCKER_DIR', 'COMMIT_ID', 'GERRIT_REFNAME' and 'DOCKERFILE'
- For opnfv/dovetail:web.ovp.1.1.0
- DOCKER_DIR: cvp/docker
- COMMIT_ID: one commit id that merged no earlier than the OVP web patch
- GERRIT_REFNAME: the tag name you want to tag the Docker image (e.g. web.ovp.1.1.0)
- DOCKERFILE: Dockerfile.web
- For opnfv/dovetail:api.ovp.1.1.0
- DOCKER_DIR: cvp/docker
- COMMIT_ID: one commit id that merged no earlier than the OVP web patch
- GERRIT_REFNAME: the tag name you want to tag the Docker image (e.g. ovp.1.1.0)
- DOCKERFILE: Dockerfile
After the Docker images have been pushed to Dovetail Docker hub, contact Trevor Bramwell to use the new Docker images to update the Web.