-
Notifications
You must be signed in to change notification settings - Fork 37
44 lines (39 loc) · 1.26 KB
/
net-6-pipeline-canary.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
name: NET 6 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
with:
aws-access-key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
dotnet-version: '6.x'
template-file-path: ./src/NET6/template.yaml
stack-name: net-6-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_6_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_6_X86 }}