blob: 19d74a7851cd920f10abe7b11e4525c05625230c [file] [log] [blame]
Lusheng Jic5afcd02018-04-17 11:13:03 -04001#!/bin/bash
2
3#############################################################################
4#
5# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6#
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18#############################################################################
19
20
21cd /opt/app/config
22
23echo "Stop and remove cloudify-manager registrator dcae-health"
24docker stop cloudify-manager registrator dcae-health
25docker rm cloudify-manager registrator dcae-health
26
27echo "Stand down R2PLUS service components"
28/opt/docker/docker-compose -f ./docker-compose-4.yaml down
29echo "Stand down R2 platform components"
30/opt/docker/docker-compose -f ./docker-compose-3.yaml down
31echo "Stand down R2 minimum service components"
32/opt/docker/docker-compose -f ./docker-compose-2.yaml down
33echo "Stand down R2 shared platform components"
34/opt/docker/docker-compose -f ./docker-compose-1.yaml down
35echo "Teardown done"