From 0b3198dd3364d82ac31e33071cf82b1cd96afd11 Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Tue, 19 Sep 2023 13:56:15 +0100 Subject: [PATCH 1/2] Use fallback update method for nexus allowlist --- .../infrastructure/stacks/sre/software_repositories.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data_safe_haven/infrastructure/stacks/sre/software_repositories.py b/data_safe_haven/infrastructure/stacks/sre/software_repositories.py index dd83669806..acd491bbad 100644 --- a/data_safe_haven/infrastructure/stacks/sre/software_repositories.py +++ b/data_safe_haven/infrastructure/stacks/sre/software_repositories.py @@ -251,6 +251,12 @@ def __init__( name="NEXUS_PORT", value="8081", ), + # Use fallback updating method due to issue with changes to + # files on Azure storage mount not being recognised by entr + containerinstance.EnvironmentVariableArgs( + name="ENTR_FALLBACK", + value="1", + ), ], ports=[], resources=containerinstance.ResourceRequirementsArgs( From 6334d34606bf44a5aca0a895ee1120ef50987325 Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Thu, 28 Sep 2023 15:26:01 +0100 Subject: [PATCH 2/2] Update nexus allowlist container image --- .../infrastructure/stacks/sre/software_repositories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_safe_haven/infrastructure/stacks/sre/software_repositories.py b/data_safe_haven/infrastructure/stacks/sre/software_repositories.py index acd491bbad..94688e4124 100644 --- a/data_safe_haven/infrastructure/stacks/sre/software_repositories.py +++ b/data_safe_haven/infrastructure/stacks/sre/software_repositories.py @@ -232,7 +232,7 @@ def __init__( ], ), containerinstance.ContainerArgs( - image="ghcr.io/alan-turing-institute/nexus-allowlist:v0.6.0", + image="ghcr.io/alan-turing-institute/nexus-allowlist:v0.8.0", name="nexus-allowlist"[:63], environment_variables=[ containerinstance.EnvironmentVariableArgs(