Skip to content

Commit db55bdf

Browse files
authored
chore(.net): add ddb local to .net release (#2075)
1 parent 10f809d commit db55bdf

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

DynamoDbEncryption/codebuild/release-staging.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ phases:
6060

6161
# run test vectors
6262
- cd ../TestVectors
63+
# Spin up ddb local
64+
- docker run --name dynamodb -d -p 8000:8000 amazon/dynamodb-local -port 8000 -inMemory -cors *
65+
6366
- sed -i.backup "/\<ProjectReference Include=\"..\/..\/..\/DynamoDbEncryption\/runtimes\/net\/DynamoDbEncryption.csproj\" \/>/d" runtimes/net/DbEsdkTestVectors.csproj
6467
- dotnet add runtimes/net/DbEsdkTestVectors.csproj package AWS.Cryptography.DbEncryptionSDK.DynamoDb --version $VERSION
6568
- make transpile_net

DynamoDbEncryption/codebuild/test-prod.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ phases:
3636

3737
# run test vectors
3838
- cd ../TestVectors
39+
# Spin up ddb local
40+
- docker run --name dynamodb -d -p 8000:8000 amazon/dynamodb-local -port 8000 -inMemory -cors *
41+
3942
- sed -i.backup "/\<ProjectReference Include=\"..\/..\/..\/DynamoDbEncryption\/runtimes\/net\/DynamoDbEncryption.csproj\" \/>/d" runtimes/net/DbEsdkTestVectors.csproj
4043
- dotnet add runtimes/net/DbEsdkTestVectors.csproj package AWS.Cryptography.DbEncryptionSDK.DynamoDb --version $VERSION
4144
- make transpile_net

0 commit comments

Comments
 (0)