Add litmus test on mounted storage and shared folder#32311
Conversation
b132567 to
1628c6d
Compare
Codecov Report
@@ Coverage Diff @@
## master #32311 +/- ##
=========================================
Coverage 64.01% 64.01%
Complexity 18561 18561
=========================================
Files 1171 1171
Lines 69843 69843
Branches 1267 1267
=========================================
Hits 44713 44713
Misses 24760 24760
Partials 370 370
Continue to review full report at Codecov.
|
|
There was the idea to have nightly litmus tests here: Question: |
I know - we can adapt the scenarios over there as well.
Both. |
9b01b17 to
30cf2ff
Compare
| pull: true | ||
| commands: | ||
| - echo "Create local mount ...." | ||
| - mkdir -p /drone/work/local_storage || { echo "Unable to create work folder" >&2; exit 1; } |
There was a problem hiding this comment.
|| ... not required - any fail in the pipe will stop the execution of the next line
| - echo 'Sharing a folder ..' | ||
| - OC_PASS=123456 php occ user:add --password-from-env user1 | ||
| - chown www-data /drone/src -R | ||
| - chown www-data /drone/work -R |
There was a problem hiding this comment.
duplicate - seems like you are trying to fix it for local runs as well as remote runs.
If you want to chown the workspace - please use the drone environment variable DRONE_WORKSPACE
There was a problem hiding this comment.
drone/work/local_storage is created above and needs to be accessible by apache.
there fore the chown
no idea if there are better places ...
| - chown www-data /drone/src -R | ||
| - chown www-data /drone/work -R | ||
| - curl -u user1:123456 -X MKCOL 'http://server/remote.php/webdav/new_folder' | ||
| - curl -u user1:123456 "http://server/ocs/v2.php/apps/files_sharing/api/v1/shares" --data 'path=/new_folder&shareType=0&permissions=15&name=new_folder&shareWith=admin' |
There was a problem hiding this comment.
silence the output
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
only show // exit errors
30cf2ff to
6b8f3b6
Compare
|
@patrickjahns comments addressed ... |
|
Backport |
Description
We shall run litmus tests on
Related Issue
refs #31651
Motivation and Context
the webdav behavior has to be the same on mounted and shared folders
Types of changes
Open tasks: