From 606e43f5eb6bf8bd922c97894ef131df0d235480 Mon Sep 17 00:00:00 2001 From: Vardhan Thigle Date: Fri, 20 Dec 2024 09:17:43 +0000 Subject: [PATCH] Updating DynamoDB version --- .../workflows/integration-tests-against-emulator.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integration-tests-against-emulator.yaml b/.github/workflows/integration-tests-against-emulator.yaml index f39322639..181fc5932 100644 --- a/.github/workflows/integration-tests-against-emulator.yaml +++ b/.github/workflows/integration-tests-against-emulator.yaml @@ -43,7 +43,7 @@ jobs: # set DynamoDB related environment variables AWS_ACCESS_KEY_ID: dummyId AWS_SECRET_ACCESS_KEY: dummyKey - AWS_REGION: dummyRegion + AWS_REGION: local DYNAMODB_ENDPOINT_OVERRIDE: http://localhost:8000 # sql server envs @@ -76,10 +76,15 @@ jobs: # needed because the mysql container does not provide a healthcheck options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 dynamodb_emulator: - image: amazon/dynamodb-local:1.16.0 + image: amazon/dynamodb-local:2.5.3 ports: - 8000:8000 - options: --workdir /home/dynamodblocal --health-cmd "curl --fail http://127.0.0.1:8000/shell/ || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5 + - 8001:8000 + env: + AWS_ACCESS_KEY_ID: dummyId + AWS_SECRET_ACCESS_KEY: dummyKey + AWS_REGION: local + options: --workdir /home/dynamodblocal --health-cmd "curl --fail http://localhost:8000/shell/ || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5 sqlserver: image: mcr.microsoft.com/mssql/server:2022-latest env: