mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -25,12 +25,12 @@ else
|
|||||||
{
|
{
|
||||||
if (!$ENV{'S3_HOST_NAME'})
|
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'})
|
if (!$ENV{'S3_BUCKET'})
|
||||||
{
|
{
|
||||||
return "Environment variable S3_BUCKET need to be set";
|
$ENV{'S3_BUCKET'} = "MariaDB";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$ENV{'S3_REGION'})
|
if (!$ENV{'S3_REGION'})
|
||||||
|
Reference in New Issue
Block a user