commit | fddb175031065ba64bf5ae47f973c6c15ab80b69 | [log] [tgz] |
---|---|---|
author | Girish Gowdra <girish@opennetworking.org> | Fri Sep 04 17:59:22 2020 -0700 |
committer | Girish Gowdra <girish@opennetworking.org> | Fri Sep 04 17:59:22 2020 -0700 |
tree | d690bf5163a4d4ec46d361ce3d5d9e67444b8225 | |
parent | 46aec6c7d82c10bc7fa648719b49a42ada92d6f1 [diff] |
VOL-3419: Update the tools image to use grpc c++ 1.31.1. The latest grpc c++ version provides mechanisms to fine tune thread pool settings in 'sync' mode of grpc API execution. This version of grpc will be used to acheive some high performance when agent takes up more task later to replicate the flows instead of adapter doing it for the agent. Change-Id: I90736d7b2d1d93554caa451fd5280451a7c9b6e8
This repo contains Dockerfile used to generate docker container with prerequisite software for running openolt agent unit tests.
Final docker images are tagged with the image version from the VERSION file.
The VERSION file should be changed using these rules:
Only use containers tagged with <VERSION>
.
Once you are the root folder of the openolt agent repo, execute the below command to build and run the unit tests. Replace VERSION
to use a specific version of the container.
docker run --rm -v $PWD:/app voltha/openolt-test:<VERSION> make test
Details:
-v
bind-mounts the local folder into the container.make build
to build containermake docker-push
to push built container to a registrymake lint
to lint the Dockerfiles