Skip to content

Commit

Permalink
Add v3.0 auth run
Browse files Browse the repository at this point in the history
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
  • Loading branch information
rullzer committed Feb 21, 2018
1 parent 7801312 commit fa8a762
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,10 @@ matrix:
OBJECT_STORE: s3
- TESTS: object-store
OBJECT_STORE: swift
SWIFT-AUTH: 2.0
- TESTS: object-store
OBJECT_STORE: swift
SWIFT-AUTH: 3.0
- TESTS: sqlite-php7.0-samba-native
- TESTS: sqlite-php7.0-samba-non-native
- TEST: memcache-memcached
Expand Down
3 changes: 2 additions & 1 deletion tests/preseed-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
}
if (getenv('OBJECT_STORE') === 'swift') {
$swiftHost = getenv('DRONE') === 'true' ? 'dockswift' : 'localhost';
$auth = getenv('SWIFT-AUTH') === '2.0' ? 'v2.0' : 'v3.0';
$CONFIG['objectstore'] = [
'class' => 'OC\\Files\\ObjectStore\\Swift',
'arguments' => array(
Expand All @@ -45,7 +46,7 @@
'password' => 'swift',
'serviceName' => 'swift',
'region' => 'regionOne',
'url' => "http://$swiftHost:5000/v2.0",
'url' => "http://$swiftHost:5000/$auth",
'bucket' => 'nextcloud'
)
];
Expand Down

0 comments on commit fa8a762

Please sign in to comment.