Commit bc6efb6 1 parent cb59d1f commit bc6efb6 Copy full SHA for bc6efb6
File tree 4 files changed +15
-5
lines changed
4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 1
1
## Enhancements
2
2
3
3
- Uncaught exceptions are now logged as critical errors.
4
- - Exceptions are logged under the "Lambdajection" Log Category, which can be filtered out via ILambdaStartup.ConfigureLogging.
4
+ - Exceptions are logged under the "Lambdajection" Log Category, which can be filtered out via ILambdaStartup.ConfigureLogging.
5
+ - The Lambdajection Lambda Layer now supports arm64-based lambdas.
Original file line number Diff line number Diff line change 26
26
<ProjectReference Include =" ../Attributes/Attributes.csproj" PrivateAssets =" runtime" />
27
27
</ItemGroup >
28
28
29
- <Target Name =" CreateStore" DependsOnTargets =" GetBuildVersion;ResolvePackageAssets" >
29
+ <ItemGroup >
30
+ <LayerArchitectures Include =" arm64" />
31
+ <LayerArchitectures Include =" x64" />
32
+ </ItemGroup >
33
+
34
+ <Target Name =" CreateStore" DependsOnTargets =" GetBuildVersion;ResolvePackageAssets" Outputs =" %(LayerArchitectures.Identity)" >
30
35
<PropertyGroup >
36
+ <CurrentArchitecture >%(LayerArchitectures.Identity)</CurrentArchitecture >
31
37
<ReferencePaths >@(ReferencePath, '%253B')</ReferencePaths >
32
38
</PropertyGroup >
33
39
34
40
<ItemGroup >
35
41
<StoreArgs Include =" --manifest $(MSBuildThisFileDirectory)/Manifest/Manifest.csproj" />
36
42
<StoreArgs Include =" --output $(OutputPath)/layer" />
37
- <StoreArgs Include =" --runtime linux-x64 " />
43
+ <StoreArgs Include =" --runtime linux-$(CurrentArchitecture) " />
38
44
<!-- Optimized runtime package stores does not work on .NET 6 -->
39
45
<StoreArgs Include =" --skip-optimization" />
40
46
<StoreArgs Include =" /p:Configuration=$(Configuration)" />
53
59
<Exec Command =" dotnet store @(StoreArgs, ' ')" StandardOutputImportance =" low" />
54
60
55
61
<ItemGroup >
56
- <Content Include =" $(OutputPath)layer/x64 /net6.0/artifact.xml" />
62
+ <Content Include =" $(OutputPath)layer/$(CurrentArchitecture) /net6.0/artifact.xml" Condition = " $(CurrentArchitecture) == 'x64' " />
57
63
</ItemGroup >
58
64
</Target >
59
65
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ Resources:
25
25
Description : Lambda Layer for Lambajection
26
26
CompatibleRuntimes :
27
27
- provided.al2
28
+ CompatibleArchitectures :
29
+ - x86_64
30
+ - arm64
28
31
ContentUri : ./layer
29
32
LicenseInfo : MIT
30
33
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<TargetFramework >net6.0</TargetFramework >
4
- <RuntimeIdentifier >linux-x64</ RuntimeIdentifier >
4
+ <RuntimeIdentifiers >linux-x64;linux-arm64</ RuntimeIdentifiers >
5
5
<RestoreLockedMode >false</RestoreLockedMode >
6
6
<RestorePackagesPath >$(MSBuildThisFileDirectory).nuget</RestorePackagesPath >
7
7
<RestoreAdditionalProjectSources >$(PackageOutputPath);$(RestoreAdditionalProjectSources)</RestoreAdditionalProjectSources >
You can’t perform that action at this time.
0 commit comments