Lusheng Ji | c5afcd0 | 2018-04-17 11:13:03 -0400 | [diff] [blame] | 1 | #!/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 | |
| 21 | cd /opt/app/config |
| 22 | |
| 23 | echo "Stop and remove cloudify-manager registrator dcae-health" |
| 24 | docker stop cloudify-manager registrator dcae-health |
| 25 | docker rm cloudify-manager registrator dcae-health |
| 26 | |
| 27 | echo "Stand down R2PLUS service components" |
| 28 | /opt/docker/docker-compose -f ./docker-compose-4.yaml down |
| 29 | echo "Stand down R2 platform components" |
| 30 | /opt/docker/docker-compose -f ./docker-compose-3.yaml down |
| 31 | echo "Stand down R2 minimum service components" |
| 32 | /opt/docker/docker-compose -f ./docker-compose-2.yaml down |
| 33 | echo "Stand down R2 shared platform components" |
| 34 | /opt/docker/docker-compose -f ./docker-compose-1.yaml down |
| 35 | echo "Teardown done" |