diff options
author | Christian Hopps <chopps@labn.net> | 2021-05-21 01:22:14 +0200 |
---|---|---|
committer | Christian Hopps <chopps@gmail.com> | 2021-06-06 20:03:17 +0200 |
commit | deca28a33bcd913abeaf03017c52b1d2e9fd50e7 (patch) | |
tree | cac3453ef98cab1e6180430a2f2addc0b6a6efdf /docker | |
parent | Merge pull request #8706 from LabNConsulting/chopps/fix-grpc-threading (diff) | |
download | frr-deca28a33bcd913abeaf03017c52b1d2e9fd50e7.tar.xz frr-deca28a33bcd913abeaf03017c52b1d2e9fd50e7.zip |
tests: add grpc unit test
Test uses staticd which required some C++ header protections.
Additionally, the test also runs in the ubuntu20 docker container as
grpc is supported there by the packaging system.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/ubuntu20-ci/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/ubuntu20-ci/Dockerfile b/docker/ubuntu20-ci/Dockerfile index 71fde305e..8b7557db1 100644 --- a/docker/ubuntu20-ci/Dockerfile +++ b/docker/ubuntu20-ci/Dockerfile @@ -11,6 +11,7 @@ RUN apt update && \ install-info build-essential libsystemd-dev libsnmp-dev perl \ libcap-dev python2 libelf-dev \ sudo gdb curl iputils-ping time \ + libgrpc++-dev libgrpc-dev protobuf-compiler-grpc \ mininet iproute2 iperf && \ curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py && \ python2 /tmp/get-pip.py && \ @@ -57,6 +58,7 @@ RUN cd ~/frr && \ --sbindir=/usr/lib/frr \ --sysconfdir=/etc/frr \ --enable-vtysh \ + --enable-grpc \ --enable-pimd \ --enable-sharpd \ --enable-multipath=64 \ |