~dawgfoto/duplicity/replicate

« back to all changes in this revision

Viewing changes to testing/infrastructure/teardown.sh

  • Committer: Kenneth Loafman
  • Date: 2017-06-05 14:35:15 UTC
  • Revision ID: kenneth@loafman.com-20170605143515-38skf0f9pkz3e1f3
* Added variable substitution to docker-compose.yml
  - .env file contains first 24 bits of subnet addr
* Added teardown.sh as completion of setup.sh

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#
 
3
# Copyright 2017 Nils Tekampe <nils@tekampe.org>
 
4
#
 
5
# This file is part of duplicity.
 
6
# This script sets up a test network for the tests of dupclicity
 
7
# This script takes the assumption that the containers for the testinfrastructure do deither run
 
8
# or they are removed. It is not intended to have stopped containers.
 
9
#
 
10
# Duplicity is free software; you can redistribute it and/or modify it
 
11
# under the terms of the GNU General Public License as published by the
 
12
# Free Software Foundation; either version 2 of the License, or (at your
 
13
# option) any later version.
 
14
#
 
15
# Duplicity is distributed in the hope that it will be useful, but
 
16
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
18
# General Public License for more details.
 
19
#
 
20
# You should have received a copy of the GNU General Public License
 
21
# along with duplicity; if not, write to the Free Software Foundation,
 
22
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
23
#
 
24
 
 
25
 
 
26
docker-compose down