1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-24366: s3 test postfix - use default for S3_BUCKET

and S3_HOST_NAME.

Required environment variables are now S3_ACCESS_KEY and S3_SECRET_KEY.

Or a running minio instance on localhost:9000.
This commit is contained in:
Daniel Black
2021-02-11 12:45:24 +11:00
parent 5e3d3220bb
commit c7edbe5bb1

View File

@ -25,12 +25,12 @@ else
{
if (!$ENV{'S3_HOST_NAME'})
{
return "Environment variable S3_HOST_NAME need to be set";
$ENV{'S3_HOST_NAME'} = "s3.amazonaws.com";
}
if (!$ENV{'S3_BUCKET'})
{
return "Environment variable S3_BUCKET need to be set";
$ENV{'S3_BUCKET'} = "MariaDB";
}
if (!$ENV{'S3_REGION'})