Skip to content

Commit 8f029e5

Browse files
authored
fix: pin docker dynamodb-local test image (#164)
* fix: pin docker test image * remove merge change * specify version for dynamo-locla
1 parent 2ed36d2 commit 8f029e5

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## [1.10.2-SNAPSHOT] - 2023-12-14
4+
* Fix: Pin DynamoDB Docker image to 2.1.0 to avoid breaking issue with latest
5+
*
36
## [1.10.2] - 2023-08-16
47
* Fix: Creating new tag for publication
58

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
kotlin.code.style=official
22

33
GROUP=app.cash.tempest
4-
VERSION_NAME=1.10.2
4+
VERSION_NAME=1.10.2-SNAPSHOT
55

66
#org.gradle.jvmargs=-Xmx2024m
77

tempest-testing-docker/src/main/kotlin/app/cash/tempest/testing/DockerDynamoDbServer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class DockerDynamoDbServer private constructor(
5959
val exposedClientPort = ExposedPort.tcp(8000)
6060
val portBindings = Ports()
6161
portBindings.bind(exposedClientPort, Ports.Binding.bindPort(port))
62-
withImage("amazon/dynamodb-local")
62+
withImage("amazon/dynamodb-local:2.1.0")
6363
.withName(id)
6464
.withExposedPorts(exposedClientPort)
6565
.withCmd("-jar", "DynamoDBLocal.jar", "-sharedDb")

tempest2-testing-docker/src/main/kotlin/app/cash/tempest2/testing/DockerDynamoDbServer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class DockerDynamoDbServer private constructor(
5858
val exposedClientPort = ExposedPort.tcp(8000)
5959
val portBindings = Ports()
6060
portBindings.bind(exposedClientPort, Ports.Binding.bindPort(port))
61-
withImage("amazon/dynamodb-local")
61+
withImage("amazon/dynamodb-local:2.1.0")
6262
.withName(id)
6363
.withExposedPorts(exposedClientPort)
6464
.withCmd("-jar", "DynamoDBLocal.jar", "-sharedDb")

0 commit comments

Comments
 (0)