commit | f34f32f31925cba0ed8ef034184e0de1c7398487 | [log] [tgz] |
---|---|---|
author | Filip Tehlar <ftehlar@cisco.com> | Mon Jan 16 10:21:29 2023 +0100 |
committer | Florin Coras <florin.coras@gmail.com> | Mon Jan 16 20:51:09 2023 +0000 |
tree | 36695e68a76b240f70914dd3a3100971c7a3c2b5 | |
parent | 3f951433b89df4639bb2ae8f297aee90c70cebf5 [diff] |
hs-test: better directory structure Move config files to resources and docker files to separate directory Type: test Signed-off-by: Filip Tehlar <ftehlar@cisco.com> 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 5c51244..dd6f9c0 100755 --- a/extras/hs-test/script/build.sh +++ b/extras/hs-test/script/build.sh
@@ -10,5 +10,5 @@ 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 e472531..9416937 100644 --- a/extras/hs-test/topo-containers/ns.yaml +++ b/extras/hs-test/topo-containers/ns.yaml
@@ -12,12 +12,12 @@ 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"