lhotari edited a comment on pull request #14819:
URL: https://github.com/apache/pulsar/pull/14819#issuecomment-1082714042


   I made one more change: I increased the GitHub Actions Artifact retention 
period to 3 days for the intermediate build artifacts which are retained if a 
build job fails. The intermediate build artifacts are the Pulsar maven 
repository artifacts for the current build and the 2 different docker images 
used for integration and system tests. These consume about 2.5GB of disk space 
in total. 
   
   It's possible to rerun individual failed jobs when the build artifacts are 
available. If the artifacts have already been expired, the complete workflow 
can be rerun by closing and reopening the PR or by rebasing the PR.
   
   The reason to minimize the retention period is cost. It costs $0.25 per GB 
for a total month of retention. The retention of 2.5GB for 3 days costs about 
2.5 * $0.25 / 30 * 3= $0.0625  . That's 6 cents. I would assume that Apache has 
a certain amount of donated credits from GitHub to run GitHub Actions.
   
   For personal accounts, there is 500MB free monthly credit. This means that 
you can keep 500MB stored for a month. The storage cost is calculated hourly 
and it means that you could store 500MB*30 for 1 day if you wish. After the 
free credit is consumed, GitHub Actions will be disabled until the next billing 
period starts or the user purchases more credits.
   
   For GitHub Actions, the log file retention consumes the same storage quota. 
The usage of GitHub Actions Artifacts doesn't introduce anything new in that 
sense.


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