summaryrefslogtreecommitdiff
path: root/docker/ubuntu20-ci/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docker/ubuntu20-ci/README.md')
-rw-r--r--docker/ubuntu20-ci/README.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/docker/ubuntu20-ci/README.md b/docker/ubuntu20-ci/README.md
index 11138c6507..536f8e2e35 100644
--- a/docker/ubuntu20-ci/README.md
+++ b/docker/ubuntu20-ci/README.md
@@ -5,13 +5,25 @@ This builds an ubuntu 20.04 container for dev / test
# Build
```
-docker build -t frr-ubuntu20:latest -f docker/ubuntu20-ci/Dockerfile .
+docker build -t frr-ubuntu20:latest --build-arg=UBUNTU_VERSION=20.04 -f docker/ubuntu-ci/Dockerfile .
+```
+
+# Running Full Topotest
+
+```
+docker run --init -it --privileged --name frr -v /lib/modules:/lib/modules frr-ubuntu22:latest bash -c 'cd ~/frr/tests/topotests ; sudo pytest -nauto --dist=loadfile'
+```
+
+# Extract results from the above run into `run-results` dir and analyze
+
+```
+tests/topotest/analyze.py -C frr -Ar run-results
```
# Running
```
-docker run -d --privileged --name frr-ubuntu20 --mount type=bind,source=/lib/modules,target=/lib/modules frr-ubuntu20:latest
+docker run -d --init --privileged --name frr-ubuntu20 --mount type=bind,source=/lib/modules,target=/lib/modules frr-ubuntu20:latest
```
# make check