summaryrefslogtreecommitdiffstats
path: root/ci/kubernetes
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-01-25 17:47:43 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-01-25 17:48:25 -0600
commit7188808f4521feb83e828b14479db8df70c60a7b (patch)
treed44b5fc600eeaa283134992e56bacc603d13b780 /ci/kubernetes
parent5cb0ea7a1b2473a1969e48eff41ff50d540c53bd (diff)
modified to fix kubernetes issue.
Change-Id: Ib9d90bc171836aa83f455d6727c9a1457b5fd400 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/kubernetes')
-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
+