GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
15 lines
525 B
Bash
15 lines
525 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/../backend"
|
|
if command -v python3 >/dev/null 2>&1 && python3 -m pip --version >/dev/null 2>&1; then
|
|
PYTHON_BIN="python3"
|
|
elif command -v python >/dev/null 2>&1 && python -m pip --version >/dev/null 2>&1; then
|
|
PYTHON_BIN="python"
|
|
elif command -v python.exe >/dev/null 2>&1 && python.exe -m pip --version >/dev/null 2>&1; then
|
|
PYTHON_BIN="python.exe"
|
|
else
|
|
echo "No python interpreter with pip available" >&2
|
|
exit 1
|
|
fi
|
|
"${PYTHON_BIN}" -m pip install -e .[dev]
|