You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current runners are short lived but not ephemeral. A runner can process multiple jobs till it got killed by the scale-down lambda. Ephemeral runners guarantee a clean environment for every job to improve security. Avoiding any shared state, or left overs between jobs.
How
GitHub have introduced the workflow_job to support scaling ephemeral runners. The runner agent is extended with the option --ephemeral which will terminate the agent after a run and de-register it.
Handle events that cannot processed due to limits or exceptions
Implementation
For tracking implementation a GitHub project is crated to track progress. All work will be first merged to the branch feature/ephemeral. Active development (also via PR) on ephemeral runnes can done via PR's to this branch.
Reacted by Nathaniel McAuliffe, Miyata Jumpei, Ryan Parman, Marek Bartík, TJ Leonard, Trevor Wood, Ardi and Rashid N H M
For GHES, workflow_job does not exist in v3.2, and neither does --ephemeral. The latter is supposed to be coming in v3.3. There has been no public announcement of workflow_job coming to GHES one way or the other.
@skyzyx thanks for the notice, we will keep the module backwards comptabile. But I planning only to support hte ephemeral runners together with the workflow_job event
Activity
skyzyx commentedon Nov 3, 2021
‡ …for GitHub.com.
For GHES,
workflow_jobdoes not exist in v3.2, and neither does--ephemeral. The latter is supposed to be coming in v3.3. There has been no public announcement ofworkflow_jobcoming to GHES one way or the other.See also https://github.com/philips-labs/terraform-aws-github-runner/issues/182.
npalm commentedon Nov 3, 2021
@skyzyx thanks for the notice, we will keep the module backwards comptabile. But I planning only to support hte ephemeral runners together with the
workflow_jobeventaidan-mundy commentedon Nov 9, 2021
@skyzyx @npalm Enterprise Server 3.3.0.rc1 dropped yesterday with support for ephemeral runners and
workflow_job.ScottGuymer commentedon Dec 2, 2021
Implementing this is in progress. Closing this in favour of #1372. Will track the implementation of this there.
aidan-mundy commentedon Dec 2, 2021
@ScottGuymer 🤔 this is #1372
ScottGuymer commentedon Dec 2, 2021
oops too many tabs..
ScottGuymer commentedon May 8, 2022
This is now implemented and released