From ef4c5cd61bf9d4c592963fbcd786fd1e7263f067 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 9 Feb 2022 14:02:11 -0800 Subject: [PATCH] ansible-test - Use newer pip to bootstrap FreeBSD. --- changelogs/fragments/ansible-test-bootstrap-pip.yml | 2 ++ test/lib/ansible_test/_util/target/setup/bootstrap.sh | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/ansible-test-bootstrap-pip.yml diff --git a/changelogs/fragments/ansible-test-bootstrap-pip.yml b/changelogs/fragments/ansible-test-bootstrap-pip.yml new file mode 100644 index 00000000000..8c54f7809f5 --- /dev/null +++ b/changelogs/fragments/ansible-test-bootstrap-pip.yml @@ -0,0 +1,2 @@ +minor_changes: + - ansible-test - Update ``pip`` used to bootstrap remote FreeBSD instances from version 20.3.4 to 21.3.1. diff --git a/test/lib/ansible_test/_util/target/setup/bootstrap.sh b/test/lib/ansible_test/_util/target/setup/bootstrap.sh index fc89e8e249f..3eeac1dd036 100644 --- a/test/lib/ansible_test/_util/target/setup/bootstrap.sh +++ b/test/lib/ansible_test/_util/target/setup/bootstrap.sh @@ -49,9 +49,12 @@ customize_bashrc() install_pip() { if ! "${python_interpreter}" -m pip.__main__ --version --disable-pip-version-check 2>/dev/null; then case "${python_version}" in - *) + "2.7") pip_bootstrap_url="https://ci-files.testing.ansible.com/ansible-test/get-pip-20.3.4.py" ;; + *) + pip_bootstrap_url="https://ci-files.testing.ansible.com/ansible-test/get-pip-21.3.1.py" + ;; esac while true; do