~narindergupta/opnfv/stable-R2

« back to all changes in this revision

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

  • Committer: Aric Gardner
  • Date: 2015-06-10 17:51:44 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: git-v1:be443e888dc2d068dfb9629d11d4ae3883ebd431
Adding LICENSE and INFO file

Change-Id: Ibb6b6063c2a61d838dbce73c574d11b8166bbfa9
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>

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