adding ceph support for Kubernetes.
[joid.git] / ci / kubernetes / fetch-charms.sh
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 bzr branch lp:~narindergupta/opnfv/ntp $distro/ntp
14 git clone -b stable/17.08 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon
15 git clone -b stable/17.08 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd
16