-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuilddebpackage.sh
More file actions
executable file
·73 lines (68 loc) · 1.79 KB
/
Copy pathbuilddebpackage.sh
File metadata and controls
executable file
·73 lines (68 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/bash
# builddebpackage.sh: used for the thinkstack debian package build
# author: huwei
# date: 2016-08-15
set -e
. scripts/functions.sh
# mismatch and exit
[[ $# -lt 2 ]] && display_help
# get version and components
version=$1
shift
components=$@
echo -e "\033[42;37m**************deian package build start********************\033[0m"
# build debian package for each component
for component in $components; do
#echo $component
case $component in
ceilometer )
bash ./scripts/build_ceilometer.sh ceilometer $version
;;
cinder )
bash ./scripts/build_cinder.sh cinder $version
;;
glance )
bash ./scripts/build_glance.sh glance $version
;;
horizon )
bash ./scripts/build_horizon.sh horizon $version
;;
keystone )
bash ./scripts/build_keystone.sh keystone $version
;;
neutron )
bash ./scripts/build_neutron.sh neutron $version
;;
nova )
bash ./scripts/build_nova.sh nova $version
;;
python-ceilometerclient )
bash ./scripts/build_ceilometerclient.sh python-ceilometerclient $version
;;
python-cinderclient )
bash ./scripts/build_cinderclient.sh python-cinderclient $version
;;
python-glanceclient )
bash ./scripts/build_glanceclient.sh python-glanceclient $version
;;
python-keystoneclient )
bash ./scripts/build_keystoneclient.sh python-keystoneclient $version
;;
python-neutronclient )
bash ./scripts/build_neutronclient.sh python-neutronclient $version
;;
python-novaclient )
bash ./scripts/build_novaclient.sh python-novaclient $version
;;
python-swiftclient )
bash ./scripts/build_swiftclient.sh python-swiftclient $version
;;
all )
bash ./scripts/build_all.sh $version
;;
* )
display_help
;;
esac
done
echo -e "\033[42;37m**************deian package build finished********************\033[0m"