diff options
Diffstat (limited to 'ci/kubernates/fetch-charms.sh')
-rwxr-xr-x | ci/kubernates/fetch-charms.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ci/kubernates/fetch-charms.sh b/ci/kubernates/fetch-charms.sh new file mode 100755 index 00000000..2a3d7536 --- /dev/null +++ b/ci/kubernates/fetch-charms.sh @@ -0,0 +1,17 @@ +#!/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 +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/easyrca $distro/easyrca |