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

   ## What changes were proposed in this pull request?
   
   Most Ozone images download binaries from dlcdn.  They cannot be rebuilt 
after old releases are removed from mirrors.  Replace the URL with one that is 
supposed to work for both new and old binaries.
   
   Also, extract version number to argument to reduce duplication.
   
   https://issues.apache.org/jira/browse/HDDS-11767
   
   ## How was this patch tested?
   
   Version that is currently mirrored:
   
   ```
   $ curl -L --head 
"https://www.apache.org/dyn/closer.lua?action=download&filename=ozone/1.4.0/ozone-1.4.0.tar.gz";
   HTTP/2 302 
   ...
   location: https://dlcdn.apache.org/ozone/1.4.0/ozone-1.4.0.tar.gz
   ...
   
   HTTP/2 200 
   ...
   content-length: 482009796
   ...
   ```
   
   Archived version:
   
   ```
   curl -L --head 
"https://www.apache.org/dyn/closer.lua?action=download&filename=ozone/1.3.0/ozone-1.3.0.tar.gz";
   HTTP/2 302 
   ...
   location: https://archive.apache.org/dist/ozone/1.3.0/ozone-1.3.0.tar.gz
   ...
   
   HTTP/1.1 200 OK
   ...
   Content-Length: 427860880
   ...
   ```
   
   CI build:
   
https://github.com/adoroszlai/ozone-docker/actions/runs/11947909528/job/33304613875#step:7:442


-- 
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