summaryrefslogtreecommitdiffstats
path: root/ci/kubernetes/fetch-charms.sh
blob: fd784ba117b7024f02135c7e0d3f6989e91892c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -ex

distro=$1
mkdir -p $distro

function build {
    sudo apt-get install charm-tools -y
    (cd $distro/charm-$1; charm build -s $distro  -obuild src)
    mv $distro/charm-$1/build/$distro/$1 $distro
}

# openstack
bzr branch lp:~narindergupta/opnfv/ntp $distro/ntp
git clone -b stable/17.08 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon
git clone -b stable/17.08 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd