From b7d00122964168a4eac82842e1dc73eaa5c6610a Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 31 May 2024 20:57:53 +0200 Subject: [PATCH] ci/cd - add missing --break-system-packages flag for linux core/ui tests --- tests/core/badbehavior/test.sh | 2 +- tests/core/db/test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core/badbehavior/test.sh b/tests/core/badbehavior/test.sh index b93df89bc..21107fb2a 100755 --- a/tests/core/badbehavior/test.sh +++ b/tests/core/badbehavior/test.sh @@ -28,7 +28,7 @@ if [ "$integration" == "docker" ] ; then fi else sudo systemctl stop bunkerweb - MAKEFLAGS="-j $(nproc)" sudo pip install --no-cache-dir --require-hashes --no-deps -r requirements.txt + MAKEFLAGS="-j $(nproc)" sudo pip install --break-system-packages --no-cache-dir --require-hashes --no-deps -r requirements.txt echo "USE_BAD_BEHAVIOR=yes" | sudo tee -a /etc/bunkerweb/variables.env echo "BAD_BEHAVIOR_STATUS_CODES=400 401 403 404 405 429 444" | sudo tee -a /etc/bunkerweb/variables.env echo "BAD_BEHAVIOR_BAN_TIME=86400" | sudo tee -a /etc/bunkerweb/variables.env diff --git a/tests/core/db/test.sh b/tests/core/db/test.sh index f5e65359d..5e1b30d49 100755 --- a/tests/core/db/test.sh +++ b/tests/core/db/test.sh @@ -44,7 +44,7 @@ if [ "$integration" == "docker" ] ; then fi else sudo systemctl stop bunkerweb - MAKEFLAGS="-j $(nproc)" sudo pip install --no-cache-dir --require-hashes --no-deps -r requirements.txt + MAKEFLAGS="-j $(nproc)" sudo pip install --break-system-packages --no-cache-dir --require-hashes --no-deps -r requirements.txt sudo sed -i 's@SERVER_NAME=.*$@SERVER_NAME=bwadm.example.com@' /etc/bunkerweb/variables.env echo "MULTISITE=no" | sudo tee -a /etc/bunkerweb/variables.env echo "USE_REVERSE_PROXY=yes" | sudo tee -a /etc/bunkerweb/variables.env