diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2024-01-24 11:59:44 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-01-29 19:58:37 +0000 |
commit | a1bd50c7a2c2c2d69d92cef167a64a1a5ddc4af7 (patch) | |
tree | f66cbd0b7848dac6789369e2fe9a73f08888e638 /extras/hs-test/topo-containers | |
parent | af1ddd39f1f5fa6a00e70356bac2b0bd38f76566 (diff) |
hs-test: use relative paths for docker volumes
Type: test
Change-Id: I9d5c15662e50ceea08d2ccc653db36c5e3df869e
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'extras/hs-test/topo-containers')
-rw-r--r-- | extras/hs-test/topo-containers/2peerVeth.yaml | 6 | ||||
-rw-r--r-- | extras/hs-test/topo-containers/nginxProxyAndServer.yaml | 2 | ||||
-rw-r--r-- | extras/hs-test/topo-containers/ns.yaml | 2 | ||||
-rw-r--r-- | extras/hs-test/topo-containers/single.yaml | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/extras/hs-test/topo-containers/2peerVeth.yaml b/extras/hs-test/topo-containers/2peerVeth.yaml index 36de33b0f45..e1591fb9019 100644 --- a/extras/hs-test/topo-containers/2peerVeth.yaml +++ b/extras/hs-test/topo-containers/2peerVeth.yaml @@ -1,11 +1,11 @@ --- volumes: - volume: &server-vol - host-dir: /tmp/server-share - container-dir: /tmp/server-share + host-dir: "$HST_VOLUME_DIR/server-share" + container-dir: "/tmp/server-share" is-default-work-dir: true - volume: &client-vol - host-dir: /tmp/client-share + host-dir: "$HST_VOLUME_DIR/client-share" container-dir: "/tmp/client-share" is-default-work-dir: true diff --git a/extras/hs-test/topo-containers/nginxProxyAndServer.yaml b/extras/hs-test/topo-containers/nginxProxyAndServer.yaml index bac6a2df174..cc6b780bafc 100644 --- a/extras/hs-test/topo-containers/nginxProxyAndServer.yaml +++ b/extras/hs-test/topo-containers/nginxProxyAndServer.yaml @@ -1,7 +1,7 @@ --- volumes: - volume: &shared-vol-proxy - host-dir: /tmp/shared-vol-proxy + host-dir: "$HST_VOLUME_DIR/shared-vol-proxy" containers: - name: "vpp-proxy" diff --git a/extras/hs-test/topo-containers/ns.yaml b/extras/hs-test/topo-containers/ns.yaml index 2b1902b2922..2298ad232c2 100644 --- a/extras/hs-test/topo-containers/ns.yaml +++ b/extras/hs-test/topo-containers/ns.yaml @@ -1,7 +1,7 @@ --- volumes: - volume: &shared-vol - host-dir: /tmp/shared-vol + host-dir: "$HST_VOLUME_DIR/shared-vol" # $HST_DIR will be replaced during runtime by path to hs-test directory containers: diff --git a/extras/hs-test/topo-containers/single.yaml b/extras/hs-test/topo-containers/single.yaml index 6fd4d31bed8..b6970c517bd 100644 --- a/extras/hs-test/topo-containers/single.yaml +++ b/extras/hs-test/topo-containers/single.yaml @@ -1,7 +1,7 @@ --- volumes: - volume: &shared-vol - host-dir: /tmp/shared-vol + host-dir: "$HST_VOLUME_DIR/shared-vol" containers: - name: "vpp" |