diff options
author | Matthew Heon <mheon@redhat.com> | 2021-01-11 16:14:07 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-01-14 16:43:23 -0500 |
commit | f781efd2dca4c1db54762c6edec2b915e48dd5d8 (patch) | |
tree | b59fcfdfc29ff3979186116e23373c8d72f31169 /test/e2e/config/containers.conf | |
parent | b53cb57680a6fd7b383636ac2d6cd71003532915 (diff) | |
download | podman-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.conf | 14 |
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" |