Improve container support in tox.ini 97/98197/2
authorguillaume.lambert <guillaume.lambert@orange.com>
Fri, 3 Sep 2021 08:23:34 +0000 (10:23 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Fri, 29 Oct 2021 09:08:21 +0000 (11:08 +0200)
commitf13c948ba8fa47cad08f59aa55b43ee03fc3e6d9
treeb1e1d8613ea3705eec37a3a7a1f9108cfb6d4d74
parent7898e1704c753abb0616b97e66c8ca5774cc23d4
Improve container support in tox.ini

- modify tox.ini to use dedicated scripts that can detect a local podman
  installation and use it instead of docker.
- replace nbiotifications docker-compose YAML file by a standalone
  container directly runnable with docker or podman.

Podman.io is a rootless and serverless alternative to Docker.io.
It avoids using sudo in many cases, what is a good thing.
It is now prefered to Docker.io by many linux distributions.

https://podman.io/
https://access.redhat.com/solutions/3696691
https://thesynack.com/posts/docker-compose-podman/
https://martinheinz.dev/blog/35

JIRA: TRNSPRTPCE-527
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I593568b2e17bebe784eff7b3413d0d5b829f2ade
tests/dockercmd.sh [new file with mode: 0755]
tests/nbinotifications/docker-compose.yml [deleted file]
tox.ini