hs-test: better directory structure 25/37925/2
authorFilip Tehlar <ftehlar@cisco.com>
Mon, 16 Jan 2023 09:21:29 +0000 (10:21 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 16 Jan 2023 20:51:09 +0000 (20:51 +0000)
Move config files to resources and docker files to separate directory

Type: test

Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I24dd0705c4a463c06de525f28cb54d882527320a

extras/hs-test/docker/Dockerfile.nginx [moved from extras/hs-test/Dockerfile.nginx with 100% similarity]
extras/hs-test/docker/Dockerfile.vpp [moved from extras/hs-test/Dockerfile.vpp with 100% similarity]
extras/hs-test/resources/envoy/envoy.log [moved from extras/hs-test/envoy/envoy.log with 100% similarity]
extras/hs-test/resources/envoy/proxy.yaml [moved from extras/hs-test/envoy/proxy.yaml with 100% similarity]
extras/hs-test/resources/envoy/vcl.conf [moved from extras/hs-test/envoy/vcl.conf with 100% similarity]
extras/hs-test/script/build.sh
extras/hs-test/topo-containers/ns.yaml

index 5c51244..dd6f9c0 100755 (executable)
@@ -10,5 +10,5 @@ mkdir -p ${bin} ${lib} || true
 cp ${VPP_WS}/build-root/build-vpp_debug-native/vpp/bin/* ${bin}
 cp -r ${VPP_WS}/build-root/build-vpp_debug-native/vpp/lib/x86_64-linux-gnu/* ${lib}
 
-docker build --build-arg UBUNTU_VERSION -t hs-test/vpp -f Dockerfile.vpp .
-docker build --build-arg UBUNTU_VERSION -t hs-test/nginx-ldp -f Dockerfile.nginx .
+docker build --build-arg UBUNTU_VERSION -t hs-test/vpp -f docker/Dockerfile.vpp .
+docker build --build-arg UBUNTU_VERSION -t hs-test/nginx-ldp -f docker/Dockerfile.nginx .
index e472531..9416937 100644 (file)
@@ -12,12 +12,12 @@ containers:
         is-default-work-dir: true
   - name: "envoy"
     volumes:
-      - host-dir: "$HST_DIR/envoy/proxy.yaml"
+      - host-dir: "$HST_DIR/resources/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"