Skip to content

Commit

Permalink
Fix net 8 native workflows (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
Beau-Gosse-dev authored Mar 8, 2024
1 parent 8aeac39 commit c9e567c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/net-8-native-aot-pipeline-canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build and Deploy
uses: ./.github/actions/sam-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: '8.x'
template-file-path: ./src/NET8/template.yaml
project-directory: ./src/NET8/
stack-name: net-8-base
template-file-path: ./src/NET8Native/template.yaml
project-directory: ./src/NET8Native/
stack-name: net-8-native
s3-bucket-name: aws-dotnet-lambda-testing

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

load-test-arm:
needs: build-deploy
Expand All @@ -42,4 +42,5 @@ jobs:
- name: Run Load Tests
uses: ./.github/actions/run-load-test
with:
api-endpoint: ${{ secrets.API_ENDPOINT_NET_8_ARM }}
api-endpoint: ${{ secrets.API_ENDPOINT_NET_8_NATIVE_ARM }}

5 changes: 3 additions & 2 deletions .github/workflows/net-8-native-aot-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
aws-region: ${{ secrets.AWS_REGION }}
dotnet-version: '8.x'
template-file-path: ./src/NET8Native/template.yaml
project-directory: ./src/NET8Native/
stack-name: net-8-native
s3-bucket-name: aws-dotnet-lambda-testing

Expand Down Expand Up @@ -80,7 +81,7 @@ jobs:
uses: ./.github/actions/generate-report
with:
api-endpoint: ${{ secrets.API_ENDPOINT_NET_8_NATIVE_ARM }}
output-report-file-name: net-8-arm-output.md
output-report-file-name: net-8-native-arm-output.md

generate-report-x86:
needs: [load-test-x86]
Expand All @@ -98,4 +99,4 @@ jobs:
uses: ./.github/actions/generate-report
with:
api-endpoint: ${{ secrets.API_ENDPOINT_NET_8_NATIVE_X86 }}
output-report-file-name: net-8-x86-output.md
output-report-file-name: net-8-native-x86-output.md
2 changes: 2 additions & 0 deletions src/NET8Native/NET8Native.sln
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shared", "Shared\Shared.csp
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "deployment", "deployment", "{323B0B91-464D-4622-B804-E7B3B3225AC2}"
ProjectSection(SolutionItems) = preProject
..\..\.github\workflows\net-8-native-aot-pipeline-canary.yaml = ..\..\.github\workflows\net-8-native-aot-pipeline-canary.yaml
..\..\.github\workflows\net-8-native-aot-pipeline.yaml = ..\..\.github\workflows\net-8-native-aot-pipeline.yaml
template.yaml = template.yaml
EndProjectSection
EndProject
Expand Down

0 comments on commit c9e567c

Please sign in to comment.