]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume/tests: add allowlist_externals to tox.ini 49789/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Jan 2023 13:18:59 +0000 (14:18 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 19 Jan 2023 10:37:23 +0000 (11:37 +0100)
typical failure seen in the CI:

```
py3-flake8: install_deps> ./tox_install_command.sh flake8
py3-flake8: failed with ./tox_install_command.sh (resolves to ./tox_install_command.sh) is not allowed, use allowlist_externals to allow it
```

Fixes: https://tracker.ceph.com/issues/58377
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit f932e33ea40e3831697ca27c6e766981cac0909b)

src/ceph-volume/tox.ini

index 2f4ba243fe743413187c0fb4dad76c0677e0ba7e..81a04c10d6ecbb8002b6b14f2eebd17848c3ec1e 100644 (file)
@@ -8,6 +8,8 @@ deps=
   pytest-xdist
   mock
   pyfakefs
+allowlist_externals=
+  ./tox_install_command.sh
 install_command=./tox_install_command.sh {opts} {packages}
 commands=py.test --numprocesses=auto -vv {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/functional