Skip to content

Commit

Permalink
fix: pin docker dynamodb-local test image (#164)
Browse files Browse the repository at this point in the history
* fix: pin docker test image

* remove merge change

* specify version for dynamo-locla
  • Loading branch information
kyeotic authored Dec 14, 2023
1 parent 2ed36d2 commit 8f029e5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

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

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kotlin.code.style=official

GROUP=app.cash.tempest
VERSION_NAME=1.10.2
VERSION_NAME=1.10.2-SNAPSHOT

#org.gradle.jvmargs=-Xmx2024m

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class DockerDynamoDbServer private constructor(
val exposedClientPort = ExposedPort.tcp(8000)
val portBindings = Ports()
portBindings.bind(exposedClientPort, Ports.Binding.bindPort(port))
withImage("amazon/dynamodb-local")
withImage("amazon/dynamodb-local:2.1.0")
.withName(id)
.withExposedPorts(exposedClientPort)
.withCmd("-jar", "DynamoDBLocal.jar", "-sharedDb")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class DockerDynamoDbServer private constructor(
val exposedClientPort = ExposedPort.tcp(8000)
val portBindings = Ports()
portBindings.bind(exposedClientPort, Ports.Binding.bindPort(port))
withImage("amazon/dynamodb-local")
withImage("amazon/dynamodb-local:2.1.0")
.withName(id)
.withExposedPorts(exposedClientPort)
.withCmd("-jar", "DynamoDBLocal.jar", "-sharedDb")
Expand Down

0 comments on commit 8f029e5

Please sign in to comment.