ashb commented on pull request #2:
URL: https://github.com/apache/airflow-ci-infra/pull/2#issuecomment-763183558


   https://040code.github.io/2020/05/25/scaling-selfhosted-action-runners - it 
roughly follows that, but we had to make some changes due to ASF github 
permissions (we can't have admin tokens that can create/destroy runners)
   
   Very roughly:
   
   This Lambda is behind an AWS API Gateway.
   
   There is a GitHub app (had to be created in my personal account) configured 
to get "check" callbacks sent to the API Gateway.
   
   The GitHub app is installed in the `apache/airflow` (and currently also 
`apache/airflow-site`) repos
   
   (The scale in is handled by a custom metric sent to CloudWatch.)
   
   PR for automation of the other parts is coming - I'm focusing on getting it 
working mostly, automation of all the AWS and set up of CI workflows for this 
repo to follow in the future.


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

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


Reply via email to