Hallo Bruno, could you please send me a script, which is doing the download/upload?
Actually, when I do "wget https://gitlab.com/yade-dev/trunk/-/jobs/artifacts/master/download?job=pages" I get right now the error code 8. Actually, if you use the symbol &&, it will not execute the next step, if the previous one failed. Something like: wget https://gitlab.com/yade-dev/trunk/-/jobs/artifacts/master/download?job=pages && rm -rf /var/www/yade-dem.org && cp * /var/www/yade-dem.org should solve the problem. If wget fails, like in this case - rm and cp will not be executed. And we get old documentation, but in any case - not the empty pages. I hope, my writings can be understood :) Regards Anton Am Mi., 13. Nov. 2019 um 18:05 Uhr schrieb Bruno Chareyre <bruno.chare...@3sr-grenoble.fr>: > > Hi there, > yade-dem.org is currently down while yade-dev.gitlab.io/trunk/ is not. > > The reason is that yade server is downloading the gitlab artifacts like this: > wget > https://gitlab.com/yade-dev/trunk/-/jobs/artifacts/master/download?job=pages, > but at the moment that url returns nothing. Hence empty website. > > Obviously our script should test the output of wget, to not replace the > content by nothing. We can fix this. Even so, I would like to understand why > the artifacts are not there. They usually are. Is it because they expired on > gitlab? Is it because of a failed pipeline? > Maybe we should form another url to try and get the content of > yade-dev.gitlab.io/trunk/ (if possibe) instead of checking out an artifact. > I don't have time to check more right now so in case someone has inspiration, > let me know: > - if you know how to make wget conditional > - if you know a better target url > > Cheers > > Bruno > > -- > -- > _______________ > Bruno Chareyre > Associate Professor > ENSE³ - Grenoble INP > Lab. 3SR > BP 53 > 38041 Grenoble cedex 9 > Tél : +33 4 56 52 86 21 > ________________ > > Email too brief? > Here's why: email charter > _______________________________________________ > Mailing list: https://launchpad.net/~yade-dev > Post to : yade-dev@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-dev > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp