From a48e03bbd67ea6ee501af6969a1ab2032911c35f Mon Sep 17 00:00:00 2001 From: Alexis Lucattini Date: Wed, 22 Nov 2023 16:46:39 +1100 Subject: [PATCH 1/2] Set docker tag (as non-latest version)) Resolves https://github.com/umccr/cttso-ica-to-pieriandx/issues/190 Also lower urllib3 version for botocore --- .../Dockerfile | 2 +- .../Dockerfile | 2 +- .../Dockerfile | 2 +- .../cttso-ica-to-pieriandx-cdk/lambdas/layers/requirements.txt | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/get_metadata_from_portal_and_defaults_and_launch_validation_workflow/Dockerfile b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/get_metadata_from_portal_and_defaults_and_launch_validation_workflow/Dockerfile index 3677968..540f900 100644 --- a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/get_metadata_from_portal_and_defaults_and_launch_validation_workflow/Dockerfile +++ b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/get_metadata_from_portal_and_defaults_and_launch_validation_workflow/Dockerfile @@ -1,4 +1,4 @@ -FROM amazon/aws-lambda-python:latest +FROM amazon/aws-lambda-python:3.9.2023.11.10.13 LABEL maintainer="Alexis Lucattini" diff --git a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/get_metadata_from_portal_and_redcap_and_launch_clinical_workflow/Dockerfile b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/get_metadata_from_portal_and_redcap_and_launch_clinical_workflow/Dockerfile index 0b4eec0..c972891 100644 --- a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/get_metadata_from_portal_and_redcap_and_launch_clinical_workflow/Dockerfile +++ b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/get_metadata_from_portal_and_redcap_and_launch_clinical_workflow/Dockerfile @@ -1,4 +1,4 @@ -FROM amazon/aws-lambda-python:latest +FROM amazon/aws-lambda-python:3.9.2023.11.10.17 LABEL maintainer="Alexis Lucattini" diff --git a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/launch_available_payloads_and_update_cttso_lims_sheet/Dockerfile b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/launch_available_payloads_and_update_cttso_lims_sheet/Dockerfile index 19392b1..fc36e77 100644 --- a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/launch_available_payloads_and_update_cttso_lims_sheet/Dockerfile +++ b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/launch_available_payloads_and_update_cttso_lims_sheet/Dockerfile @@ -1,4 +1,4 @@ -FROM amazon/aws-lambda-python:latest +FROM amazon/aws-lambda-python:3.9.2023.11.10.13 LABEL maintainer="Alexis Lucattini" diff --git a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/layers/requirements.txt b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/layers/requirements.txt index d4e4f88..67f4e1a 100644 --- a/deploy/cttso-ica-to-pieriandx-cdk/lambdas/layers/requirements.txt +++ b/deploy/cttso-ica-to-pieriandx-cdk/lambdas/layers/requirements.txt @@ -13,3 +13,4 @@ python_dateutil==2.8.2 pytz==2022.7.1 requests==2.31.0 setuptools==67.2.0 +urllib3<2 From 18e8c91abbf990d95a99178f83beb8d10bcebc0a Mon Sep 17 00:00:00 2001 From: Alexis Lucattini Date: Wed, 22 Nov 2023 16:49:33 +1100 Subject: [PATCH 2/2] Updated changelog --- deploy/cttso-ica-to-pieriandx-cdk/Changelog.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/cttso-ica-to-pieriandx-cdk/Changelog.md b/deploy/cttso-ica-to-pieriandx-cdk/Changelog.md index 8bfcb74..0419190 100644 --- a/deploy/cttso-ica-to-pieriandx-cdk/Changelog.md +++ b/deploy/cttso-ica-to-pieriandx-cdk/Changelog.md @@ -15,7 +15,8 @@ are nested under deploy/cttso-ica-to-pieriandx-cdk. * Resolves https://github.com/umccr/cttso-ica-to-pieriandx/issues/184 * Use comma after needs_redcap column (https://github.com/umccr/cttso-ica-to-pieriandx/pull/186) * Resolves https://github.com/umccr/cttso-ica-to-pieriandx/issues/185 - +* Use non-latest docker tag. (https://github.com/umccr/cttso-ica-to-pieriandx/pull/191) + * Resolves https://github.com/umccr/cttso-ica-to-pieriandx/issues/190 ## 2023-11-08