fix: install pip via bootstrap to bypass broken debian mirrors
Homelab Main / validate (push) Failing after 2s Details
Homelab Main / deploy (push) Has been skipped Details

This commit is contained in:
jv 2026-09-18 10:01:35 -05:00
parent 4f8ba24f06
commit 674219fe4f
1 changed files with 7 additions and 7 deletions

View File

@ -14,11 +14,11 @@ jobs:
- name: Install Node.js and Python deps
run: |
set -e
apt-get update
# Install python3-pip to get pip, and python3-yaml from apt since we are already updating
# If debian-security is broken, we use --fix-missing or try to ignore failures for non-essential
apt-get install -y --no-install-recommends python3-pip python3-yaml
# Bypass broken Debian mirrors by installing pip via bootstrap
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
python3 -m pip install PyYAML
# Install Node.js via NodeSource
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y --no-install-recommends nodejs
- name: Check out repository
@ -40,8 +40,8 @@ jobs:
- name: Install Node.js and Python deps
run: |
set -e
apt-get update
apt-get install -y --no-install-recommends python3-pip python3-yaml
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
python3 -m pip install PyYAML
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y --no-install-recommends nodejs
- name: Check out repository
@ -212,7 +212,7 @@ jobs:
"${deploy_dir}/jeannie" "${action_command}"
;;
*)
echo "Unsupported HOMELAB_ACTION_COMMAND: ${action_command}" >&2
echo "Unsupported HOMELAB_ACTION_COMMAND: ${action_command}"
exit 1
;;
esac