hs-test: use relative paths for docker volumes
[vpp.git] / extras / hs-test / topo-containers / ns.yaml
index bdba560..2298ad2 100644 (file)
@@ -1,7 +1,7 @@
 ---
 volumes:
   - volume: &shared-vol
-      host-dir: shared-vol
+      host-dir: "$HST_VOLUME_DIR/shared-vol"
 
 # $HST_DIR will be replaced during runtime by path to hs-test directory
 containers:
@@ -12,12 +12,10 @@ containers:
         is-default-work-dir: true
   - name: "envoy"
     volumes:
-      - host-dir: "$HST_DIR/envoy/proxy.yaml"
-        container-dir: "/etc/envoy/envoy.yaml"
       - <<: *shared-vol
         container-dir: "/tmp/vpp-envoy"
         is-default-work-dir: true
-      - host-dir: "$HST_DIR/envoy"
+      - host-dir: "$HST_DIR/resources/envoy"
         container-dir: "/tmp"
     vars:
       - name: "ENVOY_UID"
@@ -25,4 +23,5 @@ containers:
       - name: "VCL_CONFIG"
         value: "/tmp/vcl.conf"
     image: "envoyproxy/envoy-contrib:v1.21-latest"
+    extra-args: "--concurrency 2 -c /etc/envoy/envoy.yaml"
     is-optional: true