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:
|
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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue