Skip to content

Commit 08de322

Browse files
authored
Add API key from secrets (#1339)
1 parent dedfeda commit 08de322

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/performance-tests-one-time.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: One-time performance testing - 26th October 2023
1+
name: One-time performance testing - 8th November 2023
22

3-
# Run "At every 30th minute on day-of-month 26 in October"
3+
# Run "At every 30th minute on day-of-month 8 in November"
44
on:
55
schedule:
6-
- cron: '*/30 * 26 10 *'
6+
- cron: '*/30 * 8 11 *'
77

88
# Add some extra perms to comment on a PR
99
permissions:
@@ -65,6 +65,8 @@ jobs:
6565
path: delphi-admin
6666
- name: Build & run Locust
6767
continue-on-error: true # sometimes ~2-5 queries fail, we shouldn't end the run if that's the case
68+
env:
69+
PERFTEST_API_KEY: ${{secrets.PERFTEST_API_KEY}}
6870
run: |
6971
cd delphi-admin/load-testing/locust
7072
docker build -t locust .

.github/workflows/performance-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
path: delphi-admin
7474
- name: Build & run Locust
7575
continue-on-error: true # sometimes ~2-5 queries fail, we shouldn't end the run if that's the case
76+
env:
77+
PERFTEST_API_KEY: ${{secrets.PERFTEST_API_KEY}}
7678
run: |
7779
cd delphi-admin/load-testing/locust
7880
docker build -t locust .

0 commit comments

Comments
 (0)