summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRihab Banday <rihab.banday@ericsson.com>2021-05-18 18:04:27 +0200
committerRihab Banday <rihab.banday@ericsson.com>2021-05-19 15:10:27 +0000
commit7eb2be97251fa1f676b2745c9a75dd63d6dc5689 (patch)
treec9e9a0677e6a9cd02d5ed6405113c328742816a6
parent37cb17b524dafd8ead9ddd7bff7f5b8bb5ab6016 (diff)
Remove duplicate content from functions.sh
This patch removes the CentOS 7 pip upgrade as that is now included in sw_config/bmra/patched_rhel_packages.yml. Change-Id: Ibdea16d2929c3c4770deb755a064db2abcccc01c Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72542 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
-rwxr-xr-xfunctions.sh12
1 files changed, 1 insertions, 11 deletions
diff --git a/functions.sh b/functions.sh
index d16f473..96a0fd7 100755
--- a/functions.sh
+++ b/functions.sh
@@ -228,16 +228,8 @@ fi
if [ ! -d "${PROJECT_ROOT}/container-experience-kits" ]; then
git clone --recurse-submodules --depth 1 https://github.com/intel/container-experience-kits.git -b v21.03 ${PROJECT_ROOT}/container-experience-kits/
cp -r ${PROJECT_ROOT}/container-experience-kits/examples/${BMRA_PROFILE}/group_vars ${PROJECT_ROOT}/container-experience-kits/
-# NOTE The following condition/workaround will be removed once the reported issue https://github.com/intel/container-experience-kits/issues/68
-# is fixed upstream
- if [[ "$DEPLOYMENT" == "full" ]]; then
- echo "- name: install Python packages
- pip:
- name:
- - pip==9.0.3" >> ${PROJECT_ROOT}/container-experience-kits/roles/bootstrap/install_packages/tasks/rhel.yml
- fi
fi
-cp ${PROJECT_ROOT}/${INSTALLER}/inventory.ini \
+cp ${PROJECT_ROOT}/${INSTALLER}/{inventory.ini,ansible.cfg} \
${PROJECT_ROOT}/container-experience-kits/
cp ${PROJECT_ROOT}/${INSTALLER}/{all.yml,kube-node.yml} \
${PROJECT_ROOT}/container-experience-kits/group_vars/
@@ -245,8 +237,6 @@ cp ${PROJECT_ROOT}/${INSTALLER}/patched_cmk_build.yml \
${PROJECT_ROOT}/container-experience-kits/roles/cmk_install/tasks/main.yml
cp ${PROJECT_ROOT}/${INSTALLER}/patched_vfio.yml \
${PROJECT_ROOT}/container-experience-kits/roles/sriov_nic_init/tasks/bind_vf_driver.yml
-cp ${PROJECT_ROOT}/${INSTALLER}/ansible.cfg \
- ${PROJECT_ROOT}/container-experience-kits/ansible.cfg
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 \