diff --git a/.github/workflows/call-test-workspace.yml b/.github/workflows/call-test-workspace.yml index 161ec98bac..ee2745f937 100644 --- a/.github/workflows/call-test-workspace.yml +++ b/.github/workflows/call-test-workspace.yml @@ -77,6 +77,8 @@ jobs: INFINITO_CACHE_PACKAGE_HEAP: 1g INFINITO_CACHE_PACKAGE_DIRECT_MEM: 1g INFINITO_CACHE_PACKAGE_HOST_PATH: /mnt/cache/package/data + INFINITO_GHCR_MIRROR: "true" + INFINITO_GHCR_MIRROR_PREFIX: mirror steps: - name: ๐Ÿงน Free disk space @@ -117,6 +119,7 @@ jobs: grep '^INFINITO_DNS53_SAMPLER_LOG=' .env echo "INFINITO_WORKSPACE_SLUG=$(printf '%s' "${DEV_RUNTIME_IMAGE}" | tr '/:' '--')-${{ matrix.track }}" } >> "$GITHUB_ENV" + rm -f .env - name: โ–ถ๏ธ Run workspace routine shell: bash @@ -143,6 +146,8 @@ jobs: -e INFINITO_CACHE_PACKAGE_HEAP \ -e INFINITO_CACHE_PACKAGE_DIRECT_MEM \ -e INFINITO_CACHE_PACKAGE_HOST_PATH \ + -e INFINITO_GHCR_MIRROR \ + -e INFINITO_GHCR_MIRROR_PREFIX \ --network host \ -v "${HOST_WORKDIR}:${HOST_WORKDIR}" \ -v "/mnt/docker:/var/lib/docker" \ diff --git a/Makefile b/Makefile index 0bc01bafc9..2293dcfdcc 100644 --- a/Makefile +++ b/Makefile @@ -862,6 +862,7 @@ swarm-zombie: install-act disable=$(disable); \ SWARM_NAME=$(or $(name),$(app)); \ INFINITO_SWARM_STEP_TIMEOUT_MINUTES=$(or $(step_timeout),690); \ + INFINITO_GHCR_MIRROR=$${INFINITO_GHCR_MIRROR}; \ INFINITO_DISTROS=$(SWARM_DISTROS); \ INFINITO_ARCHITECTURES=$(SWARM_ARCH); \ INFINITO_ARCHITECTURE=$(SWARM_ARCH)" \ diff --git a/cli/administration/deploy/development/profile.py b/cli/administration/deploy/development/profile.py index 458af3c558..3e80771dac 100644 --- a/cli/administration/deploy/development/profile.py +++ b/cli/administration/deploy/development/profile.py @@ -41,7 +41,8 @@ class Profile: def image_mirror_enabled(self) -> bool: """True iff image references should be rewritten to the GHCR mirror.""" - return self.runs_on_github() + declared = _declared("INFINITO_GHCR_MIRROR") + return self.runs_on_github() if declared is None else declared def docker_root_ephemeral(self) -> bool: """True iff the docker data root may be wiped when the stack goes down.""" diff --git a/default.env b/default.env index 2ad070b85a..efa3b9a8d5 100644 --- a/default.env +++ b/default.env @@ -208,6 +208,9 @@ INFINITO_FORK_REPOSITORY_NAME=infinito-nexus-core # IPv4 of the bridge gateway inside INFINITO_SUBNET. INFINITO_GATEWAY=172.30.0.1 +# True where images come from the GHCR mirror instead of their upstream registry (real GitHub Actions). +INFINITO_GHCR_MIRROR=false + # Prefix path under which GHCR mirror lookups search for cached images. INFINITO_GHCR_MIRROR_PREFIX=mirror diff --git a/docs/agents/action/iteration/workflow.md b/docs/agents/action/iteration/workflow.md index 49d6bbca62..b4451da308 100644 --- a/docs/agents/action/iteration/workflow.md +++ b/docs/agents/action/iteration/workflow.md @@ -34,6 +34,6 @@ Two properties of the workspace suite differ between `make act-workflow` and a G **Nested Docker state does not survive a teardown locally, but does in CI.** `INFINITO_DOCKER_VOLUME` is the named volume `docker` ([default.env](../../../../default.env)) and a host path (`/mnt/docker`) on GitHub. `compose down -v` removes a named volume and cannot remove a bind mount, so every workspace track starts on a clean inner daemon locally while CI carries the previous track's containers into the next one. Defects that need a container, network, or bind source to outlive a teardown cannot reproduce under act. -**The runtime identity differs.** act sets `ACT=true`, so `detect_gha_act()` in [runtime.py](../../../../utils/env/runtime.py) resolves `INFINITO_RUNNING_ON_GITHUB=false` where a real runner resolves `true`. Anything keyed off that fact behaves differently, and act cannot prove a fix to it either way. +**The runtime identity differs.** act sets `ACT=true`, so `detect_gha_act()` in [runtime.py](../../../../utils/env/runtime.py) resolves `INFINITO_RUNNING_ON_GITHUB=false` where a real runner resolves `true`. Anything keyed off that fact behaves differently, and act cannot prove a fix to it either way. The image mirror is the exception: CI declares `INFINITO_GHCR_MIRROR=true` for the workspace suite, while a local run keeps the generated `false` and pulls upstream. Run the local loop to iterate quickly; treat CI as the only authority for both classes. diff --git a/docs/contributing/artefact/image/mirror.md b/docs/contributing/artefact/image/mirror.md index e2f97cf848..36ffe55616 100644 --- a/docs/contributing/artefact/image/mirror.md +++ b/docs/contributing/artefact/image/mirror.md @@ -73,6 +73,8 @@ The mirror workflow runs as stage 8 of the CI pipeline. See [ci.md](../git/pipel 4. Inventory generation writes the resulting mirror refs from `mirrors.yml` back into host vars. 5. Deploy and test jobs resolve images from `ghcr.io/{namespace}/{repository}/mirror/...` instead of pulling directly from Docker Hub, MCR, or other upstream registries. +`INFINITO_GHCR_MIRROR` decides whether a run uses the mirror. The generated `.env` sets it to `true` on a real GitHub runner and to `false` everywhere else, act included. A non-empty exported value overrides that for one run. [call-test-workspace.yml](../../../../.github/workflows/call-test-workspace.yml) exports `true`, so the workspace suite runs like a local setup and still pulls from GHCR, in its compose drills and, through `make swarm-zombie`, in its swarm drills. + The mirrors file is generated into the inventory directory. The inventory creator applies mirror image overrides to host variables via `cli/administration/inventory/provision/mirror_overrides.py`, which reads `mirrors.yml.applications` and writes `applications.{role}.services.{service}.image` (and `.version`) into host vars subject to the per-service `mirror_policy`. diff --git a/roles/web-app-zammad/README.md b/roles/web-app-zammad/README.md index 0c222530fc..c6c6b8bf8b 100644 --- a/roles/web-app-zammad/README.md +++ b/roles/web-app-zammad/README.md @@ -16,7 +16,7 @@ This role deploys Zammad as an Infinito.Nexus web app using the upstream `ghcr.i - **LDAP federation:** When `svc-db-openldap` is present, Zammad authenticates and provisions accounts against the central LDAP. - **Mail-to-ticket:** When `web-app-stalwart` is present, the `helpdesk` mailbox is auto-provisioned and Zammad polls it to create tickets from incoming mail. - **Server-name alias:** `zammad.helpdesk.{{ DOMAIN_PRIMARY }}` is a true vhost alias of `helpdesk.{{ DOMAIN_PRIMARY }}` (not a 301 redirect). -- **Bundled Elasticsearch:** Search engine ships with the role until a central `svc-db-elasticsearch` exists. +- **Bundled Elasticsearch:** Search engine ships with the role until a central `svc-db-elasticsearch` exists. Its disk watermarks follow the disk size (85 / 90 / 95 % used, requiring at most 200 / 150 / 100 GB free, `services.search.watermark`); the CI and development variants lower those caps to 10 / 5 / 2 GB. - **Search index per Elasticsearch major:** The index lives in a directory named after the Elasticsearch major inside the `zammad_search` volume. A new major starts on an empty directory and `zammad-init` rebuilds the index from the database on the same deploy. - **Wizard bypass:** First deploy seeds `auto_wizard.json` so no manual setup UI step is required. diff --git a/scripts/tests/deploy/swarm/routine/02_provision_inventory.sh b/scripts/tests/deploy/swarm/routine/02_provision_inventory.sh index 4f99a8b0d7..82372be673 100755 --- a/scripts/tests/deploy/swarm/routine/02_provision_inventory.sh +++ b/scripts/tests/deploy/swarm/routine/02_provision_inventory.sh @@ -28,10 +28,10 @@ fi if [[ -n "${INFINITO_APP_VARIANTS:-}" ]]; then provision_args+=(--app-variants "${INFINITO_APP_VARIANTS}") fi -if [[ "$(python3 -m cli.meta.runtime)" == "github" ]]; then - : "${INFINITO_GHCR_MIRROR_PREFIX:?required in github runtime}" - : "${GITHUB_REPOSITORY_OWNER:?required in github runtime}" - : "${GITHUB_REPOSITORY:?required in github runtime}" +if [[ "${INFINITO_GHCR_MIRROR:?INFINITO_GHCR_MIRROR must be set}" == "true" ]]; then + : "${INFINITO_GHCR_MIRROR_PREFIX:?required when INFINITO_GHCR_MIRROR=true}" + : "${GITHUB_REPOSITORY_OWNER:?required when INFINITO_GHCR_MIRROR=true}" + : "${GITHUB_REPOSITORY:?required when INFINITO_GHCR_MIRROR=true}" ghcr_namespace="$(echo "${GITHUB_REPOSITORY_OWNER}" | tr '[:upper:]' '[:lower:]')" ghcr_repository="$(echo "${GITHUB_REPOSITORY}" | cut -d/ -f2- | tr '[:upper:]' '[:lower:]')" mirrors_file="${INV_DIR}/mirrors.yml" diff --git a/scripts/tests/workspace/README.md b/scripts/tests/workspace/README.md index 96baaf3763..f26bbc3f77 100644 --- a/scripts/tests/workspace/README.md +++ b/scripts/tests/workspace/README.md @@ -2,6 +2,7 @@ This directory contains the modular workspace test suite for Infinito.Nexus. It validates the full local development flow from a clean state. +In CI it runs exactly like that flow, except that it pulls images through the GHCR mirror (`INFINITO_GHCR_MIRROR=true`, see [mirror.md](../../../docs/contributing/artefact/image/mirror.md)). The entry point is [00_orchestrator.sh](00_orchestrator.sh). It runs one or more *tracks* โ€” subdirectories whose numbered scripts execute in order. diff --git a/tests/external/repository/_package_probes.py b/tests/external/repository/_package_probes.py index 46a6664b54..b4f5ec3b32 100644 --- a/tests/external/repository/_package_probes.py +++ b/tests/external/repository/_package_probes.py @@ -39,11 +39,10 @@ DEBIAN_SUITE = "stable" UBUNTU_SUITE = "noble" FEDORA_RELEASE = "f44" CENTOS_STREAM = "10-stream" +EPEL_BRANCH = f"epel{CENTOS_STREAM.split('-', maxsplit=1)[0]}" +EPEL_BOOTSTRAP = "epel-release" BOOTSTRAP_BASEURL: dict[str, str] = { - "epel-release": ( - "https://dl.fedoraproject.org/pub/epel/$releasever/Everything/$basearch/" - ), "centos-release-nfs-ganesha11": ( "https://mirror.stream.centos.org/SIGs/$releasever-stream" "/storage/$basearch/nfsganesha-11/" @@ -253,18 +252,30 @@ def _probe_apt(distro: str, name: str) -> tuple[bool | None, str]: return name in names, detail -def _probe_fedora(name: str) -> tuple[bool | None, str]: +def _probe_mdapi(branch: str, name: str) -> tuple[bool | None, str]: + """Ask Fedora's metadata API whether ``branch`` carries ``name``. + + Args: + branch: an mdapi branch, such as ``f44`` or ``epel10``. + name: the binary package name as the declaration spells it. + + Returns: + Availability, or None with the reason the index stayed unknown. + """ status, _ = _get( - f"https://mdapi.fedoraproject.org/{FEDORA_RELEASE}/pkg/" - f"{urllib.parse.quote(name)}" + f"https://mdapi.fedoraproject.org/{branch}/pkg/{urllib.parse.quote(name)}" ) if status == 200: - return True, f"mdapi {FEDORA_RELEASE}" + return True, f"mdapi {branch}" if status in (400, 404): - return False, f"mdapi {FEDORA_RELEASE}" + return False, f"mdapi {branch}" return None, f"mdapi returned HTTP {status}" +def _probe_fedora(name: str) -> tuple[bool | None, str]: + return _probe_mdapi(FEDORA_RELEASE, name) + + def _centos_repo_baseurl(repo: dict | None) -> str | None: if not isinstance(repo, dict): return None @@ -294,6 +305,13 @@ def _centos_listings(name: str, repo: dict | None) -> list[str] | None: def _probe_centos(name: str, repo: dict | None) -> tuple[bool | None, str]: + if ( + isinstance(repo, dict) + and not repo.get("baseurl") + and repo.get("bootstrap_package") == EPEL_BOOTSTRAP + ): + return _probe_mdapi(EPEL_BRANCH, name) + listings = _centos_listings(name, repo) if listings is None: return None, "the inline repository definition declares no baseurl" diff --git a/tests/unit/python/cli/administration/deploy/development/test_compose.py b/tests/unit/python/cli/administration/deploy/development/test_compose.py index 2115e53e86..9cbc999255 100644 --- a/tests/unit/python/cli/administration/deploy/development/test_compose.py +++ b/tests/unit/python/cli/administration/deploy/development/test_compose.py @@ -96,6 +96,7 @@ class TestComposeUpRetries(unittest.TestCase): "INFINITO_CACHE_NETWORK": "", "INFINITO_CACHE_STACK": "", "INFINITO_GPU_COUNT": "0", + "INFINITO_GHCR_MIRROR": "", }, clear=False, ) @@ -154,6 +155,7 @@ class TestComposeUpRetries(unittest.TestCase): "INFINITO_CACHE_NETWORK": "", "INFINITO_CACHE_STACK": "", "INFINITO_GPU_COUNT": "0", + "INFINITO_GHCR_MIRROR": "", }, clear=False, ) @@ -206,6 +208,7 @@ class TestComposeUpRetries(unittest.TestCase): "GITHUB_ACTIONS": "true", "INFINITO_RUNNING_ON_GITHUB": "true", "INFINITO_CACHE_STACK": "", + "INFINITO_GHCR_MIRROR": "", }, clear=False, ) @@ -233,6 +236,7 @@ class TestComposeUpRetries(unittest.TestCase): "GITHUB_ACTIONS": "true", "INFINITO_RUNNING_ON_GITHUB": "true", "INFINITO_CACHE_STACK": "", + "INFINITO_GHCR_MIRROR": "", }, clear=False, ) @@ -269,6 +273,7 @@ class TestComposeUpRetries(unittest.TestCase): "INFINITO_GIT_COMMON_DIR": "", "INFINITO_CACHE_NETWORK": "", "INFINITO_CACHE_STACK": "", + "INFINITO_GHCR_MIRROR": "", }, clear=False, ) diff --git a/tests/unit/python/cli/administration/deploy/development/test_env_compose_file_args.py b/tests/unit/python/cli/administration/deploy/development/test_env_compose_file_args.py index 9bf85a96d5..ecb67600c8 100644 --- a/tests/unit/python/cli/administration/deploy/development/test_env_compose_file_args.py +++ b/tests/unit/python/cli/administration/deploy/development/test_env_compose_file_args.py @@ -27,6 +27,7 @@ _LOCAL_PRIMARY = { "INFINITO_GIT_COMMON_DIR": "", "INFINITO_CACHE_NETWORK": "", "INFINITO_CACHE_STACK": "", + "INFINITO_GHCR_MIRROR": "", "INFINITO_PUBLISH_PORTS": "", "INFINITO_GPU_COUNT": "0", "INFINITO_TOOLS_LIBRETRANSLATE_PORT": "8097", diff --git a/tests/unit/python/cli/administration/deploy/development/test_profile.py b/tests/unit/python/cli/administration/deploy/development/test_profile.py index ce4353e25d..1f20c12018 100644 --- a/tests/unit/python/cli/administration/deploy/development/test_profile.py +++ b/tests/unit/python/cli/administration/deploy/development/test_profile.py @@ -16,6 +16,7 @@ _BLANK_CI_ENV = { "INFINITO_GIT_COMMON_DIR": "", "INFINITO_CACHE_NETWORK": "", "INFINITO_CACHE_STACK": "", + "INFINITO_GHCR_MIRROR": "", } @@ -111,6 +112,31 @@ class TestProfileDeclaredCapabilities(unittest.TestCase): self.assertTrue(p.image_mirror_enabled()) self.assertTrue(p.docker_root_ephemeral()) + @patch.dict( + os.environ, + {**_BLANK_CI_ENV, "INFINITO_GHCR_MIRROR": "true"}, + clear=False, + ) + def test_a_mirror_declaration_changes_nothing_but_the_mirror(self) -> None: + p = Profile() + self.assertTrue(p.image_mirror_enabled()) + self.assertFalse(p.runs_on_github()) + self.assertFalse(p.is_ci()) + self.assertTrue(p.cache_stack_enabled()) + self.assertFalse(p.docker_root_ephemeral()) + + @patch.dict( + os.environ, + { + **_BLANK_CI_ENV, + "INFINITO_RUNNING_ON_GITHUB": "true", + "INFINITO_GHCR_MIRROR": "false", + }, + clear=False, + ) + def test_a_declared_false_turns_the_mirror_off_on_github(self) -> None: + self.assertFalse(Profile().image_mirror_enabled()) + class TestProfileInstance(unittest.TestCase): @patch.dict(os.environ, {**_BLANK_CI_ENV, "INFINITO_INSTANCE": ""}, clear=False) diff --git a/tests/unit/python/cli/administration/deploy/development/test_runner_mirror.py b/tests/unit/python/cli/administration/deploy/development/test_runner_mirror.py index 574c287abe..c46472e1e3 100644 --- a/tests/unit/python/cli/administration/deploy/development/test_runner_mirror.py +++ b/tests/unit/python/cli/administration/deploy/development/test_runner_mirror.py @@ -74,6 +74,7 @@ class TestRunnerMirror(unittest.TestCase): "INFINITO_RUNNING_ON_GITHUB": "true", "INFINITO_GIT_COMMON_DIR": "", "INFINITO_CACHE_STACK": "", + "INFINITO_GHCR_MIRROR": "", "INFINITO_CACHE_NETWORK": "", "INFINITO_PUBLISH_PORTS": "", "INFINITO_GPU_COUNT": "0", @@ -91,7 +92,9 @@ class TestRunnerMirror(unittest.TestCase): self.assertEqual(args[-2:], ["-f", runner_mirror.OVERRIDE]) @patch.dict( - os.environ, {**GITHUB, "INFINITO_RUNNING_ON_GITHUB": "true"}, clear=False + os.environ, + {**GITHUB, "INFINITO_RUNNING_ON_GITHUB": "true", "INFINITO_GHCR_MIRROR": ""}, + clear=False, ) def test_the_cert_generator_gets_the_mirrored_init_image(self) -> None: with tempfile.TemporaryDirectory() as tmp: diff --git a/tests/unit/python/utils/env/handlers/infinito/test_ghcr_mirror.py b/tests/unit/python/utils/env/handlers/infinito/test_ghcr_mirror.py new file mode 100644 index 0000000000..3242ff25c1 --- /dev/null +++ b/tests/unit/python/utils/env/handlers/infinito/test_ghcr_mirror.py @@ -0,0 +1,51 @@ +from __future__ import annotations + +import os +import unittest +from pathlib import Path +from unittest.mock import patch + +from utils.env.builder import BuildContext, EnvBuilder +from utils.env.handlers.infinito import ghcr_mirror as handler + +_BLANK = {handler.KEY: ""} + + +def _ctx(*, on_gha: bool = False, on_act: bool = False) -> BuildContext: + return BuildContext( + static={}, + static_comments={handler.KEY: handler.COMMENT}, + repo_root=Path("/repo"), + on_gha=on_gha, + on_act=on_act, + ) + + +def _apply(ctx: BuildContext) -> str: + eb = EnvBuilder() + handler.apply(eb, ctx) + return eb.values[handler.KEY] + + +class TestGhcrMirrorDefault(unittest.TestCase): + @patch.dict(os.environ, _BLANK, clear=False) + def test_a_developer_machine_pulls_upstream(self) -> None: + self.assertEqual(_apply(_ctx()), "false") + + @patch.dict(os.environ, _BLANK, clear=False) + def test_a_github_runner_uses_the_mirror(self) -> None: + self.assertEqual(_apply(_ctx(on_gha=True)), "true") + + @patch.dict(os.environ, _BLANK, clear=False) + def test_act_pulls_upstream(self) -> None: + self.assertEqual(_apply(_ctx(on_act=True)), "false") + + +class TestGhcrMirrorIsNotPinnable(unittest.TestCase): + @patch.dict(os.environ, {handler.KEY: "true"}, clear=False) + def test_a_live_declaration_is_recomputed_not_adopted(self) -> None: + self.assertEqual(_apply(_ctx()), "false") + + +if __name__ == "__main__": # pragma: no cover + unittest.main() diff --git a/utils/env/README.md b/utils/env/README.md index 0ea6163209..e2b5012e31 100644 --- a/utils/env/README.md +++ b/utils/env/README.md @@ -40,7 +40,7 @@ The writer a handler picks decides how long a value lives. Both kinds are regist `setdefault` is the operator-override contract: exporting a key changes it and the change persists. That persistence is why it MUST NOT carry a value an environment declares for a single run. [Makefile](../../Makefile) exports `BASH_ENV`, so every make recipe sources `.env` โ€” a value adopted once is re-exported into every later recipe and into every container that mounts the repo, and a per-run decision has silently become a property of the machine. -A key that some environment declares per run therefore MUST be written by a dedicated handler through `eb.set`. The exporting shell still wins for its own run, because [load.sh](../../scripts/meta/env/load.sh) preserves non-empty caller values when it sources `.env`; the file keeps the derived default. `INFINITO_RUNNING_ON_GITHUB` and `INFINITO_CACHE_STACK` are written this way. Note the consequence: for those keys `.env` and the running shell can legitimately disagree, and `.env` is not the authority. +A key that some environment declares per run therefore MUST be written by a dedicated handler through `eb.set`. The exporting shell still wins for its own run, because [load.sh](../../scripts/meta/env/load.sh) preserves non-empty caller values when it sources `.env`; the file keeps the derived default. `INFINITO_RUNNING_ON_GITHUB`, `INFINITO_CACHE_STACK` and `INFINITO_GHCR_MIRROR` are written this way. Note the consequence: for those keys `.env` and the running shell can legitimately disagree, and `.env` is not the authority. ## Import Rules ๐Ÿ”— diff --git a/utils/env/handlers/__init__.py b/utils/env/handlers/__init__.py index bb368829e8..e050f72639 100644 --- a/utils/env/handlers/__init__.py +++ b/utils/env/handlers/__init__.py @@ -19,6 +19,7 @@ from .infinito import ( container, distros, domain, + ghcr_mirror, git_identity, gpu_count, image, @@ -98,6 +99,7 @@ ORDERED_HANDLERS = [ cache_registries, cache_stack, cache_paths, + ghcr_mirror, tor_socks_port, is_wsl2, ca_bundle_candidates, diff --git a/utils/env/handlers/infinito/ghcr_mirror.py b/utils/env/handlers/infinito/ghcr_mirror.py new file mode 100644 index 0000000000..136c370ba7 --- /dev/null +++ b/utils/env/handlers/infinito/ghcr_mirror.py @@ -0,0 +1,15 @@ +"""INFINITO_GHCR_MIRROR: whether image references are rewritten to the GHCR mirror.""" + +from __future__ import annotations + +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from utils.env.builder import BuildContext, EnvBuilder + +KEY = "INFINITO_GHCR_MIRROR" +COMMENT = "True where images come from the GHCR mirror instead of their upstream registry (real GitHub Actions)." + + +def apply(eb: EnvBuilder, ctx: BuildContext) -> None: + eb.set(KEY, "true" if ctx.on_gha else "false", comment=COMMENT) diff --git a/utils/env/handlers/passthrough.py b/utils/env/handlers/passthrough.py index 7a48c6eb67..fc459c0154 100644 --- a/utils/env/handlers/passthrough.py +++ b/utils/env/handlers/passthrough.py @@ -124,6 +124,7 @@ STATIC_KEYS = ( "INFINITO_GIT_COMMON_DIR", "INFINITO_CACHE_NETWORK", "INFINITO_CACHE_STACK", + "INFINITO_GHCR_MIRROR", "INFINITO_CACHE_REGISTRY_HOST_PATH", "INFINITO_CACHE_REGISTRY_CA_HOST_PATH", "INFINITO_CACHE_REGISTRY_IP",