aboutsummaryrefslogtreecommitdiffstats
path: root/tests/2-nodes-vpp-memif-replication.yml
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2022-09-12 17:05:43 +0200
committerMauro Sardara <msardara@cisco.com>2022-09-13 09:04:47 +0000
commit741952819d7452f7690c3ca355f42dac30b1d854 (patch)
tree1a74966196fcc51682c203348df71c7fdcfaaf52 /tests/2-nodes-vpp-memif-replication.yml
parent6ee6b65ef03f8a479cccb2ae04e6b156f309f045 (diff)
fix: re-introduce BASE_IMAGE argument in docker-compose files for tests
Ref: HICN-732 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I26ab4e0630d143bd429dc44318868667a155ed12
Diffstat (limited to 'tests/2-nodes-vpp-memif-replication.yml')
-rw-r--r--tests/2-nodes-vpp-memif-replication.yml22
1 files changed, 4 insertions, 18 deletions
diff --git a/tests/2-nodes-vpp-memif-replication.yml b/tests/2-nodes-vpp-memif-replication.yml
index 9fbb57a40..54b9840ad 100644
--- a/tests/2-nodes-vpp-memif-replication.yml
+++ b/tests/2-nodes-vpp-memif-replication.yml
@@ -1,18 +1,11 @@
version: "3"
services:
- vpp_client_memif:
- build:
- context: ..
- dockerfile: ${DOCKERFILE}
- stdin_open: true
- tty: true
- working_dir: /workspace
+ client:
container_name: ${TEST_VPP_MEMIF_REPLICATION}-client
- hostname: client
+ networks: []
volumes:
- /tmp/memif:/memif:z
- ..:/workspace:z
- entrypoint: [/bin/bash, -c]
command:
- |
if [ -d /workspace/build-dev ]; then
@@ -69,19 +62,12 @@ services:
sudo vppctl hicn strategy set 2 prefix b002::/64
tail -f /dev/null
- vpp_server_memif:
- build:
- context: ..
- dockerfile: ${DOCKERFILE}
- stdin_open: true
- tty: true
- working_dir: /workspace
+ server:
container_name: ${TEST_VPP_MEMIF_REPLICATION}-server
- hostname: server
+ networks: []
volumes:
- /tmp/memif:/memif:z
- ..:/workspace:z
- entrypoint: [/bin/bash, -c]
command:
- |
if [ -d /workspace/build-dev ]; then