added new binaries to check #32
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
import os
|
||||||
|
|
||||||
from frostfs_testlib.cli import FrostfsAdm, FrostfsCli
|
from frostfs_testlib.cli import FrostfsAdm, FrostfsCli
|
||||||
from frostfs_testlib.hosting import Hosting
|
from frostfs_testlib.hosting import Hosting
|
||||||
|
@ -18,7 +19,10 @@ logger = logging.getLogger("NeoLogger")
|
||||||
def get_local_binaries_versions(shell: Shell) -> dict[str, str]:
|
def get_local_binaries_versions(shell: Shell) -> dict[str, str]:
|
||||||
versions = {}
|
versions = {}
|
||||||
|
|
||||||
for binary in [NEOGO_EXECUTABLE, FROSTFS_AUTHMATE_EXEC]:
|
# Extra binaries to get version from
|
||||||
|
extra_binaries = os.getenv("EXTRA_BINARIES", "").split(',')
|
||||||
|
|
||||||
|
for binary in [NEOGO_EXECUTABLE, FROSTFS_AUTHMATE_EXEC, *extra_binaries]:
|
||||||
out = shell.exec(f"{binary} --version").stdout
|
out = shell.exec(f"{binary} --version").stdout
|
||||||
versions[binary] = _parse_version(out)
|
versions[binary] = _parse_version(out)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue