Skip to content

Commit 6df6e26

Browse files
committed
upgrade udocker version used for testing to 1.3.12
1 parent 1282516 commit 6df6e26

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_udocker.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from .util import get_data, get_main_output, working_directory
1212

1313
LINUX = sys.platform in ("linux", "linux2")
14+
UDOCKER_VERSION = "1.3.12"
1415

1516

1617
@pytest.fixture(scope="session")
@@ -19,10 +20,13 @@ def udocker(tmp_path_factory: TempPathFactory) -> str:
1920
test_environ = copy.copy(os.environ)
2021
docker_install_dir = str(tmp_path_factory.mktemp("udocker"))
2122
with working_directory(docker_install_dir):
22-
url = "https://github.com/indigo-dc/udocker/releases/download/1.3.5/udocker-1.3.5.tar.gz"
23+
url = (
24+
"https://github.com/indigo-dc/udocker/releases/download/"
25+
f"{UDOCKER_VERSION}/udocker-{UDOCKER_VERSION}.tar.gz"
26+
)
2327
install_cmds = [
2428
["curl", "-L", url, "-o", "./udocker-tarball.tgz"],
25-
["tar", "xzvf", "udocker-tarball.tgz"],
29+
["tar", "--strip-components=1", "-xzvf", "udocker-tarball.tgz"],
2630
["./udocker/udocker", "install"],
2731
]
2832

0 commit comments

Comments
 (0)