File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -190,10 +190,22 @@ jobs:
190190 EOS_ENDPOINT : root://eosproject-r.cern.ch
191191 KRB5CCNAME : /tmp/krb5cc
192192 working-directory : ${{ env.DOC_LOCATION }}
193+ # Because of https://github.com/xrootd/xrootd/issues/2235 , the xrd client can copy
194+ # only at most 65536 in one go. For this reason, we copy files in batches, dividing
195+ # them by extension. Once that is fixed in XRootD, a single command can be used
196+ # instead.
193197 run : |
194198 echo ${RWEBEOS_KT} | base64 -d > ${KT_FILE_NAME}
195199 kinit -p ${{ secrets.KRB5USER }}@${{ secrets.KRB5REALM }} -kt ${KT_FILE_NAME}
196200 cd ${DOC_DIR}/html/
201+ xrdcp --parallel 64 -rf ./*.html ${EOS_ENDPOINT}/${EOS_BASE_PATH}/doc/${WEB_DIR_NAME}
202+ rm -rf *.html
203+ xrdcp --parallel 64 -rf ./*.svg ${EOS_ENDPOINT}/${EOS_BASE_PATH}/doc/${WEB_DIR_NAME}
204+ rm -rf *.svg
205+ xrdcp --parallel 64 -rf ./*.map ${EOS_ENDPOINT}/${EOS_BASE_PATH}/doc/${WEB_DIR_NAME}
206+ rm -rf *.map
207+ xrdcp --parallel 64 -rf ./*.md5 ${EOS_ENDPOINT}/${EOS_BASE_PATH}/doc/${WEB_DIR_NAME}
208+ rm -rf *.md5
197209 xrdcp --parallel 64 -rf ./ ${EOS_ENDPOINT}/${EOS_BASE_PATH}/doc/${WEB_DIR_NAME}
198210 cd ..
199211 rm -r html
You can’t perform that action at this time.
0 commit comments