255f1eb7d275af41b9547fbfdf1f87086fa4d69c
[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