diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2024-10-30 09:59:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 09:59:56 +0100 |
commit | 31aa1fe4f578047ca0d198e0a420b11cf3b08b03 (patch) | |
tree | 5fc7d7601c4736dbbf2e2409454f136d34502d96 /tests | |
parent | f0029d85a63ba89d98fd3158557f186f79518871 (diff) | |
parent | 48ff0d502da4bf2081f4477ea3eb529b90271ffc (diff) | |
download | nextcloud-server-31aa1fe4f578047ca0d198e0a420b11cf3b08b03.tar.gz nextcloud-server-31aa1fe4f578047ca0d198e0a420b11cf3b08b03.zip |
Merge pull request #48488 from nextcloud/backport/48235/stable29
Diffstat (limited to 'tests')
-rw-r--r-- | tests/preseed-config.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/preseed-config.php b/tests/preseed-config.php index c62b4471280..8a56e43c7a0 100644 --- a/tests/preseed-config.php +++ b/tests/preseed-config.php @@ -34,6 +34,21 @@ if (getenv('OBJECT_STORE') === 's3') { 'use_path_style' => true ] ]; +} elseif (getenv('OBJECT_STORE') === 's3-multibucket') { + $CONFIG['objectstore_multibucket'] = [ + 'class' => 'OC\\Files\\ObjectStore\\S3', + 'arguments' => [ + 'bucket' => 'nextcloud', + 'autocreate' => true, + 'key' => getenv('OBJECT_STORE_KEY') ?: 'nextcloud', + 'secret' => getenv('OBJECT_STORE_SECRET') ?: 'nextcloud', + 'hostname' => getenv('OBJECT_STORE_HOST') ?: 'localhost', + 'port' => 9000, + 'use_ssl' => false, + // required for some non amazon s3 implementations + 'use_path_style' => true + ] + ]; } elseif (getenv('OBJECT_STORE') === 'azure') { $CONFIG['objectstore'] = [ 'class' => 'OC\\Files\\ObjectStore\\Azure', |