File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -785,23 +785,24 @@ jobs:
785785 echo "$OUT2" | grep -q "If all of these points are met, we give a Green label." || exit 1
786786 echo "$OUT3" | grep -q "overview.rst" || exit 1
787787
788- - name : Remove some files using ${{ matrix.file-deletion-method }}
788+ - name : Remove some files using occ
789789 if : ${{ matrix.file-deletion-method == 'occ'}}
790790 run : |
791791 ./occ files:delete admin/files/admin_manual
792792
793- - name : Remove some files using ${{ matrix.file-deletion-method }}
793+ - name : Remove some files using os
794794 if : ${{ matrix.file-deletion-method == 'os'}}
795795 run : |
796796 cd data/admin/files
797797 rm -rf ./admin_manual # this + files:scan sadly doesn't work, currently see https://github.com/nextcloud/context_chat/issues/153
798+ cd ../../..
798799 ./occ files:scan admin # We run the scan again to check if the files are successfully removed from the vectordb
799800
800801 - name : Share some files
801802 run : |
802803 OC_PASS=test ./occ user:add --password-from-env -- test
803804 # share developer_manual to test user
804- curl -X POST -u 'admin:admin ' -H 'OCS-APIRequest: true' 'http://localhost:8080/ocs/v2.php/apps/files_sharing/api/v1/shares?shareType=0&shareWith=test&path=developer_manual'
805+ curl -X POST -u 'admin:password ' -H 'OCS-APIRequest: true' 'http://localhost:8080/ocs/v2.php/apps/files_sharing/api/v1/shares?shareType=0&shareWith=test&path=developer_manual'
805806
806807 - name : Run indexer cron
807808 run : |
You can’t perform that action at this time.
0 commit comments