-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support swift v3 authentication #8359
Conversation
Conflicts :/ |
7fc4c5f
to
9483f96
Compare
Codecov Report
@@ Coverage Diff @@
## master #8359 +/- ##
============================================
- Coverage 51.81% 51.79% -0.02%
- Complexity 25374 25383 +9
============================================
Files 1601 1602 +1
Lines 95030 95071 +41
Branches 1377 1377
============================================
+ Hits 49238 49243 +5
- Misses 45792 45828 +36
|
Rebased on master |
@icewind1991 can we please have two CI steps one that tests v2 and one that tests v3. Also we can probably log a warning if users use V2 right since that has been deprecated since ages? |
fa8a762
to
3622280
Compare
A lot of my changes can be removed or squased later. It looks like we need a bit smarter way to detect how to find out v2 or v3 is used |
I think (tm) this works now. I'm not sure if we maybe should make it explicit which version is used in the config? I also want CI to pass on this (but the one node running seems to not like swift). But I really don't want to break stuff here (we did that before with object storages so please not again). |
cc1debd
to
065b124
Compare
So it seems for some dark reason on some drone hosts this does 💥 on others it works as expected. |
One succesfull v3 run! https://drone.nextcloud.com/nextcloud/server/5122/248 |
1b7ba8d
to
1875f6a
Compare
08dba0a
to
4147496
Compare
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This is more of a hack. But one of the nodes won't properly run this. No sense in waiting 60 minutes Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
4147496
to
d40c61a
Compare
'password' => 'swift', | ||
'domain' => [ | ||
'name' => 'default', | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rullzer missing comma?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is optional for the last element of an array (we usually add it to make the possible diff better readable).
Merged this in my installation (18.0.4) and this solved v3 issues on my side too! |
Add support for using swift v3 authentication for external and primary storage
cc @oparoz