summaryrefslogtreecommitdiff
path: root/test/e2e/config/containers.conf
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2021-01-11 16:14:07 -0500
committerMatthew Heon <mheon@redhat.com>2021-01-14 16:43:23 -0500
commitf781efd2dca4c1db54762c6edec2b915e48dd5d8 (patch)
treeb59fcfdfc29ff3979186116e23373c8d72f31169 /test/e2e/config/containers.conf
parentb53cb57680a6fd7b383636ac2d6cd71003532915 (diff)
downloadpodman-f781efd2dca4c1db54762c6edec2b915e48dd5d8.tar.gz
podman-f781efd2dca4c1db54762c6edec2b915e48dd5d8.tar.bz2
podman-f781efd2dca4c1db54762c6edec2b915e48dd5d8.zip
Add tests for volume plugins
This involves a new test binary (a basic implementation of the volume plugin protocol) and a new image on quay.io (Containerfile to produce it and all sources located in this commit). The image is used to run a containerized plugin we can test against. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'test/e2e/config/containers.conf')
-rw-r--r--test/e2e/config/containers.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/e2e/config/containers.conf b/test/e2e/config/containers.conf
index 35153ba05..5a5e4b7a5 100644
--- a/test/e2e/config/containers.conf
+++ b/test/e2e/config/containers.conf
@@ -56,3 +56,17 @@ umask = "0002"
[engine]
network_cmd_options=["allow_host_loopback=true"]
+
+# We need to ensure each test runs on a separate plugin instance...
+# For now, let's just make a bunch of plugin paths and have each test use one.
+[engine.volume_plugins]
+testvol0 = "/run/docker/plugins/testvol0.sock"
+testvol1 = "/run/docker/plugins/testvol1.sock"
+testvol2 = "/run/docker/plugins/testvol2.sock"
+testvol3 = "/run/docker/plugins/testvol3.sock"
+testvol4 = "/run/docker/plugins/testvol4.sock"
+testvol5 = "/run/docker/plugins/testvol5.sock"
+testvol6 = "/run/docker/plugins/testvol6.sock"
+testvol7 = "/run/docker/plugins/testvol7.sock"
+testvol8 = "/run/docker/plugins/testvol8.sock"
+testvol9 = "/run/docker/plugins/testvol9.sock"