feature8030 move WIM connector to plugins
[osm/RO.git] / devops-stages / stage-build.sh
1 #!/bin/bash
2
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 # implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 rm -rf deb_dist/*
17 mkdir -p deb_dist
18
19 # main RO module
20 make -C RO clean package BRANCH=master
21 cp RO/deb_dist/python3-osm-ro_*.deb deb_dist/
22
23 # RO client
24 make -C RO-client clean package
25 cp RO-client/deb_dist/python3-osm-roclient_*.deb deb_dist/
26
27 # VIM vmware plugin
28 make -C RO-VIM-vmware clean package
29 cp RO-VIM-vmware/deb_dist/python3-osm-rovim-vmware_*.deb deb_dist/
30
31 # VIM Openstack plugin
32 make -C RO-VIM-openstack clean package
33 cp RO-VIM-openstack/deb_dist/python3-osm-rovim-openstack_*.deb deb_dist/
34
35 # VIM Openvim plugin
36 make -C RO-VIM-openvim clean package
37 cp RO-VIM-openvim/deb_dist/python3-osm-rovim-openvim_*.deb deb_dist/
38
39 # VIM AWS plugin
40 make -C RO-VIM-aws clean package
41 cp RO-VIM-aws/deb_dist/python3-osm-rovim-aws_*.deb deb_dist/
42
43 # VIM fos plugin
44 make -C RO-VIM-fos clean package
45 cp RO-VIM-fos/deb_dist/python3-osm-rovim-fos_*.deb deb_dist/
46
47 # VIM azure plugin
48 make -C RO-VIM-azure clean package
49 cp RO-VIM-azure/deb_dist/python3-osm-rovim-azure_*.deb deb_dist/
50
51 # VIM Opennebula plugin
52 make -C RO-VIM-opennebula clean package
53 cp RO-VIM-opennebula/deb_dist/python3-osm-rovim-opennebula_*.deb deb_dist/
54
55 # SDN Dynpack plugin
56 make -C RO-SDN-dynpac clean package
57 cp RO-SDN-dynpac/deb_dist/python3-osm-rosdn-dynpac_*.deb deb_dist/
58
59 # SDN Tapi plugin
60 make -C RO-SDN-tapi clean package
61 cp RO-SDN-tapi/deb_dist/python3-osm-rosdn-tapi_*.deb deb_dist/
62
63 # SDN Onos openflow
64 make -C RO-SDN-onos_openflow clean package
65 cp RO-SDN-onos_openflow/deb_dist/python3-osm-rosdn-onosof_*.deb deb_dist/
66