490492b967
This commit changes trove-integration and the artifacts that were brought over from that repository and brings them into the trove repository. The things (specifically) done in this commit are: 1. get rid of .gitreview; this is no longer a repository of its own, it is a part of the trove repository. 2. Update the readme (README.md) 3. Make the elements work in this directory structure 4. Rename the elements and get rid of the name 'reddwarf', change the name redstack to trovestack 5. Refactor all scripts and make them reflect the new directory structure. Change-Id: Iae67fe231b6c7964ca3f31fc593fc9fa4111d5be
31 lines
946 B
Bash
Executable File
31 lines
946 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# CONTEXT: GUEST during CONSTRUCTION as ROOT
|
|
# PURPOSE: Install trove guest python dependencies - see trovestack functions_qemu
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
dnf install -y python-devel libxml2-devel libxslt-devel python-setuptools \
|
|
python-sqlalchemy python-lxml \
|
|
python-routes python-eventlet python-webob \
|
|
python-kombu python-paste-deploy python-paste python-netaddr \
|
|
python-httplib2 python-iso8601 python-pip python-mysql \
|
|
python-migrate python-anyjson gcc python-pexpect
|
|
|
|
# pick up the requirements file left for us by
|
|
# extra-data.d/15-reddwarf-dep
|
|
|
|
TMP_HOOKS_DIR="/tmp/in_target.d"
|
|
|
|
UPPER_CONSTRAINTS=
|
|
if [ -f ${TMP_HOOKS_DIR}/upper-constraints.txt ]; then
|
|
UPPER_CONSTRAINTS=" -c ${TMP_HOOKS_DIR}/upper-constraints.txt"
|
|
fi
|
|
|
|
pip install -q --upgrade -r ${TMP_HOOKS_DIR}/requirements.txt ${UPPER_CONSTRAINTS}
|
|
|
|
echo "diagnostic pip freeze output follows"
|
|
pip freeze
|
|
echo "diagnostic pip freeze output above"
|