ci/cd - add --ignore-installed flags to pip install commands of linux tests

This commit is contained in:
florian 2024-06-01 09:05:17 +02:00
parent b7d0012296
commit 121199cc86
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ if [ "$integration" == "docker" ] ; then
fi
else
sudo systemctl stop bunkerweb
MAKEFLAGS="-j $(nproc)" sudo pip install --break-system-packages --no-cache-dir --require-hashes --no-deps -r requirements.txt
MAKEFLAGS="-j $(nproc)" sudo pip install --ignore-installed --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

View file

@ -44,7 +44,7 @@ if [ "$integration" == "docker" ] ; then
fi
else
sudo systemctl stop bunkerweb
MAKEFLAGS="-j $(nproc)" sudo pip install --break-system-packages --no-cache-dir --require-hashes --no-deps -r requirements.txt
MAKEFLAGS="-j $(nproc)" sudo pip install --ignore-installed --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