From: Filip Tehlar Date: Mon, 16 Jan 2023 09:21:29 +0000 (+0100) Subject: hs-test: better directory structure X-Git-Tag: v23.06-rc0~13 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=f34f32f31925cba0ed8ef034184e0de1c7398487;p=vpp.git hs-test: better directory structure Move config files to resources and docker files to separate directory Type: test Signed-off-by: Filip Tehlar Change-Id: I24dd0705c4a463c06de525f28cb54d882527320a --- diff --git a/extras/hs-test/Dockerfile.nginx b/extras/hs-test/docker/Dockerfile.nginx similarity index 100% rename from extras/hs-test/Dockerfile.nginx rename to extras/hs-test/docker/Dockerfile.nginx diff --git a/extras/hs-test/Dockerfile.vpp b/extras/hs-test/docker/Dockerfile.vpp similarity index 100% rename from extras/hs-test/Dockerfile.vpp rename to extras/hs-test/docker/Dockerfile.vpp diff --git a/extras/hs-test/envoy/envoy.log b/extras/hs-test/resources/envoy/envoy.log similarity index 100% rename from extras/hs-test/envoy/envoy.log rename to extras/hs-test/resources/envoy/envoy.log diff --git a/extras/hs-test/envoy/proxy.yaml b/extras/hs-test/resources/envoy/proxy.yaml similarity index 100% rename from extras/hs-test/envoy/proxy.yaml rename to extras/hs-test/resources/envoy/proxy.yaml diff --git a/extras/hs-test/envoy/vcl.conf b/extras/hs-test/resources/envoy/vcl.conf similarity index 100% rename from extras/hs-test/envoy/vcl.conf rename to extras/hs-test/resources/envoy/vcl.conf diff --git a/extras/hs-test/script/build.sh b/extras/hs-test/script/build.sh index 5c51244cf9f..dd6f9c02575 100755 --- a/extras/hs-test/script/build.sh +++ b/extras/hs-test/script/build.sh @@ -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 . diff --git a/extras/hs-test/topo-containers/ns.yaml b/extras/hs-test/topo-containers/ns.yaml index e472531c8f7..9416937fdb6 100644 --- a/extras/hs-test/topo-containers/ns.yaml +++ b/extras/hs-test/topo-containers/ns.yaml @@ -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"