blob: ab528314abf6eb3e9abaf42ff4b7c18ace6e1f44 [file] [log] [blame]
Gary Wu950a3232019-03-26 13:08:29 -07001#!/bin/bash
2#
3# Copyright 2019 Huawei Technologies Co., Ltd.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11
12if [ "$#" -ne 1 ]; then
13 echo "Please specify module name, i.e. $0 robot"
14 exit 1
15fi
16
17module=$1
18deploy=dev-$1
19cd /root/oom/kubernetes
20helm delete $deploy --purge
21/root/integration/deployment/heat/onap-oom/scripts/cleanup.sh $module
22rm -rf /dockerdata-nfs/$deploy
23make $module
24make onap
25helm deploy $deploy local/onap -f /root/oom/kubernetes/onap/resources/environments/public-cloud.yaml -f /root/integration-override.yaml --namespace onap