We have to be super careful adding any new hardcoded
regstistry names to the code base. Let's make this an informed
decision next time.
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
[testenv:flake8]
basepython = python3
+allowlist_externals = bash
deps =
flake8
flake8-quotes
commands =
flake8 --config=tox.ini {posargs:cephadm}
+ bash -c "test $(grep 'docker.io' cephadm | wc -l) == 10"
basepython = python3
deps =
flake8
+allowlist_externals = bash
modules =
alerts
balancer
commands =
flake8 --config=tox.ini {posargs} \
{posargs:{[testenv:flake8]modules}}
+ bash -c 'test $(git ls-files cephadm | grep ".py$" | grep -v tests | xargs grep "docker.io" | wc -l) == 12'
[testenv:jinjalint]
basepython = python3