diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-10-27 10:19:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-27 10:19:04 +0000 |
commit | b4c64a0f081b0704742b10ec0ca136ab3b883d12 (patch) | |
tree | 6d99755009757dd2cd53f454305e9e15d06b1f57 /ci | |
parent | ac4530fa1c89ff1a6af3cec09b3b5de458426bde (diff) | |
parent | f10bc960eead6c1423ada006a383515279056886 (diff) |
Merge "ci/deploy.sh: Add PDF parsing dependencies"
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/deploy.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 0bb9caa50..6a1d6e1e6 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -269,6 +269,14 @@ pushd "${DEPLOY_DIR}" > /dev/null [ -n "$(command -v yum)" ] && sudo yum install -y --skip-broken \ git make rsync genisoimage curl virt-install qemu-kvm util-linux +# For baremetal, python is indirectly required for PDF parsing +if [ "${DEPLOY_TYPE}" = 'baremetal' ]; then + [ -n "$(command -v apt-get)" ] && sudo apt-get install -y \ + python python-ipaddress python-jinja2 + [ -n "$(command -v yum)" ] && sudo yum install -y --skip-broken \ + python python-ipaddress python-jinja2 +fi + # Clone git submodules and apply our patches make -C "${REPO_ROOT_PATH}/mcp/patches" deepclean patches-import |