Skip to content

Commit

Permalink
Make litmus tests no longer depend on the tree based space index
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck authored and butonic committed Jul 4, 2023
1 parent 277f94b commit 2f359f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@ def litmusOcisSpacesDav():
"commands": [
# The spaceid is randomly generated during the first login so we need this hack to construct the correct url.
"curl -s -k -u einstein:relativity -I http://revad-services:20080/remote.php/dav/files/einstein",
"export LITMUS_URL=http://revad-services:20080/remote.php/dav/spaces/$(ls /drone/src/tmp/reva/data/indexes/by-type/personal/)",
"export SPACE_ID=$(curl -XPROPFIND -s -k -u einstein:relativity 'http://revad-services:20080/dav/files/einstein' | awk -F '<.?oc:spaceid>' '{ print $2 }')",
"export LITMUS_URL=http://revad-services:20080/remote.php/dav/spaces/$SPACE_ID",
"/usr/local/bin/litmus-wrapper",
],
},
Expand Down

0 comments on commit 2f359f4

Please sign in to comment.