mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
The bouncestorage image hasn't been updated for 4 years and has this message at the top of the docs: This repository is outdated; please use dockerswiftaio/docker-swift instead. However, dockerswiftaio/docker-swift hasn't been updated for 2 years. Switch to openstackswift/saio instead, which is getting regular updates. This requires some minor changes to one test, and how we start the container.
27 lines
613 B
Bash
Executable File
27 lines
613 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
NAME=swift-aio-segments
|
|
PORT=28632
|
|
|
|
. $(dirname "$0")/docker.bash
|
|
|
|
start() {
|
|
# We need to replace the remakerings in the container to create Policy-1.
|
|
docker run --rm -d --name ${NAME} \
|
|
-p 127.0.0.1:${PORT}:8080 \
|
|
-v $(dirname "$0")/TestSwiftAIO.d/remakerings:/etc/swift/remakerings:ro \
|
|
openstackswift/saio
|
|
|
|
echo type=swift
|
|
echo env_auth=false
|
|
echo user=test:tester
|
|
echo key=testing
|
|
echo auth=http://127.0.0.1:${PORT}/auth/v1.0
|
|
echo use_segments_container=false
|
|
echo _connect=127.0.0.1:${PORT}
|
|
}
|
|
|
|
. $(dirname "$0")/run.bash
|