-
Notifications
You must be signed in to change notification settings - Fork 36
70 lines (63 loc) · 1.92 KB
/
net-31-pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: NET 31
permissions:
id-token: write
contents: read
on:
workflow_dispatch:
push:
branches:
- main
paths:
- src/NET31/**
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and Deploy
uses: ./.github/actions/sam-build-and-deploy
with:
aws-role: ${{ secrets.AWS_SAM_DEPLOYMENT_ROLE }}
aws-region: ${{ secrets.AWS_REGION }}
dotnet-version: '3.1.x'
template-file-path: ./src/NET31/template.yaml
stack-name: net-31-base
s3-bucket-name: aws-dotnet-lambda-testing
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_31_ARM }}
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_31_X86 }}
generate-report-arm:
needs: [load-test-arm, load-test-x86]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate reports
uses: ./.github/actions/generate-report
with:
api-endpoint: ${{ secrets.API_ENDPOINT_NET_31_ARM }}
output-report-file-name: net-6-minimal-arm-output.md
generate-report-x86:
needs: [generate-report-arm]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate reports
uses: ./.github/actions/generate-report
with:
api-endpoint: ${{ secrets.API_ENDPOINT_NET_31_X86 }}
output-report-file-name: net-6-minimal-x86-output.md