~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/kubernetes/fetch-charms.sh

  • Committer: Narinder Gupta
  • Date: 2015-08-26 14:35:04 UTC
  • Revision ID: git-v1:62101c28c8245ebe97c548669c27cd2899cbfbab
Added a script to have a openstack with odl bundle.

Crate files which will get used by CI to build and
deploy the OPNFV platform using JOID. Added script to deploy
master branch of openstack with Ubuntu with ODL.

deploy.sh will copy the appropriate deploy.sh ad deployopnfv.sh and
run the scripts.

Change-Id: Ia1fd744d36bd153def4ef6aab4643cf440e90206
JIRA:JOID-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash -ex
2
 
 
3
 
distro=$1
4
 
mkdir -p $distro
5
 
 
6
 
function build {
7
 
    sudo apt-get install charm-tools -y
8
 
    (cd $distro/charm-$1; charm build -s $distro  -obuild src)
9
 
    mv $distro/charm-$1/build/$distro/$1 $distro
10
 
}
11
 
 
12
 
# openstack
13
 
charm pull cs:ntp $distro/ntp
14
 
git clone -b stable/17.11 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon
15
 
git clone -b stable/17.11 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd