Skip to content

Commit

Permalink
Bump up version
Browse files Browse the repository at this point in the history
  • Loading branch information
ignas-sakalauskas committed Oct 12, 2024
1 parent 0e2f8c3 commit b3f3cf2
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 11 deletions.
11 changes: 8 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
dotnet pack

# default platform (hardcoded tag)
docker build . --file src/SnsTestReceiver.Api/Dockerfile --tag ignassakalauskas/sns-test-receiver:3.0-beta1
docker build . --file src/SnsTestReceiver.Api/Dockerfile --tag ignassakalauskas/sns-test-receiver:3.0.1

# multi-platform (hardcoded tag)
docker buildx create --name mybuilder --bootstrap --use
docker buildx use --builder mybuilder
docker buildx build --platform linux/amd64,linux/arm64,linux/arm64/v7 --tag ignassakalauskas/sns-test-receiver:3.0-beta3 . --file ./src/SnsTestReceiver.Api/Dockerfile --no-cache --progress=plain --push
docker buildx build --platform linux/amd64,linux/arm64,linux/arm64/v7 --tag ignassakalauskas/sns-test-receiver:3.0.1 . --file ./src/SnsTestReceiver.Api/Dockerfile --no-cache --progress=plain --push

docker buildx build --load --tag ignassakalauskas/sns-test-receiver:3.0-beta1 . --file ./src/SnsTestReceiver.Api/Dockerfile
docker buildx build --load --tag ignassakalauskas/sns-test-receiver:3.0.1 . --file ./src/SnsTestReceiver.Api/Dockerfile

# environment variables for local development
export AWS_ACCESS_KEY_ID=xx
export AWS_SECRET_ACCESS_KEY=xx
export AWS_DEFAULT_REGION=eu-west-1
2 changes: 1 addition & 1 deletion example/SimpleIntegrationTest/SimpleIntegrationTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="AWSSDK.SimpleNotificationService" Version="3.7.400.29" />
<PackageReference Include="FluentAssertions" Version="6.12.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="SnsTestReceiver.Sdk" Version="3.0.0" />
<PackageReference Include="SnsTestReceiver.Sdk" Version="3.0.1" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 1 addition & 1 deletion example/SimpleIntegrationTest/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- "4566:4566"

sns-test-receiver:
image: ignassakalauskas/sns-test-receiver:latest
image: ignassakalauskas/sns-test-receiver:3.0.1
container_name: sns-test-receiver
ports:
- "5000:5000"
3 changes: 3 additions & 0 deletions src/SnsTestReceiver.Sdk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Readme

This is an SDK package for [SnsTestReceiver](https://github.com/ignas-sakalauskas/SnsTestReceiver).
13 changes: 10 additions & 3 deletions src/SnsTestReceiver.Sdk/SnsTestReceiver.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Version>3.0.0</Version>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<FileVersion>3.0.0.0</FileVersion>
<Version>3.0.1</Version>
<AssemblyVersion>3.0.1.0</AssemblyVersion>
<FileVersion>3.0.1.0</FileVersion>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -23,5 +25,10 @@
<PackageReference Include="System.Text.Json" Version="8.0.5" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
</ItemGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\"/>
<None Include="..\..\LICENSE" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.Configuration;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ protected IntegrationTestsBase(WebApplicationFactory<Startup> factory)
factory.Server.AllowSynchronousIO = true;
HttpClient = factory.CreateClient();


var configuration = factory.Server.Host.Services.GetService<IConfiguration>();
TopicArn = configuration.GetValue<string>("SNS:TopicArn");

Expand Down

0 comments on commit b3f3cf2

Please sign in to comment.