potiuk commented on PR #24664:
URL: https://github.com/apache/airflow/pull/24664#issuecomment-1168445200

   Actually @jedcunningham - after sleeping over it, it seems we can furter cut 
down the overhead and cost. It seems that in regular PRs we only need to build 
it when some depdnencies change. Generally there is no reason to breaj the ARM 
docker build with the incoming PR unless your change contains some changes to 
dependencies - which we already detect by "upgradeToNewerDepeendencies" flag.
   
   So we can further reduce the overhead/cost by:
   
   * only running the build in incoming PRs if they change dependencies
   * always run it in "push" builds - which means that every time we merge to 
main or run scheduled build we run ARM build (this is double-checking for 
potentially automatically upgraded constraints/dependencies)
   
   I'd guess this will be ~ 5% of the previous estimation - so some 1.5 
USD/month overhead :). I think we can afford it


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