Skip to content

Commit

Permalink
Use minio for s3 tests
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Jun 30, 2021
1 parent 3f44fd0 commit 85e5580
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2135,8 +2135,11 @@ steps:
- bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml

services:
- name: fake-s3
image: ghcr.io/nextcloud/continuous-integration-fake-s3:latest
- name: minio
image: ghcr.io/nextcloud/continuous-integration-minio:latest
environment:
MINIO_ACCESS_KEY: dummy
MINIO_SECRET_KEY: dummy

trigger:
branch:
Expand Down
4 changes: 2 additions & 2 deletions tests/preseed-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
'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
Expand Down

0 comments on commit 85e5580

Please sign in to comment.