Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Base2.Lambdas.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Authors>Nikola Tosic</Authors>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<NetStandardImplicitPackageVersion>1.1.0</NetStandardImplicitPackageVersion>
<AssemblyName>Base2.Lambdas</AssemblyName>
<OutputType>Exe</OutputType>
Expand All @@ -15,5 +15,9 @@
<PackageReference Include="AWSSDK.S3" Version="3.3.7" />
<PackageReference Include="AWSSDK.AutoScaling" Version="3.3.0.19" />
<PackageReference Include="AWSSDK.Lambda" Version="3.3.6.2" />
<PackageReference Include="Microsoft.AspNetCore.JsonPatch" Version="6.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="6.0.0" />
<PackageReference Include="System.Net.Http.Json" Version="6.0.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $ scripts/build_docker.sh
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.

Base2.Lambdas -> /project/bin/Debug/netcoreapp2.1/Base2.Lambdas.dll
Base2.Lambdas -> /project/bin/Debug/netcoreapp3.1/Base2.Lambdas.dll
adding: AWSSDK.AutoScaling.dll (deflated 70%)
adding: AWSSDK.Core.dll (deflated 66%)
adding: AWSSDK.EC2.dll (deflated 70%)
Expand Down
4 changes: 2 additions & 2 deletions scripts/build_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ cd $DIR/..
rm -rf bin
docker run --rm -v $HOME/.nuget:/root/.nuget -v $DIR/..:/project -w /project microsoft/dotnet dotnet restore
docker run --rm -v $HOME/.nuget:/root/.nuget -v $DIR/..:/project -w /project microsoft/dotnet dotnet publish
cd bin/Debug/netcoreapp2.1/publish && zip -r Base2.Lambdas.zip *
cd bin/Debug/netcoreapp6.0/publish && zip -r Base2.Lambdas.zip *
cd $WD
mv bin/Debug/netcoreapp2.1/publish/Base2.Lambdas.zip .
mv bin/Debug/netcoreapp6.0/publish/Base2.Lambdas.zip .
4 changes: 2 additions & 2 deletions scripts/build_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ cd $DIR/..
rm -rf bin
dotnet restore
dotnet publish
cd bin/Debug/netcoreapp2.1/publish && zip -r Base2.Lambdas.zip *
cd bin/Debug/netcoreapp6.0/publish && zip -r Base2.Lambdas.zip *
cd $WD
mv bin/Debug/netcoreapp2.1/publish/Base2.Lambdas.zip .
mv bin/Debug/netcoreapp6.0/publish/Base2.Lambdas.zip .
2 changes: 1 addition & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ service: manualawscleanup # NOTE: update this with your service name

provider:
name: aws
runtime: dotnetcore2.1
runtime: dotnet6
region: ${env:REGION}
deploymentBucket: ${env:SOURCE_BUCKET}
iamRoleStatements:
Expand Down