761c52d56524aeec2831f86e18f499c17c470241
[joid.git] / ci / onos / 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/charms/trusty/promise/trunk $distro/promise
14 bzr branch lp:~billy-olsen/charms/xenial/mongodb/trunk $distro/mongodb
15 bzr branch lp:~narindergupta/opnfv/ntp $distro/ntp
16
17 git clone -b stable/17.08 https://github.com/openstack/charm-hacluster.git $distro/hacluster
18 git clone -b stable/17.08 https://github.com/openstack/charm-ceilometer.git $distro/ceilometer
19 git clone -b stable/17.08 https://github.com/openstack/charm-ceilometer-agent.git $distro/ceilometer-agent
20 git clone -b stable/17.08 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon
21 git clone -b stable/17.08 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd
22 git clone -b stable/17.08 https://github.com/openstack/charm-ceph-radosgw.git $distro/ceph-radosgw
23 git clone -b stable/17.08 https://github.com/openstack/charm-cinder.git $distro/cinder
24 git clone -b stable/17.08 https://github.com/openstack/charm-cinder-ceph.git $distro/cinder-ceph
25 git clone -b stable/17.08 https://github.com/openstack/charm-glance.git $distro/glance
26 git clone -b stable/17.08 https://github.com/openstack/charm-keystone.git $distro/keystone
27 git clone -b stable/17.08 https://github.com/openstack/charm-percona-cluster.git $distro/percona-cluster
28 git clone -b stable/17.08 https://github.com/openstack/charm-neutron-api.git $distro/neutron-api
29 git clone -b stable/17.08 https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch
30 git clone -b stable/17.08 https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller
31 git clone -b stable/17.08 https://github.com/openstack/charm-nova-compute.git $distro/nova-compute
32 git clone -b stable/17.08 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard
33 git clone -b stable/17.08 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server
34 git clone https://github.com/openstack/charm-heat.git $distro/heat
35 git clone https://github.com/openstack/charm-lxd.git $distro/lxd
36 git clone https://github.com/openbaton/juju-charm.git $distro/openbaton
37
38 charm pull cs:$distro/aodh $distro/aodh
39 charm pull cs:~narindergupta/congress-1 $distro/congress
40
41 #pulling scaleio charms.
42 charm pull cs:~cloudscaling/scaleio-mdm $distro/scaleio-mdm
43 charm pull cs:~cloudscaling/scaleio-sds $distro/scaleio-sds
44 charm pull cs:~cloudscaling/scaleio-gw $distro/scaleio-gw
45 charm pull cs:~cloudscaling/scaleio-sdc $distro/scaleio-sdc
46 charm pull cs:~cloudscaling/scaleio-openstack $distro/scaleio-openstack
47 charm pull cs:~cloudscaling/scaleio-cluster $distro/scaleio-cluster
48 charm pull cs:~cloudscaling/scaleio-gui $distro/scaleio-gui
49
50 # Controller specific charm
51 bzr branch lp:~zhangyuanyou/onosfw/onos-controller $distro/onos-controller
52 bzr branch lp:~zhangyuanyou/onosfw/neutron-gateway $distro/neutron-gateway
53 bzr branch lp:~zhangyuanyou/onosfw/neutron-api-onos $distro/neutron-api-onos
54 bzr branch lp:~zhangyuanyou/onosfw/openvswitch-onos $distro/openvswitch-onos