Skip to content

Commit

Permalink
Add litmus test on mounted storage
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Aug 13, 2018
1 parent 874acce commit b132567
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ pipeline:
- php occ config:system:set trusted_domains 2 --value=federated
- php occ log:manage --level 0
- php occ config:list
- echo 'Changes for litmus below - need another step?'
- mkdir -p /drone/work/local_storage || { echo "Unable to create work folder" >&2; exit 1; }
- ID_STORAGE=`php occ files_external:create local_storage local null::null -c datadir=/drone/work/local_storage | awk {'print $5'}`
- php occ files_external:option ${ID_STORAGE} enable_sharing true
- echo 'Sharing a folder ..'
- echo 'TODO'
when:
matrix:
INSTALL_SERVER: true
Expand Down Expand Up @@ -240,9 +246,31 @@ pipeline:
image: owncloud/litmus
pull: true
environment:
- LITMUS_URL=http://server/remote.php/dav/files/admin
- LITMUS_USERNAME=admin
- LITMUS_PASSWORD=admin
- LITMUS_URL=http://server/remote.php/dav/files/admin
- LITMUS_USERNAME=admin
- LITMUS_PASSWORD=admin
when:
matrix:
TEST_SUITE: litmus

litmus-new-endpoint-mount:
image: owncloud/litmus
pull: true
environment:
- LITMUS_URL=http://server/remote.php/dav/files/admin/local_storage/
- LITMUS_USERNAME=admin
- LITMUS_PASSWORD=admin
when:
matrix:
TEST_SUITE: litmus

litmus-old-endpoint-mount:
image: owncloud/litmus
pull: true
environment:
- LITMUS_URL=http://server/remote.php/webdav/local_storage/
- LITMUS_USERNAME=admin
- LITMUS_PASSWORD=admin
when:
matrix:
TEST_SUITE: litmus
Expand Down

0 comments on commit b132567

Please sign in to comment.