mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +01:00
test: add TestS3MinioEdge to test leading edge minio too #3934
This commit is contained in:
parent
3b19f48929
commit
bd9fd629bc
@ -119,6 +119,11 @@ backends:
|
|||||||
- TestIntegration/FsMkdir/FsEncoding/punctuation
|
- TestIntegration/FsMkdir/FsEncoding/punctuation
|
||||||
- TestIntegration/FsMkdir/FsEncoding/trailing_LF
|
- TestIntegration/FsMkdir/FsEncoding/trailing_LF
|
||||||
- TestIntegration/FsMkdir/FsEncoding/trailing_VT
|
- TestIntegration/FsMkdir/FsEncoding/trailing_VT
|
||||||
|
- backend: "s3"
|
||||||
|
remote: "TestS3MinioEdge:"
|
||||||
|
fastlist: true
|
||||||
|
ignore:
|
||||||
|
- TestIntegration/FsMkdir/FsPutFiles/SetTier
|
||||||
- backend: "s3"
|
- backend: "s3"
|
||||||
remote: "TestS3Wasabi:"
|
remote: "TestS3Wasabi:"
|
||||||
fastlist: true
|
fastlist: true
|
||||||
|
25
fstest/testserver/init.d/TestS3MinioEdge
Executable file
25
fstest/testserver/init.d/TestS3MinioEdge
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
NAME=minio-edge
|
||||||
|
USER=rclone
|
||||||
|
PASS=DeniseOxygenEiffel4
|
||||||
|
|
||||||
|
. $(dirname "$0")/docker.bash
|
||||||
|
|
||||||
|
start() {
|
||||||
|
docker run --rm -d --name $NAME \
|
||||||
|
-e "MINIO_ACCESS_KEY=$USER" \
|
||||||
|
-e "MINIO_SECRET_KEY=$PASS" \
|
||||||
|
minio/minio:edge server /data
|
||||||
|
|
||||||
|
echo type=s3
|
||||||
|
echo provider=Minio
|
||||||
|
echo access_key_id=$USER
|
||||||
|
echo secret_access_key=$PASS
|
||||||
|
echo endpoint=http://$(docker_ip):9000/
|
||||||
|
echo _connect=$(docker_ip):9000
|
||||||
|
}
|
||||||
|
|
||||||
|
. $(dirname "$0")/run.bash
|
Loading…
Reference in New Issue
Block a user