projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding resource
[osm/devops.git]
/
installers
/
charm
/
build.sh
diff --git
a/installers/charm/build.sh
b/installers/charm/build.sh
index
edcad53
..
459da13
100755
(executable)
--- a/
installers/charm/build.sh
+++ b/
installers/charm/build.sh
@@
-14,25
+14,15
@@
# limitations under the License.
function build() {
# limitations under the License.
function build() {
- cd $1 && tox -e build && cd ..
+ cd $1 && tox -
q
e build && cd ..
}
}
-build 'lcm-k8s'
-build 'mon-k8s'
-build 'nbi-k8s'
-build 'pol-k8s'
-build 'ro-k8s'
-# build 'ui-k8s'
-
-charms="nbi pla pol mon lcm ng-ui keystone"
-charms="nbi"
+charms="ro nbi pla pol mon lcm ng-ui grafana prometheus mongodb-exporter kafka-exporter mysqld-exporter"
if [ -z `which charmcraft` ]; then
if [ -z `which charmcraft` ]; then
- sudo snap install charmcraft --
beta
+ sudo snap install charmcraft --
classic
fi
for charm_directory in $charms; do
fi
for charm_directory in $charms; do
- echo "Building charm $charm_directory..."
- cd $charm_directory
- charmcraft build
- cd ..
+ build $charm_directory
done
done
+wait
\ No newline at end of file