mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-16 04:58:01 +00:00
Fix CI: Add DNS dependencies for performance test jobs
- Add dnspython and py3dns to performance test jobs - Fixes ModuleNotFoundError: No module named 'DNS' in pyLibravatar - Required for libravatar URL resolution in performance tests
This commit is contained in:
@@ -163,7 +163,7 @@ performance_tests_dev:
|
||||
DEV_URL: "https://dev.libravatar.org"
|
||||
before_script:
|
||||
- apk add --no-cache curl
|
||||
- pip install requests Pillow prettytable pyLibravatar
|
||||
- pip install requests Pillow prettytable pyLibravatar dnspython py3dns
|
||||
script:
|
||||
- echo "Running performance tests against dev.libravatar.org..."
|
||||
- python3 scripts/performance_tests.py --base-url $DEV_URL --concurrent-users 5 --output performance_dev.json
|
||||
@@ -187,7 +187,7 @@ performance_tests_prod:
|
||||
PROD_URL: "https://libravatar.org"
|
||||
before_script:
|
||||
- apk add --no-cache curl
|
||||
- pip install requests Pillow prettytable pyLibravatar
|
||||
- pip install requests Pillow prettytable pyLibravatar dnspython py3dns
|
||||
script:
|
||||
- echo "Running performance tests against libravatar.org..."
|
||||
- python3 scripts/performance_tests.py --base-url $PROD_URL --concurrent-users 3 --output performance_prod.json
|
||||
@@ -211,7 +211,7 @@ performance_tests_prod_manual:
|
||||
PROD_URL: "https://libravatar.org"
|
||||
before_script:
|
||||
- apk add --no-cache curl
|
||||
- pip install requests
|
||||
- pip install requests Pillow prettytable pyLibravatar dnspython py3dns
|
||||
script:
|
||||
- echo "Running manual performance tests against libravatar.org..."
|
||||
- python3 scripts/performance_tests.py --base-url $PROD_URL --concurrent-users 5 --output performance_prod_manual.json
|
||||
|
||||
Reference in New Issue
Block a user