]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm/tests: decrease number of docker.io occurances 44894/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 15 Feb 2022 17:09:03 +0000 (18:09 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 8 Jun 2022 12:31:50 +0000 (14:31 +0200)
with haproxy/keepalived default images change, this check needs to be updated.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
src/cephadm/tox.ini
src/pybind/mgr/tox.ini

index 4f8d3d7af2269735e4c772a7d0f770f41e988c19..095bced7a74feb165908d9d70d86b261e6593992 100644 (file)
@@ -41,7 +41,7 @@ commands=pytest {posargs}
 
 [testenv:mypy]
 basepython = python3
-deps = 
+deps =
     mypy
     -c{toxinidir}/../mypy-constrains.txt
 commands = mypy --config-file ../mypy.ini {posargs:cephadm}
@@ -62,6 +62,6 @@ deps =
     flake8-quotes
 commands =
     flake8 --config=tox.ini {posargs:cephadm}
-    bash -c "test $(grep 'docker.io' cephadm | wc -l) == 13"
+    bash -c "test $(grep 'docker.io' cephadm | wc -l) == 11"
 # Downstream distributions may choose to alter this "docker.io" number,
 # to make sure no new references to docker.io are creeping in unnoticed.
index ea69889e31800ca3eb89cff17c8e28ae1fb1cf17..7d172847f159a9b7f228df0045e03fe2b4f0f128 100644 (file)
@@ -183,7 +183,7 @@ modules =
 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) == 15'
+    bash -c 'test $(git ls-files cephadm | grep ".py$" | grep -v tests | xargs grep "docker.io" | wc -l) == 13'
 
 [testenv:jinjalint]
 basepython = python3