Steps
Project Specific
- Best-Practice: Have a separate docker folder in a suitable location within the project's directory structure.
For VinePerf it is: tools/docker
- Best-Practice: Within this docker folder, have a dedicate folder for each and every container that you plan to publish.
- In VinePerf for Prox container, the path is: tools/docker/test-containers/trafficgen-pods/prox
- In each container folder, ensure you have:
- Dockerfile, that is well tested.
- Source files that are referred in the Dockerfile, which is present in this folder' with ADD/COPY commands
Releng Specific
- Download releng repo in order to submit a patch. git clone https://gerrit.opnfv.org/gerrit/releng
- Best Practice: Create a separate branch: cd releng; git checkout -b vineperfcontainers
- Open and Edit this file: https://github.com/opnfv/releng/blob/master/jjb/releng/opnfv-docker.yaml
- Setup receiver under existing receivers. See Change-1 below.
- Add your container description under dockerrepo. Please prefix the name of the container with the project name. Seel Change-2 below for example
- git add; git commit (Add description); git review.
- Add reviewers - Trevor Bramwell, ....
Change-1:
vineperf-receivers: &vineperf-receivers
receivers: >
sridhar.rao@spirent.com
Change-2:
- 'vineperf-prox':
project: 'vineperf'
dockerdir: 'tools/docker/test-containers/trafficgen-pods/prox'
<<: *master
<<: *vineperf-receivers