From 13f580023ba492144ebca1cc5ad3b520fe06d3af Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Fri, 24 Oct 2025 10:15:54 +0200 Subject: [PATCH] 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 --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cdc04c..dfd3ed5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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