Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

test data import/export on files_primary_s3 #76

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,24 @@ pipeline:
- php occ config:system:set trusted_domains 1 --value=owncloud
- php occ log:manage --level 0

prepare-objectstore:
image: owncloudci/php:${PHP_VERSION}
pull: true
commands:
- cd /var/www/owncloud/apps
- git clone https://github.com/owncloud/files_primary_s3.git
- cd files_primary_s3
- composer install
- cp tests/drone/scality.config.php /var/www/owncloud/config
- cd /var/www/owncloud
- php occ a:l
- php occ a:e files_primary_s3
- php occ a:l
- php occ s3:create-bucket owncloud --accept-warning
when:
matrix:
TEST_OBJECTSTORAGE: true

fix-permissions:
image: owncloudci/php:${PHP_VERSION}
pull: true
Expand Down Expand Up @@ -233,6 +251,15 @@ services:
matrix:
NEED_SERVER: true

scality:
image: owncloudci/scality-s3server
pull: true
environment:
- HOST_NAME=scality
when:
matrix:
TEST_OBJECTSTORAGE: true

matrix:
include:
# unit tests
Expand Down Expand Up @@ -289,6 +316,16 @@ matrix:
DB_PASSWORD: secret
TEST_SUITE: phpunit

- PHP_VERSION: 7.1
OC_VERSION: daily-stable10-qa
DB_TYPE: mysql
DB_HOST: mysql
DB_NAME: oc_db
DB_USERNAME: admin
DB_PASSWORD: secret
TEST_SUITE: phpunit
TEST_OBJECTSTORAGE: true

# acceptance tests

- PHP_VERSION: 7.0
Expand Down