Skip to content

Commit

Permalink
docker: podman-friendly image locations
Browse files Browse the repository at this point in the history
Adds fully qualified canonical locations of container images, making the
container technology setup podman-friendly.

Closes reanahub/reana#729.
  • Loading branch information
tiborsimko committed Aug 10, 2023
1 parent 3fe15b1 commit ec86cee
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions reana_commons/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of REANA.
# Copyright (C) 2018, 2019, 2020, 2021, 2022 CERN.
# Copyright (C) 2018, 2019, 2020, 2021, 2022, 2023 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand Down Expand Up @@ -467,7 +467,7 @@ def default_workspace():
REANA_WORKFLOW_ENGINES = ["yadage", "cwl", "serial", "snakemake"]
"""Available workflow engines."""

REANA_DEFAULT_SNAKEMAKE_ENV_IMAGE = "snakemake/snakemake:v6.8.0"
REANA_DEFAULT_SNAKEMAKE_ENV_IMAGE = "docker.io/snakemake/snakemake:v6.8.0"
"""Snakemake default job environment image."""

REANA_JOB_CONTROLLER_CONNECTION_CHECK_SLEEP = float(
Expand All @@ -481,7 +481,7 @@ def default_workspace():
# Kerberos configurations

KRB5_CONTAINER_IMAGE = os.getenv(
"KRB5_CONTAINER_IMAGE", "reanahub/reana-auth-krb5:1.0.1"
"KRB5_CONTAINER_IMAGE", "docker.io/reanahub/reana-auth-krb5:1.0.1"
)
"""Default docker image of KRB5 sidecar container."""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
"atlas.cern.ch",
"atlas-condb.cern.ch"
],
"docker_img": "busybox",
"docker_img": "docker.io/library/busybox",
"job_id": "1612a779-f3fa-4344-8819-3d12fa9b9d90",
"max_restart_count": 3,
"restart_count": 0,
Expand All @@ -207,7 +207,7 @@
"atlas.cern.ch",
"atlas-condb.cern.ch"
],
"docker_img": "busybox",
"docker_img": "docker.io/library/busybox",
"job_id": "2e4bbc1d-db5e-4ee0-9701-6e2b1ba55c20",
"max_restart_count": 3,
"restart_count": 0,
Expand Down Expand Up @@ -300,7 +300,7 @@
"atlas.cern.ch",
"atlas-condb.cern.ch"
],
"docker_img": "busybox",
"docker_img": "docker.io/library/busybox",
"job_id": "cdcf48b1-c2f3-4693-8230-b066e088c6ac",
"max_restart_count": 3,
"restart_count": 0,
Expand Down Expand Up @@ -413,4 +413,4 @@
}
},
"swagger": "2.0"
}
}
8 changes: 4 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of REANA.
# Copyright (C) 2018, 2019, 2021 CERN.
# Copyright (C) 2018, 2019, 2021, 2023 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand All @@ -27,7 +27,7 @@ def dummy_snakefile():
output:
"results/foo.txt"
container:
"docker://python:3.10.0-buster"
"docker://docker.io/library/python:3.10.0-buster"
resources:
kubernetes_memory_limit="256Mi"
shell:
Expand All @@ -39,7 +39,7 @@ def dummy_snakefile():
output:
"results/bar.txt"
container:
"docker://python:3.10.0-buster"
"docker://docker.io/library/python:3.10.0-buster"
resources:
kubernetes_memory_limit="256Mi"
shell:
Expand All @@ -52,7 +52,7 @@ def dummy_snakefile():
output:
"results/baz.txt"
container:
"docker://python:3.10.0-buster"
"docker://docker.io/library/python:3.10.0-buster"
resources:
kubernetes_memory_limit="256Mi"
shell:
Expand Down

0 comments on commit ec86cee

Please sign in to comment.