diff options
author | 2023-05-30 13:46:24 +0000 | |
---|---|---|
committer | 2023-05-30 13:50:29 +0000 | |
commit | 31285a54d3d37336517c167c84597d451b9c6ecf (patch) | |
tree | a1fd59ca18ca0bac6f704230c1f081983726bcd2 /fdio.infra.ansible/roles/docker_images/templates | |
parent | ffb7ab505a7c3005b9542c43ceb95583992b3abf (diff) |
fix(tests): Hoststack compatibility
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I198fe62ddba8910c6bd8256739cc2503b87dfc75
Diffstat (limited to 'fdio.infra.ansible/roles/docker_images/templates')
-rw-r--r-- | fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 | 18 | ||||
-rw-r--r-- | fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 index be0ffcd9f4..d24ea0236e 100644 --- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 +++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-sut.yaml.j2 @@ -29,6 +29,15 @@ services: source: "/opt/boot/" target: "/opt/boot/" - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + - type: "bind" source: "/var/run/docker.sock" target: "/var/run/docker.sock" - type: "bind" @@ -63,6 +72,15 @@ services: source: "/opt/boot/" target: "/opt/boot/" - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + - type: "bind" source: "/var/run/docker.sock" target: "/var/run/docker.sock" - type: "bind" diff --git a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 index 6dcbc9f871..20ac905c5a 100644 --- a/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 +++ b/fdio.infra.ansible/roles/docker_images/templates/docker-compose-tg.yaml.j2 @@ -29,6 +29,15 @@ services: source: "/opt/" target: "/opt/" - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + - type: "bind" source: "/usr/lib/firmware/" target: "/usr/lib/firmware/" tg-1: @@ -60,5 +69,14 @@ services: source: "/opt/" target: "/opt/" - type: "bind" + source: "/usr/bin/iperf3" + target: "/usr/bin/iperf3" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0" + - type: "bind" + source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0" + - type: "bind" source: "/usr/lib/firmware/" target: "/usr/lib/firmware/" |