Skip to content

Commit

Permalink
upgrade udocker version used for testing to 1.3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Jan 3, 2024
1 parent fcca4c4 commit 9b5a6ea
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_udocker.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from .util import get_data, get_main_output, working_directory

LINUX = sys.platform in ("linux", "linux2")
UDOCKER_VERSION = "1.3.12"


@pytest.fixture(scope="session")
Expand All @@ -19,10 +20,13 @@ def udocker(tmp_path_factory: TempPathFactory) -> str:
test_environ = copy.copy(os.environ)
docker_install_dir = str(tmp_path_factory.mktemp("udocker"))
with working_directory(docker_install_dir):
url = "https://github.com/indigo-dc/udocker/releases/download/1.3.5/udocker-1.3.5.tar.gz"
url = (
"https://github.com/indigo-dc/udocker/releases/download/"
f"{UDOCKER_VERSION}/udocker-{UDOCKER_VERSION}.tar.gz"
)
install_cmds = [
["curl", "-L", url, "-o", "./udocker-tarball.tgz"],
["tar", "xzvf", "udocker-tarball.tgz"],
["tar", "--strip-components=1", "-xzvf", "udocker-tarball.tgz"],
["./udocker/udocker", "install"],
]

Expand Down

0 comments on commit 9b5a6ea

Please sign in to comment.