Use minio for s3 tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
acbc0032ce
commit
c941251edc
|
@ -2134,7 +2134,10 @@ steps:
|
|||
|
||||
services:
|
||||
- name: fake-s3
|
||||
image: lphoward/fake-s3:latest
|
||||
image: minio/minio
|
||||
environment:
|
||||
MINIO_ACCESS_KEY: dummy
|
||||
MINIO_SECRET_KEY: dummy
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
|
|
@ -27,8 +27,8 @@ if (getenv('OBJECT_STORE') === 's3') {
|
|||
'autocreate' => true,
|
||||
'key' => 'dummy',
|
||||
'secret' => 'dummy',
|
||||
'hostname' => getenv('DRONE') === 'true' ? 'fake-s3' : 'localhost',
|
||||
'port' => 4569,
|
||||
'hostname' => getenv('DRONE') === 'true' ? 'minio' : 'localhost',
|
||||
'port' => 9000,
|
||||
'use_ssl' => false,
|
||||
// required for some non amazon s3 implementations
|
||||
'use_path_style' => true
|
||||
|
|
Loading…
Reference in New Issue