summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRihab Banday <rihab.banday@ericsson.com>2021-07-05 12:49:18 +0200
committerRihab Banday <rihab.banday@ericsson.com>2021-07-05 11:56:48 +0000
commitdf1f338d5b1a87f6f656a8b2c6695507e006477a (patch)
tree39bb6bb8465f788f7718826957400ea6936bc265
parent06e98b30c0de6e3f8447d4eca7e9a9a2cd63fec9 (diff)
Update requirements.txt for BMRA Kubespray
This patch adds the new ruamel.yaml.clib requirement recently introduced in Kubespray to support Python 2.7. Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Change-Id: Ia93e807e21c27a9f0c8c2e9c01023badae0409b5 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72755 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
-rwxr-xr-xfunctions.sh2
-rw-r--r--sw_config/bmra/patched_kubespray_requirements.txt7
2 files changed, 9 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh
index c8968a3..6d8e923 100755
--- a/functions.sh
+++ b/functions.sh
@@ -241,6 +241,8 @@ cp ${PROJECT_ROOT}/${INSTALLER}/patched_rhel_packages.yml \
${PROJECT_ROOT}/container-experience-kits/roles/bootstrap/install_packages/tasks/rhel.yml
cp ${PROJECT_ROOT}/${INSTALLER}/patched_packages.yml \
${PROJECT_ROOT}/container-experience-kits/roles/bootstrap/install_packages/tasks/main.yml
+cp ${PROJECT_ROOT}/${INSTALLER}/patched_kubespray_requirements.txt \
+ ${PROJECT_ROOT}/container-experience-kits/playbooks/k8s/kubespray/requirements.txt
sudo docker run --rm \
-e ANSIBLE_CONFIG=/bmra/ansible.cfg \
diff --git a/sw_config/bmra/patched_kubespray_requirements.txt b/sw_config/bmra/patched_kubespray_requirements.txt
new file mode 100644
index 0000000..de70e12
--- /dev/null
+++ b/sw_config/bmra/patched_kubespray_requirements.txt
@@ -0,0 +1,7 @@
+ansible==2.9.17
+jinja2==2.11.1
+netaddr==0.7.19
+pbr==5.4.4
+jmespath==0.9.5
+ruamel.yaml==0.16.10
+ruamel.yaml.clib==0.2.2