summaryrefslogtreecommitdiffstats
path: root/ci/kubernates/fetch-charms.sh
blob: 06f483873a2d192bb983a5a0c2f3c1f43daeedc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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
charm pull cs:~containers/kubernetes-master $distro/kubernetes-master
charm pull cs:~containers/kubernetes-worker $distro/kubernetes-worker
charm pull cs:~containers/flannel $distro/flannel
charm pull cs:~containers/etcd $distro/etcd
charm pull cs:~containers/easyrsa $distro/easyrsa
charm pull cs:~containers/kubeapi-load-balancer $distro/kubeapi-load-balancer