fix(ci): keep python bootstrap stdout clean
Some checks failed
CI/CD Pipeline / Run Tests (pull_request) Successful in 2m30s
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 3m16s
CI/CD Pipeline / Run API Inventory E2E Tests (pull_request) Failing after 47s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped

This commit is contained in:
2026-03-24 14:29:31 +01:00
parent f0a6984e85
commit 08c4475233

View File

@@ -23,12 +23,12 @@ fi
export DEBIAN_FRONTEND=noninteractive
"${APT_RUNNER[@]}" apt-get update
if ! "${APT_RUNNER[@]}" apt-get install -y "${PYTHON_BIN}" "${PYTHON_BIN}-venv"; then
"${APT_RUNNER[@]}" apt-get install -y software-properties-common
"${APT_RUNNER[@]}" add-apt-repository -y ppa:deadsnakes/ppa
"${APT_RUNNER[@]}" apt-get update
"${APT_RUNNER[@]}" apt-get install -y "${PYTHON_BIN}" "${PYTHON_BIN}-venv"
"${APT_RUNNER[@]}" apt-get update >&2
if ! "${APT_RUNNER[@]}" apt-get install -y "${PYTHON_BIN}" "${PYTHON_BIN}-venv" >&2; then
"${APT_RUNNER[@]}" apt-get install -y software-properties-common >&2
"${APT_RUNNER[@]}" add-apt-repository -y ppa:deadsnakes/ppa >&2
"${APT_RUNNER[@]}" apt-get update >&2
"${APT_RUNNER[@]}" apt-get install -y "${PYTHON_BIN}" "${PYTHON_BIN}-venv" >&2
fi
command -v "${PYTHON_BIN}"