Describe the enhancement
I'm looking for a way to put a self-hosted github runner into an autoscale group.
I've discussed with Github Support and they've explained that the tokens are only valid for one hour. That's problematic for an autoscale group because it means they will fail to bring up a runner an hour after I deploy the autoscale group. They recommended raising my issue here, I apologize if we've both missed an obvious solution for this.
Code Snippet
Not Applicable.
In AWS we do this:
GitHub App tokens:
Runner registration:
Org and Repo tags of the launched instance to decide where to register the runner (this lambda has permission to read the github token secret)The runner instance:
The ASGs:
Org/Repo tags for its instancesThe way we do registration is so that:
Org/Repo tags
Most helpful comment
In AWS we do this:
GitHub App tokens:
Runner registration:
OrgandRepotags of the launched instance to decide where to register the runner (this lambda has permission to read the github token secret)The runner instance:
The ASGs:
Org/Repotags for its instancesThe way we do registration is so that:
Org/Repotags