djencks commented on pull request #667:
URL: https://github.com/apache/camel-website/pull/667#issuecomment-966625414


   I suspect the linux-only deadlinks is an example of something in .yarn/cache 
that is architecture specific.
   
   I tried running yarn install with no network access and it seems to work 
fine.  For me it is quicker than building the Antora UI.
   
   Something that is taking orders of magnitude more time (minutes not 
seconds), although on GitHub, is running —check-cache on each PR.  What 
sequence of non-malicious actions could result in a problem detected by 
—check-cache?
   
   We could investigate generating the used playbook from a template with 
interpolation of git location.  This might also provide a way to generate a 
playbook for a local build: I’ll have more to say about this on the dev list 
soon.
   
   > On Nov 11, 2021, at 12:18 PM, Zoran Regvart ***@***.***> wrote:
   > 
   > 
   > We used to point to git repositories at ASF, not at GitHub, I can't 
remember why that changed, inertia I guess - it seems it was to optimize GitHub 
Actions 
<https://github.com/apache/camel-website/commit/a00742b43f3685449d9e31fda480d95279fba32e>.
 At some point in the past we did have an offline build, in the sense that it 
only used ASF infrastructure. We even built pull requests on ci-builds.a.o 
until we were asked not to do that because of security and capacity reasons.
   > 
   > Note that unplugged mechanism is just a way for Yarn to deal with 
dependencies that don't use resolve API or a post-install script needs to 
modify the package. In theory a ZIP file in .yarn/cache could also contain an 
architecture specific binary. See unplugged package 
<https://yarnpkg.com/advanced/lexicon/#unplugged-package>.
   > 
   > —
   > You are receiving this because you authored the thread.
   > Reply to this email directly, view it on GitHub 
<https://github.com/apache/camel-website/pull/667#issuecomment-966596588>, or 
unsubscribe 
<https://github.com/notifications/unsubscribe-auth/AAELDXV4GGR5XFBX4BTG7TLULQQHXANCNFSM5HYKMJNQ>.
   > 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to