summaryrefslogtreecommitdiffstats
path: root/ci/kubernetes/fetch-charm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/kubernetes/fetch-charm.sh')
-rw-r--r--ci/kubernetes/fetch-charm.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/ci/kubernetes/fetch-charm.sh b/ci/kubernetes/fetch-charm.sh
new file mode 100644
index 00000000..255f1eb7
--- /dev/null
+++ b/ci/kubernetes/fetch-charm.sh
@@ -0,0 +1,14 @@
+#!/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
+