Skip to content

Commit

Permalink
Merge pull request #4564 from vincepri/fixup-python-ci
Browse files Browse the repository at this point in the history
🐛 Fix "error: externally-managed-environment" CI
  • Loading branch information
k8s-ci-robot authored Oct 10, 2023
2 parents d0c8e32 + a5080ee commit 24f82c0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
5 changes: 1 addition & 4 deletions scripts/ci-conformance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@ trap cleanup EXIT

# Ensure that python3-pip is installed.
apt update
apt install -y python3-pip
apt install -y python3-pip python3-requests
rm -rf /var/lib/apt/lists/*

# Install/upgrade pip and requests module explicitly for HTTP calls.
python3 -m pip install --upgrade pip requests

# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
if [ -n "${BOSKOS_HOST:-}" ]; then
# Check out the account from Boskos and store the produced environment
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci-e2e-eks-gc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ cleanup() {
trap cleanup EXIT

#Install requests module explicitly for HTTP calls
python3 -m pip install requests
apt update
apt install -y python3-pip python3-requests

# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
if [ -n "${BOSKOS_HOST:-}" ]; then
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci-e2e-eks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ cleanup() {
trap cleanup EXIT

#Install requests module explicitly for HTTP calls
python3 -m pip install requests
apt update
apt install -y python3-pip python3-requests

# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
if [ -n "${BOSKOS_HOST:-}" ]; then
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci-e2e-gc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ cleanup() {
trap cleanup EXIT

#Install requests module explicitly for HTTP calls
python3 -m pip install requests
apt update
apt install -y python3-pip python3-requests

# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
if [ -n "${BOSKOS_HOST:-}" ]; then
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ apt install -y python3-pip
rm -rf /var/lib/apt/lists/*

# Install/upgrade pip and requests module explicitly for HTTP calls.
python3 -m pip install --upgrade pip requests
apt update
apt install -y python3-pip python3-requests

# If BOSKOS_HOST is set then acquire an AWS account from Boskos.
if [ -n "${BOSKOS_HOST:-}" ]; then
Expand Down

0 comments on commit 24f82c0

Please sign in to comment.