shreemaan-abhishek opened a new issue, #11068:
URL: https://github.com/apache/apisix/issues/11068

   ### Current Behavior
   
   ## Problem
   
   The CI is failing because the docker image cache is faulty (the size is too 
small to be complete): 
   
![image](https://github.com/apache/apisix/assets/61597896/07297961-c2a5-4bfb-a0db-a04085dfdd31)
   
   
https://github.com/apache/apisix/actions/runs/8356719685/job/22875292483?pr=11060#step:11:14
   
   I suspect this is because on one of the previous CI runs, the `cache write` 
process was interrupted due to excess disk usage. Here is one example:
   
![image](https://github.com/apache/apisix/assets/61597896/952537c6-85bf-4830-8708-a0d117e0109e)
   
   ## Solution
   
   - leverage the script that frees disk space to free some more space by 
removing unnecessary packages.
   - write another script (run before saving docker images) that frees disk 
space by removing some more packages.
     - since we save docker images after setting up the CI environment and 
running tests, this script can be more fierce on removing big files/packages as 
they are no longer needed
   - ensure a mechanism that would abort the `cache write` process so that 
cache is not incomplete.
   
   
![image](https://github.com/apache/apisix/assets/61597896/5fc64423-f2d9-468e-bc53-ed07ceec0476)
   
   
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   NA
   
   ### Environment
   
   NA


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

Reply via email to