blob: 96a07f8673f0eb078507b6c6a46dad9dc79865ec [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
Yang Xu85b39092019-04-29 00:56:07 -040021/root/integration/deployment/heat/onap-rke/scripts/cleanup.sh $module
Gary Wu950a3232019-03-26 13:08:29 -070022rm -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