From 8bda346ce09603edf432d743d7655761b636d299 Mon Sep 17 00:00:00 2001 From: Niall Thomson Date: Fri, 13 Dec 2024 15:10:54 -0700 Subject: [PATCH] fix: Use consistent DynamoDB local image version (#698) --- deploy/kubernetes/charts/carts/values.yaml | 2 +- src/cart/docker-compose.yml | 2 +- .../amazon/sample/carts/services/DynamoDBCartServiceTests.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/kubernetes/charts/carts/values.yaml b/deploy/kubernetes/charts/carts/values.yaml index 9ba4a61ff..de4a85f42 100644 --- a/deploy/kubernetes/charts/carts/values.yaml +++ b/deploy/kubernetes/charts/carts/values.yaml @@ -82,7 +82,7 @@ dynamodb: image: repository: amazon/dynamodb-local pullPolicy: IfNotPresent - tag: "1.13.1" + tag: "1.20.0" service: type: ClusterIP diff --git a/src/cart/docker-compose.yml b/src/cart/docker-compose.yml index bc35eebe6..9762478ff 100644 --- a/src/cart/docker-compose.yml +++ b/src/cart/docker-compose.yml @@ -37,7 +37,7 @@ services: condition: service_healthy carts-db: - image: amazon/dynamodb-local:1.13.1 + image: amazon/dynamodb-local:1.20.0 hostname: carts-db restart: always cap_drop: diff --git a/src/cart/src/test/java/com/amazon/sample/carts/services/DynamoDBCartServiceTests.java b/src/cart/src/test/java/com/amazon/sample/carts/services/DynamoDBCartServiceTests.java index 3cb2622dd..09bd44f2e 100644 --- a/src/cart/src/test/java/com/amazon/sample/carts/services/DynamoDBCartServiceTests.java +++ b/src/cart/src/test/java/com/amazon/sample/carts/services/DynamoDBCartServiceTests.java @@ -59,7 +59,7 @@ public class DynamoDBCartServiceTests extends AbstractServiceTests { @Container public static GenericContainer dynamodbContainer = - new GenericContainer<>("amazon/dynamodb-local:1.13.3") + new GenericContainer<>("amazon/dynamodb-local:1.20.0") .withExposedPorts(DYNAMODB_PORT); @Override