diff options
author | blsaws <bryan.sullivan@att.com> | 2016-05-22 16:12:31 -0700 |
---|---|---|
committer | blsaws <bryan.sullivan@att.com> | 2016-05-22 16:12:31 -0700 |
commit | fa42970a15cb92cff4112b8e89a10300836705a8 (patch) | |
tree | 50ee5d68245077c321f6b92628906b9a107e2bc1 /components/congress/install/bash/install_congress_1.sh | |
parent | ba20dd6024489d6a452c52a0a09d8b8e98031b4e (diff) |
Align install and cleanup scripts
JIRA: COPPER-2
Change-Id: Ic052461fb29ec65bd14399aa92a0321be95849a3
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'components/congress/install/bash/install_congress_1.sh')
-rw-r--r-- | components/congress/install/bash/install_congress_1.sh | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/components/congress/install/bash/install_congress_1.sh b/components/congress/install/bash/install_congress_1.sh index 216e018..8f4676c 100644 --- a/components/congress/install/bash/install_congress_1.sh +++ b/components/congress/install/bash/install_congress_1.sh @@ -23,8 +23,8 @@ # - Retrieve the copper install script as below, optionally specifying the # branch to use as a URL parameter, e.g. ?h=stable%2Fbrahmaputra # $ cd ~ -# $ wget https://git.opnfv.org/cgit/copper/tree/components/congress/install/bash/install_congress_1.sh -# $ wget https://git.opnfv.org/cgit/copper/tree/components/congress/install/bash/install_congress_2.sh +# $ wget https://git.opnfv.org/cgit/copper/plain/components/congress/install/bash/install_congress_1.sh +# $ wget https://git.opnfv.org/cgit/copper/plain/components/congress/install/bash/install_congress_2.sh # $ sh install_congress_1.sh [openstack-branch] # optionally specifying the branch identifier to use for OpenStack # @@ -149,6 +149,30 @@ if [ $# -eq 1 ]; then git checkout $1; fi pip install -r requirements.txt pip install . +echo "Install Glance client" +cd ~/congress +git clone https://github.com/openstack/python-glanceclient.git +cd python-glanceclient +if [ $# -eq 2 ]; then git checkout $2; fi +pip install -r requirements.txt +pip install . + +echo "Install Neutron client" +cd ~/congress +git clone https://github.com/openstack/python-neutronclient.git +cd python-neutronclient +if [ $# -eq 2 ]; then git checkout $2; fi +pip install -r requirements.txt +pip install . + +echo "Install Nova client" +cd ~/congress +git clone https://github.com/openstack/python-novaclient.git +cd python-novaclient +if [ $# -eq 2 ]; then git checkout $2; fi +pip install -r requirements.txt +pip install . + echo "setup Congress user. TODO: needs update in http://congress.readthedocs.org/en/latest/readme.html#installing-congress" pip install cliff --upgrade export ADMIN_ROLE=$(openstack role list | awk "/ admin / { print \$2 }") |