mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-15 08:52:50 +00:00
more hardening of ci steps (#12834)
* fix rule: zizmor/self-repository * pin to version * fix --proto "=https" * another shell:S6506 * fix shell:S8541 * fix githubactions:S8541 * fix githubactions:S8541 * more sec fixes * fix psycopg version * more script disabling on frontend
This commit is contained in:
@@ -18,16 +18,16 @@ rm -f /home/vscode/.gitconfig
|
||||
# Fix issue related to CFFI version mismatch
|
||||
pip uninstall cffi -y
|
||||
sudo apt remove --purge -y python3-cffi
|
||||
pip install --no-cache-dir --force-reinstall --ignore-installed cffi
|
||||
pip install --only-binary :all: --no-cache-dir --force-reinstall --ignore-installed cffi
|
||||
|
||||
# Upgrade pip
|
||||
python3 -m pip install --upgrade pip
|
||||
|
||||
# Ensure the correct invoke is available
|
||||
pip3 install --ignore-installed --upgrade invoke Pillow
|
||||
pip3 install --only-binary :all: --ignore-installed --upgrade invoke Pillow
|
||||
|
||||
# install base level packages
|
||||
pip3 install -Ur contrib/container/requirements.txt --require-hashes
|
||||
pip3 install --only-binary :all: -Ur contrib/container/requirements.txt --require-hashes
|
||||
|
||||
# Run initial InvenTree server setup
|
||||
invoke update -s
|
||||
|
||||
Reference in New Issue
Block a user