Skip to content

Commit

Permalink
Merge pull request #3613 from mercedes-benz/tobiasgiese/fix-pip-location
Browse files Browse the repository at this point in the history
馃悰 Ensure that python and pip is installed for e2e and conformance tests
  • Loading branch information
k8s-ci-robot committed Jul 26, 2022
2 parents 3a0e8a2 + caf961e commit a89968d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions scripts/ci-conformance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,13 @@ cleanup() {
}
trap cleanup EXIT

#Install requests module explicitly for HTTP calls
python3 -m pip install requests
# Ensure that python3-pip is installed.
apt update
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

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

#Install requests module explicitly for HTTP calls
python3 -m pip install requests
# Ensure that python3-pip is installed.
apt update
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

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

0 comments on commit a89968d

Please sign in to comment.