Add optional support for running end-to-end tests and building documentation with rootless Podman instead of Docker.

This commit is contained in:
Dan Helfman
2023-04-10 14:26:54 -07:00
parent d6ef0df50d
commit 31a2ac914a
5 changed files with 51 additions and 7 deletions
+6
View File
@@ -10,5 +10,11 @@
set -e
USER_PODMAN_SOCKET_PATH=/run/user/$UID/podman/podman.sock
if [ -e "$USER_PODMAN_SOCKET_PATH" ]; then
export DOCKER_HOST="unix://$USER_PODMAN_SOCKET_PATH"
fi
docker-compose --file tests/end-to-end/docker-compose.yaml up --force-recreate \
--renew-anon-volumes --abort-on-container-exit