From cd525f8ab11068a16b93035599887d8a8e4146d6 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 31 Jan 2018 22:21:00 +0100 Subject: add testing scripts based on github.com/bouncestorage/docker-swift --- testing/start-saio.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 testing/start-saio.sh (limited to 'testing/start-saio.sh') diff --git a/testing/start-saio.sh b/testing/start-saio.sh new file mode 100755 index 0000000..81cf845 --- /dev/null +++ b/testing/start-saio.sh @@ -0,0 +1,7 @@ +#!/bin/sh +if docker inspect schwift-testing &>/dev/null; then + echo 'Already running.' +else + # The `readlink -f` converts the path to repo/testing/data to an absolute path. + exec docker run --name schwift-testing -P -v "$(readlink -f "$(dirname $0)")/data:/swift/nodes" -t bouncestorage/swift-aio +fi -- cgit v1.2.3