Skip to content

Commit

Permalink
Adding .NET 9 canary and updating .sln with more github action links (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Beau-Gosse-dev authored Sep 18, 2024
1 parent 3fe3222 commit 82d144f
Show file tree
Hide file tree
Showing 22 changed files with 2,501 additions and 1 deletion.
45 changes: 45 additions & 0 deletions .github/workflows/net-9-pipeline-canary.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: NET 9 Custom Runtime Canary

on:
workflow_dispatch:
schedule:
# Run this once a day to check if everything is still working as expected.
- cron: "30 23 * * *"

jobs:

build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and Deploy
uses: ./.github/actions/sam-build-and-deploy-native
with:
aws-access-key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
dotnet-version: '9.x'
template-file-path: ./src/NET9CustomRuntime/template.yaml
project-directory: ./src/NET9CustomRuntime/
stack-name: net-9-customRuntime
s3-bucket-name: aws-dotnet-lambda-testing

load-test-x86:
needs: build-deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Load Tests
uses: ./.github/actions/run-load-test
with:
api-endpoint: ${{ secrets.API_ENDPOINT_NET_9_CUSTOM_RUNTIME_X86 }}

load-test-arm:
needs: build-deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Load Tests
uses: ./.github/actions/run-load-test
with:
api-endpoint: ${{ secrets.API_ENDPOINT_NET_9_CUSTOM_RUNTIME_ARM }}
81 changes: 81 additions & 0 deletions DotnetServerlessDemo.sln
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,55 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "metrics", "metrics", "{420B
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "logsToMetrics", "metrics\src\logsToMetrics\logsToMetrics.csproj", "{16CA6B48-F18F-4CFF-98D5-DD33E5066A16}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NET9CustomRuntime", "NET9CustomRuntime", "{A85E5BE3-CA61-499F-B819-127944EC3A5C}"
ProjectSection(SolutionItems) = preProject
src\NET9CustomRuntime\Makefile = src\NET9CustomRuntime\Makefile
src\NET9CustomRuntime\template.yaml = src\NET9CustomRuntime\template.yaml
.github\workflows\net-9-pipeline-canary.yaml = .github\workflows\net-9-pipeline-canary.yaml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeleteProduct", "src\NET9CustomRuntime\DeleteProduct\DeleteProduct.csproj", "{8A545DEF-C766-42E4-948E-1807CD9B703F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GetProduct", "src\NET9CustomRuntime\GetProduct\GetProduct.csproj", "{04D76857-7A53-4B70-8D3E-0FD2614AC7A1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GetProducts", "src\NET9CustomRuntime\GetProducts\GetProducts.csproj", "{553409B3-DA20-436E-823F-F5F590CACC11}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PutProduct", "src\NET9CustomRuntime\PutProduct\PutProduct.csproj", "{78DE821A-CC51-4387-9863-C10C35F092CD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared", "src\NET9CustomRuntime\Shared\Shared.csproj", "{8F6D9BF5-2763-4136-B08B-262CFF237E00}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub", "GitHub", "{6EBD8D18-8091-4406-BEE5-99E9B3F3343E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "generate-report", "generate-report", "{3CEA22A8-720D-48AA-BECC-4689DDD5B565}"
ProjectSection(SolutionItems) = preProject
.github\actions\generate-report\action.yml = .github\actions\generate-report\action.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "run-load-test", "run-load-test", "{8871E566-208B-4A5E-A091-942472B81D4B}"
ProjectSection(SolutionItems) = preProject
.github\actions\run-load-test\action.yml = .github\actions\run-load-test\action.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sam-build-and-deploy", "sam-build-and-deploy", "{0515B3A0-9C89-4239-A0AE-771849E39C99}"
ProjectSection(SolutionItems) = preProject
.github\actions\sam-build-and-deploy\action.yml = .github\actions\sam-build-and-deploy\action.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sam-build-and-deploy-containers", "sam-build-and-deploy-containers", "{8DEAFADE-57B4-4DC6-B5E9-C6FF62169D90}"
ProjectSection(SolutionItems) = preProject
.github\actions\sam-build-and-deploy-containers\action.yml = .github\actions\sam-build-and-deploy-containers\action.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sam-build-and-deploy-native", "sam-build-and-deploy-native", "{3732BFAB-E2FF-4492-978A-26187BC46F33}"
ProjectSection(SolutionItems) = preProject
.github\actions\sam-build-and-deploy-native\action.yml = .github\actions\sam-build-and-deploy-native\action.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sam-build-and-deploy-native-arm", "sam-build-and-deploy-native-arm", "{7A31BEFB-05B0-40D6-8CA2-BC2D48C99F3B}"
ProjectSection(SolutionItems) = preProject
.github\actions\sam-build-and-deploy-native-arm\action.yml = .github\actions\sam-build-and-deploy-native-arm\action.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -327,6 +376,26 @@ Global
{16CA6B48-F18F-4CFF-98D5-DD33E5066A16}.Debug|Any CPU.Build.0 = Debug|Any CPU
{16CA6B48-F18F-4CFF-98D5-DD33E5066A16}.Release|Any CPU.ActiveCfg = Release|Any CPU
{16CA6B48-F18F-4CFF-98D5-DD33E5066A16}.Release|Any CPU.Build.0 = Release|Any CPU
{8A545DEF-C766-42E4-948E-1807CD9B703F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8A545DEF-C766-42E4-948E-1807CD9B703F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8A545DEF-C766-42E4-948E-1807CD9B703F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8A545DEF-C766-42E4-948E-1807CD9B703F}.Release|Any CPU.Build.0 = Release|Any CPU
{04D76857-7A53-4B70-8D3E-0FD2614AC7A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{04D76857-7A53-4B70-8D3E-0FD2614AC7A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{04D76857-7A53-4B70-8D3E-0FD2614AC7A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{04D76857-7A53-4B70-8D3E-0FD2614AC7A1}.Release|Any CPU.Build.0 = Release|Any CPU
{553409B3-DA20-436E-823F-F5F590CACC11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{553409B3-DA20-436E-823F-F5F590CACC11}.Debug|Any CPU.Build.0 = Debug|Any CPU
{553409B3-DA20-436E-823F-F5F590CACC11}.Release|Any CPU.ActiveCfg = Release|Any CPU
{553409B3-DA20-436E-823F-F5F590CACC11}.Release|Any CPU.Build.0 = Release|Any CPU
{78DE821A-CC51-4387-9863-C10C35F092CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{78DE821A-CC51-4387-9863-C10C35F092CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78DE821A-CC51-4387-9863-C10C35F092CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78DE821A-CC51-4387-9863-C10C35F092CD}.Release|Any CPU.Build.0 = Release|Any CPU
{8F6D9BF5-2763-4136-B08B-262CFF237E00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8F6D9BF5-2763-4136-B08B-262CFF237E00}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8F6D9BF5-2763-4136-B08B-262CFF237E00}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F6D9BF5-2763-4136-B08B-262CFF237E00}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -381,6 +450,18 @@ Global
{C3C0404C-8A83-407D-96ED-F04A85282E32} = {F2B3C381-621E-4C28-9147-DCB4AAAD50C0}
{6FAFFF6E-13E4-4600-AC83-F63E54F1B054} = {10804C75-4CC5-4383-8F37-F8C0073460B9}
{16CA6B48-F18F-4CFF-98D5-DD33E5066A16} = {420B6538-4CB8-49F2-B245-54C6C8C9992A}
{A85E5BE3-CA61-499F-B819-127944EC3A5C} = {9C68029C-9945-4EFB-B6C7-7FA24303A589}
{8A545DEF-C766-42E4-948E-1807CD9B703F} = {A85E5BE3-CA61-499F-B819-127944EC3A5C}
{04D76857-7A53-4B70-8D3E-0FD2614AC7A1} = {A85E5BE3-CA61-499F-B819-127944EC3A5C}
{553409B3-DA20-436E-823F-F5F590CACC11} = {A85E5BE3-CA61-499F-B819-127944EC3A5C}
{78DE821A-CC51-4387-9863-C10C35F092CD} = {A85E5BE3-CA61-499F-B819-127944EC3A5C}
{8F6D9BF5-2763-4136-B08B-262CFF237E00} = {A85E5BE3-CA61-499F-B819-127944EC3A5C}
{3CEA22A8-720D-48AA-BECC-4689DDD5B565} = {6EBD8D18-8091-4406-BEE5-99E9B3F3343E}
{8871E566-208B-4A5E-A091-942472B81D4B} = {6EBD8D18-8091-4406-BEE5-99E9B3F3343E}
{0515B3A0-9C89-4239-A0AE-771849E39C99} = {6EBD8D18-8091-4406-BEE5-99E9B3F3343E}
{8DEAFADE-57B4-4DC6-B5E9-C6FF62169D90} = {6EBD8D18-8091-4406-BEE5-99E9B3F3343E}
{3732BFAB-E2FF-4492-978A-26187BC46F33} = {6EBD8D18-8091-4406-BEE5-99E9B3F3343E}
{7A31BEFB-05B0-40D6-8CA2-BC2D48C99F3B} = {6EBD8D18-8091-4406-BEE5-99E9B3F3343E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {47CF4F5B-EF7B-4BFC-AA6A-31504BF0CA10}
Expand Down
4 changes: 3 additions & 1 deletion metrics/src/logsToMetrics/Function.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public class Function
"/aws/lambda/net-8-base-x86-64",
"/aws/lambda/net-8-base-arm64",
"/aws/lambda/net-8-native-x86-64",
"/aws/lambda/net-8-native-arm64"
"/aws/lambda/net-8-native-arm64",
"/aws/lambda/net-9-customRuntime-arm64",
"/aws/lambda/net-9-customRuntime-x86-64"
};

public Function()
Expand Down
Loading

0 comments on commit 82d144f

Please sign in to comment.