Skip to content

Commit

Permalink
Add API key from secrets (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzats committed Nov 7, 2023
1 parent dedfeda commit 08de322
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/performance-tests-one-time.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: One-time performance testing - 26th October 2023
name: One-time performance testing - 8th November 2023

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

# Add some extra perms to comment on a PR
permissions:
Expand Down Expand Up @@ -65,6 +65,8 @@ jobs:
path: delphi-admin
- name: Build & run Locust
continue-on-error: true # sometimes ~2-5 queries fail, we shouldn't end the run if that's the case
env:
PERFTEST_API_KEY: ${{secrets.PERFTEST_API_KEY}}
run: |
cd delphi-admin/load-testing/locust
docker build -t locust .
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jobs:
path: delphi-admin
- name: Build & run Locust
continue-on-error: true # sometimes ~2-5 queries fail, we shouldn't end the run if that's the case
env:
PERFTEST_API_KEY: ${{secrets.PERFTEST_API_KEY}}
run: |
cd delphi-admin/load-testing/locust
docker build -t locust .
Expand Down

0 comments on commit 08de322

Please sign in to comment.