adoroszlai opened a new pull request, #6664:
URL: https://github.com/apache/ozone/pull/6664

   ## What changes were proposed in this pull request?
   
   Download from `nodejs.org` seems to be unreliable.
   
   This PR fixes intermittent failures in:
   - `compile (8, macos-12)`, which previously had to download Node.js for each 
run, since the binary tarball is platform-specific, and we only cached the one 
for Linux
   - various [checks](https://github.com/apache/ozone/actions/runs/9013830936) 
in the rare case that `populate-cache` runs into [download 
problem](https://github.com/apache/ozone/actions/runs/8968724893/job/24628735903#step:5:3429)
   
   Changes:
   
   1. Download both Linux and Mac versions of Node.js.  Use `curl`, with retry 
enabled.
   2. Indicate partially built cache by creating a marker file, which is 
deleted if all downloads succeed.
   3. Log cache contents even in case of cache hit, making it easier to check 
contents.
   4. Allow triggering `populate-cache` workflow manually for easier testing.
   
   https://issues.apache.org/jira/browse/HDDS-10273
   
   ## How was this patch tested?
   
   Triggered the workflow manually in my fork:
   https://github.com/adoroszlai/ozone/actions/workflows/populate-cache.yml
   
   Node.js tarballs from latest run:
   
https://github.com/adoroszlai/ozone/actions/runs/9018931552/job/24780630992#step:8:300


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to