Use minio for s3 tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2021-05-28 19:24:21 +02:00
parent acbc0032ce
commit c941251edc
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
2 changed files with 6 additions and 3 deletions

View File

@ -2134,7 +2134,10 @@ steps:
services: services:
- name: fake-s3 - name: fake-s3
image: lphoward/fake-s3:latest image: minio/minio
environment:
MINIO_ACCESS_KEY: dummy
MINIO_SECRET_KEY: dummy
trigger: trigger:
branch: branch:

View File

@ -27,8 +27,8 @@ if (getenv('OBJECT_STORE') === 's3') {
'autocreate' => true, 'autocreate' => true,
'key' => 'dummy', 'key' => 'dummy',
'secret' => 'dummy', 'secret' => 'dummy',
'hostname' => getenv('DRONE') === 'true' ? 'fake-s3' : 'localhost', 'hostname' => getenv('DRONE') === 'true' ? 'minio' : 'localhost',
'port' => 4569, 'port' => 9000,
'use_ssl' => false, 'use_ssl' => false,
// required for some non amazon s3 implementations // required for some non amazon s3 implementations
'use_path_style' => true 'use_path_style' => true