Skip to content

Commit 6c1f7e7

Browse files
dulekkayrus
authored andcommitted
CI: Fix "error: externally-managed-environment" in CSI
PR kubernetes#2414 missed fixing this for Cinder and Manila e2e tests, this makes sure these tests work too.
1 parent f193f3c commit 6c1f7e7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/ci-csi-cinder-e2e.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ cleanup() {
4444
}
4545
trap cleanup EXIT
4646

47-
python3 -m pip install requests ansible
47+
apt-get update
48+
apt-get install -y python3-requests ansible
4849

4950
# If BOSKOS_HOST is set then acquire a resource of type ${RESOURCE_TYPE} from Boskos.
5051
if [ -n "${BOSKOS_HOST:-}" ]; then

tests/ci-csi-manila-e2e.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ cleanup() {
4444
}
4545
trap cleanup EXIT
4646

47-
python3 -m pip install requests ansible
47+
apt-get update
48+
apt-get install -y python3-requests ansible
4849

4950
# If BOSKOS_HOST is set then acquire a resource of type ${RESOURCE_TYPE} from Boskos.
5051
if [ -n "${BOSKOS_HOST:-}" ]; then

0 commit comments

Comments
 (0)