]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume/tests: add allowlist_externals to tox.ini 49629/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Jan 2023 13:18:59 +0000 (14:18 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 4 Jan 2023 13:18:59 +0000 (14:18 +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>
src/ceph-volume/tox.ini

index 820cf6fb3475f624919b0cdcbf4f9f7916804113..696d6dcc837aa637b26106d0ce84827741c19d63 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