Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit fdcb850

Browse files
JeremyIRpluckyswansaquino0827jherrflexionsomesylvie
committed
clean up load tests files and add cron job for az loadtest
Co-authored-by: pluckyswan <96704946+pluckyswan@users.noreply.github.com> Co-authored-by: saquino0827 <saquino@flexion.us> Co-authored-by: James Herr <jherr@flexion.us> Co-authored-by: Sylvie <sschuresko@flexion.us> Co-authored-by: jcrichlake <jeff.crichlake@agile6.com>
1 parent d14e96f commit fdcb850

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/azure-load-tests.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ on:
55
branches:
66
- azure-load-tests
77
workflow_dispatch:
8-
#schedule:
9-
#- cron: "0 0 * * 1"
8+
schedule:
9+
- cron: "0 0 * * 1"
1010

1111
workflow_call:
1212
secrets:
@@ -42,13 +42,11 @@ jobs:
4242
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4343

4444
# Run the Azure Load Test
45-
- name: Run Load Test On Push
45+
- name: Run Load Test
4646
run: |
4747
az load test-run create \
4848
--resource-group "csels-rsti-internal-moderate-rg" \
49-
--load-test-resource "load-testing-internal" \
49+
--load-test-resource "jeff-load-test" \
5050
--test-id "9020b745-5fc4-4284-8803-04076ea09650" \
51-
--test-run-id "run_"`date +"%Y%m%d%_H%M%S"`
52-
53-
54-
51+
--test-run-id "run_"`date +"%Y%m%d%_H%M%S"` \
52+
--description "Run by Github Action"

operations/locustfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def get_auth_request_body():
144144
# using a valid test token found in the mock_credentials directory
145145

146146
# TODO - notes/clarification on 2 different creds, plus expiration date of jwt
147-
# TODO - do we want to TF the tests? If yes which envs? In CDC envs, may need to adjust IP allow list on app. Also set as private endpoints in test config?
148147
# TODO - currently in Azure we're specifying a version for the key vault item (so if it gets updated, we'll be referencing an old version) - do we want to change this?
149148
if in_azure:
150149
auth_token = os.getenv("trusted-intermediary-valid-token-jwt")

0 commit comments

Comments
 (0)