This repository was archived by the owner on Feb 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-25
lines changed
Expand file tree Collapse file tree 1 file changed +2
-25
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - azure-load-tests
7- # schedule:
8-
9- # - cron: "0 0 * * 1"
10-
117 workflow_dispatch :
12- inputs :
13- load-test-name :
14- required : true
15- type : string
16- description : name of load test that is run
17- test-id :
18- required : true
19- type : string
20- description : test id for load test
8+ # schedule:
9+ # - cron: "0 0 * * 1"
2110
2211 workflow_call :
2312 secrets :
@@ -52,26 +41,14 @@ jobs:
5241 tenant-id : ${{ secrets.AZURE_TENANT_ID }}
5342 subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
5443
55-
5644 # Run the Azure Load Test
5745 - name : Run Load Test On Push
58- if : github.event_name == 'push'
5946 run : |
6047 az load test-run create \
6148 --resource-group "csels-rsti-internal-moderate-rg" \
6249 --load-test-resource "load-testing-internal" \
6350 --test-id "9020b745-5fc4-4284-8803-04076ea09650" \
6451 --test-run-id "run_"`date +"%Y%m%d%_H%M%S"`
65- # Run the Azure Load Test
6652
67- - name : Trigger Load Test
68- if : github.event_name == 'workflow_dispatch'
69- run : |
70- az load test-run create \
71- --resource-group "csels-rsti-internal-moderate-rg" \
72- --load-test-resource "${{ github.event.inputs.load-test-name }}" \
73- --test-id "${{ github.event.inputs.test-id }}" \
74- --test-run-id "run_"`date +"%Y%m%d%_H%M%S"`
75-
7653
7754
You can’t perform that action at this time.
0 commit comments