Eric Debeau | bab2f61 | 2018-04-16 19:56:04 +0000 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | # ======================================================================== |
| 3 | # Copyright (c) 2018 Orange |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # ======================================================================== |
| 16 | |
| 17 | $NEXUS_USERNAME=docker |
| 18 | $NEXUS_PASSWD=docker |
| 19 | $NEXUS_DOCKER_REPO=nexus3.onap.org:10001 |
| 20 | $DOCKER_IMAGE_VERSION=latest |
| 21 | |
| 22 | echo "This is ${WORKSPACE}/test/csit/scripts/externalapi-nbi/delete_nbi_containers.sh" |
| 23 | |
| 24 | # Create directory |
| 25 | mkdir -p $WORKSPACE/externalapi-nbi |
| 26 | cd $WORKSPACE/externalapi-nbi |
| 27 | |
| 28 | # Remove containers |
| 29 | docker-compose down |